summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2015-07-22 05:40:12 +0200
committerMarek Vasut <marex@denx.de>2015-08-08 14:14:08 +0200
commit9ec7414e29a1ae9c89bd9ab1c3dd12d0f53f6f4c (patch)
treefcafa62b01297e2d70af88c0cb985e7791511100 /include
parentd85e311e7f1aa11ae168754c253b25e5d64ed123 (diff)
downloadtalos-obmc-uboot-9ec7414e29a1ae9c89bd9ab1c3dd12d0f53f6f4c.tar.gz
talos-obmc-uboot-9ec7414e29a1ae9c89bd9ab1c3dd12d0f53f6f4c.zip
arm: socfpga: misc: Export bootmode into environment variable
setenv an environment variable called "bootmode" , which contains the board boot mode. This can be in turn used in scripts to determine from where to load kernel and such. Signed-off-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'include')
-rw-r--r--include/configs/socfpga_common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h
index c62c78ad8d..bed8600a94 100644
--- a/include/configs/socfpga_common.h
+++ b/include/configs/socfpga_common.h
@@ -18,6 +18,7 @@
*/
#define CONFIG_DISPLAY_CPUINFO
#define CONFIG_DISPLAY_BOARDINFO_LATE
+#define CONFIG_ARCH_MISC_INIT
#define CONFIG_ARCH_EARLY_INIT_R
#define CONFIG_SYS_NO_FLASH
#define CONFIG_CLOCKS
OpenPOWER on IntegriCloud