mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-10-02 09:30:43 +09:00
mx6sabre_common: Place video related settings in common code
Currently mx6sabreauto fails to find the environment variables like this: ## Error: "findfdt" not defined switch to partitions #0, OK mmc0 is current device ## Error: "loadbootscript" not defined ## Error: "loadimage" not defined ## Error: "netboot" not defined Move VIDEO_ARGS/VIDEO_ARGS_SCRIPT so that they can be shared among sabresd and sabreauto boards. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
parent
d3d0f38957
commit
9b412b485a
@ -60,13 +60,8 @@
|
|||||||
|
|
||||||
#define CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
|
#define CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
|
||||||
|
|
||||||
#ifndef VIDEO_ARGS
|
#define VIDEO_ARGS "${video_args}"
|
||||||
#define VIDEO_ARGS ""
|
#define VIDEO_ARGS_SCRIPT "run video_args_script; "
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef VIDEO_ARGS_SCRIPT
|
|
||||||
#define VIDEO_ARGS_SCRIPT ""
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define CONFIG_EXTRA_ENV_SETTINGS \
|
#define CONFIG_EXTRA_ENV_SETTINGS \
|
||||||
"script=boot.scr\0" \
|
"script=boot.scr\0" \
|
||||||
|
@ -19,9 +19,6 @@
|
|||||||
|
|
||||||
#define CONFIG_SUPPORT_EMMC_BOOT /* eMMC specific */
|
#define CONFIG_SUPPORT_EMMC_BOOT /* eMMC specific */
|
||||||
|
|
||||||
#define VIDEO_ARGS "${video_args}"
|
|
||||||
#define VIDEO_ARGS_SCRIPT "run video_args_script; "
|
|
||||||
|
|
||||||
#include "mx6sabre_common.h"
|
#include "mx6sabre_common.h"
|
||||||
|
|
||||||
/* Falcon Mode */
|
/* Falcon Mode */
|
||||||
|
Loading…
Reference in New Issue
Block a user