Esempio n. 1
0
int saveenv_movinand(void)
{
        movi_write_env(virt_to_phys((ulong)env_ptr));
        puts("done\n");

        return 1;
}
int saveenv_movinand(void)
{
#if defined(CONFIG_CMD_MOVINAND)
	mmc_init(find_mmc_device(0));
        movi_write_env(virt_to_phys((ulong)env_ptr));
        puts("done\n");

        return 1;
#else
	return 0;
#endif
}