summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Watson <jarrah@users.sourceforge.net>2003-10-05 05:10:52 +0000
committerGreg Watson <jarrah@users.sourceforge.net>2003-10-05 05:10:52 +0000
commitbe84533ed695ba004f5d22d757e7f57fe64debec (patch)
treef76fb202faef6af7d192ecf2d2391573042dd7cf
parent5ebf4d343147743c2c856f62fa5953046efa7483 (diff)
getting options right
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1189 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r--src/mainboard/embeddedplanet/ep405pc/Config.lb8
-rw-r--r--targets/embeddedplanet/ep405pc/Config.lb12
2 files changed, 16 insertions, 4 deletions
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