Commit d14739ffe16092323f838b8d3f61796afe083810
Committed by
Tom Rini
1 parent
4a9a329277
Exists in
v2017.01-smarct4x
and in
25 other branches
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>
Showing 2 changed files with 13 additions and 9 deletions Side-by-side Diff
board/ti/am335x/Kconfig
... | ... | @@ -29,15 +29,6 @@ |
29 | 29 | In practice this is seen as a NOR flash module connected to the |
30 | 30 | "memory cape" for the BeagleBone family. |
31 | 31 | |
32 | -config NOR_BOOT | |
33 | - bool "Support for booting from NOR flash" | |
34 | - depends on NOR | |
35 | - help | |
36 | - Enabling this will make a U-Boot binary that is capable of being | |
37 | - booted via NOR. In this case we will enable certain pinmux early | |
38 | - as the ROM only partially sets up pinmux. We also default to using | |
39 | - NOR for environment. | |
40 | - | |
41 | 32 | source "board/ti/common/Kconfig" |
42 | 33 | |
43 | 34 | endif |
common/Kconfig
... | ... | @@ -97,6 +97,19 @@ |
97 | 97 | |
98 | 98 | endmenu |
99 | 99 | |
100 | +menu "Boot media" | |
101 | + | |
102 | +config NOR_BOOT | |
103 | + bool "Support for booting from NOR flash" | |
104 | + depends on NOR | |
105 | + help | |
106 | + Enabling this will make a U-Boot binary that is capable of being | |
107 | + booted via NOR. In this case we will enable certain pinmux early | |
108 | + as the ROM only partially sets up pinmux. We also default to using | |
109 | + NOR for environment. | |
110 | + | |
111 | +endmenu | |
112 | + | |
100 | 113 | config BOOTDELAY |
101 | 114 | int "delay in seconds before automatically booting" |
102 | 115 | default 2 |