diff options
author | Peng Fan <van.freenix@gmail.com> | 2016-06-17 09:39:50 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-06-28 02:32:07 (GMT) |
commit | d14739ffe16092323f838b8d3f61796afe083810 (patch) | |
tree | 86440bac2af2572951dcb9a95605714cf4f24db3 /common | |
parent | 4a9a3292771e80a9be37af147f4efcd2fd99e8d7 (diff) | |
download | u-boot-d14739ffe16092323f838b8d3f61796afe083810.tar.xz |
Kconfig: make NOR_BOOT a common option
Not only am335x supports booting from NOR, i.MX6 SoCs also
supports booting from NOR. Make NOR_BOOT a common
option to let different SoCs share it.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Heiko Schocher <hs@denx.de>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Cc: Christophe Ricard <christophe-h.ricard@st.com>
Cc: Bin Meng <bmeng.cn@gmail.com>
Cc: Francois Retief <fgretief@spaceteq.co.za>
Cc: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common')
-rw-r--r-- | common/Kconfig | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig index ada4ddb..6f301e7 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -97,6 +97,19 @@ config BOOTSTAGE_STASH_SIZE endmenu +menu "Boot media" + +config NOR_BOOT + bool "Support for booting from NOR flash" + depends on NOR + help + Enabling this will make a U-Boot binary that is capable of being + booted via NOR. In this case we will enable certain pinmux early + as the ROM only partially sets up pinmux. We also default to using + NOR for environment. + +endmenu + config BOOTDELAY int "delay in seconds before automatically booting" default 2 |