summaryrefslogtreecommitdiff
path: root/src/mainboard/rca
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@coresystems.de>2009-10-07 14:13:36 +0000
committerPatrick Georgi <patrick.georgi@coresystems.de>2009-10-07 14:13:36 +0000
commitfdfaada706037287c74e2541a6151f16d93b9be1 (patch)
tree7d53238e40f3d15c204b8007a6afc56299b34139 /src/mainboard/rca
parent99950c2192c93cdb19a5c49be09f8cba63ccf383 (diff)
downloadcoreboot-fdfaada706037287c74e2541a6151f16d93b9be1.tar.xz
More boards in kconfig, and moved -O2 flag for romcc into
ROMCCFLAGS, so boards can override it where necessary. Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de> Acked-by: Myles Watson <mylesgw@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4730 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/rca')
-rw-r--r--src/mainboard/rca/Kconfig9
-rw-r--r--src/mainboard/rca/rm4100/Kconfig36
-rw-r--r--src/mainboard/rca/rm4100/Makefile.inc4
3 files changed, 48 insertions, 1 deletions
diff --git a/src/mainboard/rca/Kconfig b/src/mainboard/rca/Kconfig
index 792d600548..e4e913559d 100644
--- a/src/mainboard/rca/Kconfig
+++ b/src/mainboard/rca/Kconfig
@@ -1 +1,8 @@
-#
+choice
+ prompt "Mainboard model"
+ depends on VENDOR_RCA
+
+source "src/mainboard/rca/rm4100/Kconfig"
+
+endchoice
+
diff --git a/src/mainboard/rca/rm4100/Kconfig b/src/mainboard/rca/rm4100/Kconfig
new file mode 100644
index 0000000000..4b7764ee23
--- /dev/null
+++ b/src/mainboard/rca/rm4100/Kconfig
@@ -0,0 +1,36 @@
+config BOARD_RCA_RM4100
+ bool "RM4100"
+ select ARCH_X86
+ select CPU_INTEL_SOCKET_PGA370
+ select NORTHBRIDGE_INTEL_I82830
+ select SOUTHBRIDGE_INTEL_I82801XX
+ select SUPERIO_SMSC_SMSCSUPERIO
+ select HAVE_PIRQ_TABLE
+ select UDELAY_TSC
+ select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
+
+config MAINBOARD_DIR
+ string
+ default rca/rm4100
+ depends on BOARD_RCA_RM4100
+
+config MAINBOARD_PART_NUMBER
+ string
+ default "RM4100"
+ depends on BOARD_RCA_RM4100
+
+config HAVE_OPTION_TABLE
+ bool
+ default n
+ depends on BOARD_RCA_RM4100
+
+config IRQ_SLOT_COUNT
+ int
+ default 7
+ depends on BOARD_RCA_RM4100
+
+config VIDEO_MB
+ int
+ default 0
+ depends on BOARD_RCA_RM4100
+
diff --git a/src/mainboard/rca/rm4100/Makefile.inc b/src/mainboard/rca/rm4100/Makefile.inc
new file mode 100644
index 0000000000..b94711e01e
--- /dev/null
+++ b/src/mainboard/rca/rm4100/Makefile.inc
@@ -0,0 +1,4 @@
+ROMCCFLAGS=-mcpu=p3 -O
+
+include $(src)/mainboard/Makefile.romccboard.inc
+