arm, am33x: make RTC32K OSC enable configurable
authorHeiko Schocher <hs@denx.de>
Mon, 4 Nov 2013 13:05:00 +0000 (14:05 +0100)
committerTom Rini <trini@ti.com>
Mon, 11 Nov 2013 17:16:30 +0000 (12:16 -0500)
commit16678eb40f287067dd8ad5a4e5208fbfe94e0e76
treeab8b73eade6f2b5afaa29b9db3a2e205d7968049
parenteda0ba38a8dfd2572089bd229a027d497c340158
arm, am33x: make RTC32K OSC enable configurable

As
http://www.denx.de/wiki/view/U-Boot/DesignPrinciples#2_Keep_it_Fast
states:
"Initialize devices only when they are needed within U-Boot"

enable the RTC32K OSC only, if CONFIG_SPL_AM33XX_ENABLE_RTC32K_OSC is
enabled. Enable this in ti_am335x_common.h, so all boards in mainline
should work as before.

Signed-off-by: Heiko Schocher <hs@denx.de>
Cc: Tom Rini <trini@ti.com>
README
arch/arm/cpu/armv7/am33xx/board.c
include/configs/ti_am335x_common.h