From d47c08affd4548b766da4a026573b43e577f3182 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Tue, 11 Feb 2014 14:58:04 +0200 Subject: [PATCH] TI am335x: Apply Kconfig use conventions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ic3c26fd7b1dd8a6731abc9a63b9ca17e084074b2 Signed-off-by: Kyösti Mälkki Reviewed-on: http://review.coreboot.org/5291 Tested-by: build bot (Jenkins) Reviewed-by: Vladimir Serbinenko --- 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 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