Am 15.07.2016 um 10:42 schrieb Kever Yang:
> diff --git a/include/configs/rk3399_common.h b/include/configs/rk3399_common.h
> new file mode 100644
> index 0000000..1c13e2e
> --- /dev/null
> +++ b/include/configs/rk3399_common.h
[...]
> +#ifndef CONFIG_SPL_BUILD
> +#include <config_distro_defaults.h>
> +
> +#define ENV_MEM_LAYOUT_SETTINGS \
> +     "scriptaddr=0x00000000\0" \
> +     "pxefile_addr_r=0x00100000\0" \
> +     "fdt_addr_r=0x01f00000\0" \
> +     "kernel_addr_r=0x02000000\0" \
> +     "ramdisk_addr_r=0x04000000\0"
> +
> +/* First try to boot from SD (index 0), then eMMC (index 1 */
> +#define BOOT_TARGET_DEVICES(func) \
> +     func(MMC, mmc, 0) \
> +     func(MMC, mmc, 1)
> +
> +#include <config_distro_bootcmd.h>

Lacking CONFIG_EXTRA_ENV_SETTINGS that incorporates BOOTENV, otherwise
leads to error message about missing $distro_bootcmd.

> +#endif
> +
> +#endif

Regards,
Andreas

-- 
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to