summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Watson <jarrah@users.sourceforge.net>2003-11-05 18:21:30 +0000
committerGreg Watson <jarrah@users.sourceforge.net>2003-11-05 18:21:30 +0000
commited46258ca924834244b03bbcc17231366dbbfe69 (patch)
tree9c339112088988d2a8aacfe922721fcb5b6ff704
parent097e6497abbeb65c698dce8f858e0d5f32a15da8 (diff)
*** empty log message ***
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1256 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r--src/arch/ppc/init/ppc_main.c2
-rw-r--r--src/config/Options.lb69
2 files changed, 53 insertions, 18 deletions
diff --git a/src/arch/ppc/init/ppc_main.c b/src/arch/ppc/init/ppc_main.c
index 5b4a159814..a89e02b7dd 100644
--- a/src/arch/ppc/init/ppc_main.c
+++ b/src/arch/ppc/init/ppc_main.c
@@ -9,7 +9,7 @@ extern unsigned _iseg[];
extern unsigned _liseg[];
extern unsigned _eliseg[];
-void (*hardwaremain)(int) = _iseg;
+void (*hardwaremain)(int) = (void (*)(int))_iseg;
/*
* At this point we're running out of flash with our
diff --git a/src/config/Options.lb b/src/config/Options.lb
index 1a12e76dbe..714bb46c90 100644
--- a/src/config/Options.lb
+++ b/src/config/Options.lb
@@ -237,6 +237,12 @@ define _RESET
export always
comment "Hardware reset vector address"
end
+define _EXCEPTION_VECTORS
+ default {_ROMBASE+0x100}
+ format "0x%x"
+ export always
+ comment "Address of exception vector table"
+end
define STACK_SIZE
default 0x2000
format "0x%x"
@@ -255,22 +261,22 @@ define _RAMBASE
export always
comment "Base address of LinuxBIOS in RAM"
end
-define USE_CACHE_RAM
+define USE_DCACHE_RAM
default 0
export used
- comment "Use cache as temporary RAM if possible"
+ comment "Use data cache as temporary RAM if possible"
end
-define CACHE_RAM_BASE
- default 0x00200000
+define DCACHE_RAM_BASE
+ default none
format "0x%x"
- export always
- comment "Base address of cache when using it for temporary RAM"
+ export used
+ comment "Base address of data cache when using it for temporary RAM"
end
-define CACHE_RAM_SIZE
- default 0x00004000
+define DCACHE_RAM_SIZE
+ default none
format "0x%x"
- export always
- comment "Size of cache when using it for temporary RAM"
+ export used
+ comment "Size of data cache when using it for temporary RAM"
end
define XIP_ROM_BASE
default 0
@@ -351,33 +357,30 @@ define DEFAULT_CONSOLE_LOGLEVEL
export always
comment "Console will log at this level unless changed"
end
-
define MAXIMUM_CONSOLE_LOGLEVEL
default 8
export always
comment "Error messages up to this level can be printed"
end
-
define NO_POST
default none
export always
comment "Disable POST codes"
end
-
define TTYS0_BASE
default 0x3f8
+ format "0x%x"
export always
comment "Base address for 8250 uart for the serial console"
end
-
define TTYS0_BAUD
default 115200
export always
comment "Default baud rate for serial console"
end
-
define TTYS0_LCS
default 0x3
+ format "0x%x"
export always
comment "Default flow control settings for the 8250 serial console uart"
end
@@ -406,18 +409,17 @@ define CONFIG_SYS_CLK_FREQ
export used
comment "System clock frequency in MHz"
end
-
define CONFIG_KEYBOARD
default 0
export used
comment "Run PC keyboard enable code"
end
-
define CONFIG_LEGACY_VGABIOS
default 0
export used
comment "Support for legacy VGA BIOS"
end
+
###############################################
# SMP options
###############################################
@@ -515,6 +517,39 @@ define IDE_OFFSET
end
###############################################
+# Options for memory mapped I/O
+###############################################
+
+define PCIC0_CFGADDR
+ default none
+ format "0x%x"
+ export used
+ comment "PCI Configuration Address Register"
+end
+define PCIC0_CFGDATA
+ default none
+ format "0x%x"
+ export used
+ comment "PCI Configuration Data Register"
+end
+define UART0_IO_BASE
+ default none
+ format "0x%x"
+ export used
+ comment "UART 0 base address"
+end
+
+###############################################
+# Options for embedded systems
+###############################################
+
+define EMBEDDED_RAM_SIZE
+ default none
+ export used
+ comment "Embedded boards generally have fixed RAM size"
+end
+
+###############################################
# Misc options
###############################################