[coreboot-gerrit] New patch to review for coreboot: 496108f TI am335x: Apply Kconfig use conventions
Kyösti Mälkki (kyosti.malkki@gmail.com)
gerrit at coreboot.org
Mon Feb 24 14:50:30 CET 2014
Kyösti Mälkki (kyosti.malkki at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5291
-gerrit
commit 496108f230ca75c0b5608c45d4280d474cca89b5
Author: Kyösti Mälkki <kyosti.malkki at gmail.com>
Date: Tue Feb 11 14:58:04 2014 +0200
TI am335x: Apply Kconfig use conventions
Change-Id: Ic3c26fd7b1dd8a6731abc9a63b9ca17e084074b2
Signed-off-by: Kyösti Mälkki <kyosti.malkki at gmail.com>
---
src/cpu/ti/Kconfig | 11 -----------
src/cpu/ti/am335x/Kconfig | 13 +++++++++++++
2 files changed, 13 insertions(+), 11 deletions(-)
diff --git a/src/cpu/ti/Kconfig b/src/cpu/ti/Kconfig
index 0440098..5a62219 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 0142c49..fdc5824 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
More information about the coreboot-gerrit
mailing list