x86: Enable FIT, ELF on coreboot
authorSimon Glass <sjg@chromium.org>
Fri, 10 Oct 2014 13:30:20 +0000 (07:30 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 23 Oct 2014 03:50:33 +0000 (21:50 -0600)
Enable FIT support and the bootelf command. Also change the default load
address to somewhere other than the normal load address of the kernel,
to allow for decompression without overwriting the original file.

Signed-off-by: Simon Glass <sjg@chromium.org>
include/configs/coreboot.h

index 5a006be17ce7ca08216a47863c18a99f490c973e..200b744e4f22a3a260d1b7eb24a07117d2d05908 100644 (file)
@@ -40,6 +40,7 @@
 #define CONFIG_BOOTSTAGE_USER_COUNT    60
 
 #define CONFIG_LZO
+#define CONFIG_FIT
 #undef CONFIG_ZLIB
 #undef CONFIG_GZIP
 
 #define CONFIG_CMD_EXT2
 
 #define CONFIG_CMD_ZBOOT
+#define CONFIG_CMD_ELF
 
 #define CONFIG_BOOTDELAY       2
 #define CONFIG_BOOTARGS                \
 
 #define CONFIG_SYS_MEMTEST_START               0x00100000
 #define CONFIG_SYS_MEMTEST_END                 0x01000000
-#define CONFIG_SYS_LOAD_ADDR                   0x100000
+#define CONFIG_SYS_LOAD_ADDR                   0x02000000
 
 /*-----------------------------------------------------------------------
  * SDRAM Configuration