summaryrefslogtreecommitdiff
path: root/src/cpu
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2014-02-11 14:58:04 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2014-02-24 14:57:22 +0100
commitd47c08affd4548b766da4a026573b43e577f3182 (patch)
treeee88af124d726cbc2b1ab588d1961a464400d1c9 /src/cpu
parentd777d86ab2afc03c0a1d98f136e05ef9c64aa5ed (diff)
downloadcoreboot-d47c08affd4548b766da4a026573b43e577f3182.tar.xz
TI am335x: Apply Kconfig use conventions
Change-Id: Ic3c26fd7b1dd8a6731abc9a63b9ca17e084074b2 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/5291 Tested-by: build bot (Jenkins) Reviewed-by: Vladimir Serbinenko <phcoder@gmail.com>
Diffstat (limited to 'src/cpu')
-rw-r--r--src/cpu/ti/Kconfig11
-rw-r--r--src/cpu/ti/am335x/Kconfig13
2 files changed, 13 insertions, 11 deletions
diff --git a/src/cpu/ti/Kconfig b/src/cpu/ti/Kconfig
index 0440098ba2..5a62219dcf 100644
--- a/src/cpu/ti/Kconfig
+++ b/src/cpu/ti/Kconfig
@@ -1,12 +1 @@
-config CPU_TI_AM335X
- depends on ARCH_ARMV7
- select HAVE_MONOTONIC_TIMER
- select HAVE_UART_SPECIAL
- select BOOTBLOCK_CONSOLE
- select EARLY_CONSOLE
- bool
- default n
-
-if CPU_TI_AM335X
source src/cpu/ti/am335x/Kconfig
-endif
diff --git a/src/cpu/ti/am335x/Kconfig b/src/cpu/ti/am335x/Kconfig
index 0142c49cb5..fdc5824cdb 100644
--- a/src/cpu/ti/am335x/Kconfig
+++ b/src/cpu/ti/am335x/Kconfig
@@ -1,3 +1,14 @@
+config CPU_TI_AM335X
+ depends on ARCH_ARMV7
+ select HAVE_MONOTONIC_TIMER
+ select HAVE_UART_SPECIAL
+ select BOOTBLOCK_CONSOLE
+ select EARLY_CONSOLE
+ bool
+ default n
+
+if CPU_TI_AM335X
+
config BOOTBLOCK_CPU_INIT
string
default "cpu/ti/am335x/bootblock.c"
@@ -47,3 +58,5 @@ config CBFS_HEADER_ROM_OFFSET
config SYS_SDRAM_BASE
hex
default 0x40000000
+
+endif