From 81cbadadc13a73220e8a02d47c2d0a182fa5b22f Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Mon, 1 Jul 2013 05:12:40 -0700 Subject: beaglebone: Put some code in romstage.c so we can tell if it ran. The placeholder code in beaglebone's romstage.c didn't do anything, it just immediately tried to load the RAM stage and jump into it. That doesn't currently work, and there's no indication whether you actually successfully got into the ROM stage or not. This change adds a few lines which initialize the console and say "Hi" so that we can tell that the ROM stage is running. Change-Id: I45a0908c3ac65b21e0e5020428696d2e54933d0e Signed-off-by: Gabe Black Reviewed-on: http://review.coreboot.org/3581 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich --- src/mainboard/ti/beaglebone/romstage.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mainboard/ti/beaglebone/romstage.c b/src/mainboard/ti/beaglebone/romstage.c index 3b9cae880a..e66a3dd29e 100644 --- a/src/mainboard/ti/beaglebone/romstage.c +++ b/src/mainboard/ti/beaglebone/romstage.c @@ -29,6 +29,9 @@ void main(void) { void *entry; + console_init(); + printk(BIOS_INFO, "Hello from romstage.\n"); + entry = cbfs_load_stage(CBFS_DEFAULT_MEDIA, "fallback/coreboot_ram"); printk(BIOS_INFO, "entry is 0x%p, leaving romstage.\n", entry); -- cgit v1.2.3