Sam Lewis has uploaded this change for review.

View Change

mb/ti/beaglebone: Init UART in early init

The console is initialized before mainboard_init, so the peripheral
should be initialized in bootblock_mainboard_early_init rather than
bootblock_mainboard_init.

Change-Id: I9f4ba29798eb0b1efea76f5ade4a234fb35a2f83
Signed-off-by: Sam Lewis <sam.vr.lewis@gmail.com>
---
M src/mainboard/ti/beaglebone-black/bootblock.c
1 file changed, 1 insertion(+), 1 deletion(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/80/44380/1
diff --git a/src/mainboard/ti/beaglebone-black/bootblock.c b/src/mainboard/ti/beaglebone-black/bootblock.c
index ca1a390..b7b0ee9 100644
--- a/src/mainboard/ti/beaglebone-black/bootblock.c
+++ b/src/mainboard/ti/beaglebone-black/bootblock.c
@@ -9,7 +9,7 @@

#include "leds.h"

-void bootblock_mainboard_init(void)
+void bootblock_mainboard_early_init(void)
{
write32(&am335x_cm_wkup->wkup_gpio0, CM_ST_SW_WKUP | CM_FCLK_EN);
write32(&am335x_cm_per->gpio1, CM_ST_SW_WKUP | CM_FCLK_EN);

To view, visit change 44380. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I9f4ba29798eb0b1efea76f5ade4a234fb35a2f83
Gerrit-Change-Number: 44380
Gerrit-PatchSet: 1
Gerrit-Owner: Sam Lewis <sam.vr.lewis@gmail.com>
Gerrit-MessageType: newchange