summaryrefslogtreecommitdiff
path: root/src/mainboard/embeddedplanet
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/embeddedplanet')
-rw-r--r--src/mainboard/embeddedplanet/ep405pc/Config.lb27
-rw-r--r--src/mainboard/embeddedplanet/ep405pc/Options.lb35
2 files changed, 35 insertions, 27 deletions
diff --git a/src/mainboard/embeddedplanet/ep405pc/Config.lb b/src/mainboard/embeddedplanet/ep405pc/Config.lb
index 38708daac1..4b76162e17 100644
--- a/src/mainboard/embeddedplanet/ep405pc/Config.lb
+++ b/src/mainboard/embeddedplanet/ep405pc/Config.lb
@@ -2,33 +2,6 @@
## Config file for the Embedded Planet EP405PC Computing Engine
##
-uses PCIC0_CFGADDR
-uses PCIC0_CFGDATA
-uses ISA_IO_BASE
-uses ISA_MEM_BASE
-uses TTYS0_BASE
-uses _IO_BASE
-
-##
-## Set PCI configuration register addresses
-##
-default PCIC0_CFGADDR=0xeec00000
-default PCIC0_CFGDATA=0xeec00004
-
-##
-## Set PCI/ISA I/O and memory base address
-##
-default ISA_IO_BASE=0xe8000000
-default ISA_MEM_BASE=0x80000000
-default _IO_BASE=ISA_IO_BASE
-
-##
-## HACK ALERT: the UART0 registers are not in the PCI I/O address space
-## but both IDE and UART use the same routines for I/O (inb/outb). To get
-## around this we set TTYSO_BASE to the difference between the two.
-##
-default TTYS0_BASE=0xef600300-ISA_IO_BASE
-
##
## Early board initialization, called from ppc_main()
##
diff --git a/src/mainboard/embeddedplanet/ep405pc/Options.lb b/src/mainboard/embeddedplanet/ep405pc/Options.lb
new file mode 100644
index 0000000000..9acea4955f
--- /dev/null
+++ b/src/mainboard/embeddedplanet/ep405pc/Options.lb
@@ -0,0 +1,35 @@
+##
+## Config file for the Embedded Planet EP405PC Computing Engine
+##
+
+uses PCIC0_CFGADDR
+uses PCIC0_CFGDATA
+uses ISA_IO_BASE
+uses ISA_MEM_BASE
+uses TTYS0_BASE
+uses _IO_BASE
+uses CROSS_COMPILE
+uses CC
+uses HOSTCC
+uses OBJCOPY
+
+##
+## Set PCI configuration register addresses
+##
+default PCIC0_CFGADDR=0xeec00000
+default PCIC0_CFGDATA=0xeec00004
+
+##
+## Set PCI/ISA I/O and memory base address
+##
+default ISA_IO_BASE=0xe8000000
+default ISA_MEM_BASE=0x80000000
+default _IO_BASE=ISA_IO_BASE
+
+##
+## HACK ALERT: the UART0 registers are not in the PCI I/O address space
+## but both IDE and UART use the same routines for I/O (inb/outb). To get
+## around this we set TTYSO_BASE to the difference between the two.
+##
+default TTYS0_BASE=0xef600300-ISA_IO_BASE
+