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 <gabeblack@chromium.org> Reviewed-on: http://review.coreboot.org/3581 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
This commit is contained in:
parent
978c215127
commit
81cbadadc1
|
@ -29,6 +29,9 @@ void main(void)
|
||||||
{
|
{
|
||||||
void *entry;
|
void *entry;
|
||||||
|
|
||||||
|
console_init();
|
||||||
|
printk(BIOS_INFO, "Hello from romstage.\n");
|
||||||
|
|
||||||
entry = cbfs_load_stage(CBFS_DEFAULT_MEDIA, "fallback/coreboot_ram");
|
entry = cbfs_load_stage(CBFS_DEFAULT_MEDIA, "fallback/coreboot_ram");
|
||||||
printk(BIOS_INFO, "entry is 0x%p, leaving romstage.\n", entry);
|
printk(BIOS_INFO, "entry is 0x%p, leaving romstage.\n", entry);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue