arm:remove hardcoded base address for the in kernel serial.

Removed hardcoded base address for in kernel serial. This will ease
porting to different boards and allow us to remap i/o at later stage.

Change-Id: I4a4e00ed2aa2f94dfe928dc43a6816d3b94576b7
This commit is contained in:
Kees Jongenburger
2013-05-23 10:03:09 +02:00
parent 5d15ac7c20
commit 571ea5b4d7
4 changed files with 53 additions and 8 deletions

View File

@@ -127,6 +127,10 @@ void kmain(kinfo_t *local_cbi)
memcpy(&kinfo, local_cbi, sizeof(kinfo));
memcpy(&kmess, kinfo.kmess, sizeof(kmess));
#ifdef __arm__
/* We want to initialize serial before we do any output */
omap3_ser_init();
#endif
/* We can talk now */
printf("MINIX booting\n");