diff --git a/src/mainboard/embeddedplanet/ep405pc/Config.lb b/src/mainboard/embeddedplanet/ep405pc/Config.lb index 25546142e1..8387123e3e 100644 --- a/src/mainboard/embeddedplanet/ep405pc/Config.lb +++ b/src/mainboard/embeddedplanet/ep405pc/Config.lb @@ -2,6 +2,14 @@ ## Config file for the Embedded Planet EP405PC Computing Engine ## +uses PCIC0_CFGADDR +uses PCIC0_CFGDATA +uses UART0_IO_BASE + +option PCIC0_CFGADDR=0xeec00000 +option PCIC0_CFGDATA=0xeec00004 +option UART0_IO_BASE=0xef600300 + arch ppc end cpu ppc/ppc4xx end diff --git a/targets/embeddedplanet/ep405pc/Config.lb b/targets/embeddedplanet/ep405pc/Config.lb index f0f4d6c337..fcd6c0b56b 100644 --- a/targets/embeddedplanet/ep405pc/Config.lb +++ b/targets/embeddedplanet/ep405pc/Config.lb @@ -5,12 +5,14 @@ loadoptions target ep405pc -uses ARCH uses CPU_OPT uses CROSS_COMPILE uses HAVE_OPTION_TABLE uses CONFIG_COMPRESS uses CONFIG_CHIP_CONFIGURE +uses DEFAULT_CONSOLE_LOGLEVEL +uses CONFIG_CONSOLE_SERIAL8250 +uses TTYS0_BASE UART0_IO_BASE uses NO_POST uses CONFIG_IDE_STREAM uses CONFIG_SYS_CLK_FREQ @@ -25,9 +27,6 @@ uses _RAMBASE uses CACHE_RAM_BASE uses CACHE_RAM_SIZE uses STACK_SIZE HEAP_SIZE -uses MAINBOARD -uses MAINBOARD_PART_NUMBER -uses MAINBOARD_VENDOR ## Enable PPC405 instructions option CPU_OPT="-Wa,-m405" @@ -44,6 +43,11 @@ option CONFIG_COMPRESS=0 ## Turn off POST codes option NO_POST=1 +## Enable serial console +option DEFAULT_CONSOLE_LOGLEVEL=8 +option CONFIG_CONSOLE_SERIAL8250=1 +option TTYS0_BASE={UART0_IO_BASE} + ## Boot linux from IDE option CONFIG_IDE_STREAM=1 option IDE_BOOT_DRIVE=0