Commit dec303063861ee8d990da162ad4402e70a570d67

Authored by Tom Rini
1 parent 995eab8b5b

mx6saberesd_spl: Correct falcon mode addition

When falcon mode support was added, it was right around when SPL_OS_BOOT
was migrated to Kconfig.  So first we must move the enablement to the
defconfig file.  Next, it turned off EXT support rather than add the
information to allow for falcon mode from EXT.  Add this information so
that the board compiles after 5d28b930f237.

Fixes: d96796ca23b2 ("mx6sabresd: Add Falcon mode support")
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Tom Rini <trini@konsulko.com>

Showing 2 changed files with 3 additions and 2 deletions Side-by-side Diff

configs/mx6sabresd_spl_defconfig
... ... @@ -17,6 +17,7 @@
17 17 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
18 18 CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y
19 19 CONFIG_SPL=y
  20 +CONFIG_SPL_OS_BOOT=y
20 21 CONFIG_HUSH_PARSER=y
21 22 CONFIG_CMD_BOOTZ=y
22 23 # CONFIG_CMD_IMLS is not set
include/configs/mx6sabresd.h
... ... @@ -11,7 +11,6 @@
11 11  
12 12 #ifdef CONFIG_SPL
13 13 #include "imx6_spl.h"
14   -#undef CONFIG_SPL_EXT_SUPPORT
15 14 #endif
16 15  
17 16 #define CONFIG_MACH_TYPE 3980
18 17  
... ... @@ -24,8 +23,9 @@
24 23 #include "mx6sabre_common.h"
25 24  
26 25 /* Falcon Mode */
  26 +#define CONFIG_SPL_FS_LOAD_ARGS_NAME "args"
  27 +#define CONFIG_SPL_FS_LOAD_KERNEL_NAME "uImage"
27 28 #define CONFIG_CMD_SPL
28   -#define CONFIG_SPL_OS_BOOT
29 29 #define CONFIG_SYS_SPL_ARGS_ADDR 0x18000000
30 30 #define CONFIG_CMD_SPL_WRITE_SIZE (128 * SZ_1K)
31 31