diff options
author | Patrick Georgi <patrick.georgi@coresystems.de> | 2009-10-09 12:32:52 +0000 |
---|---|---|
committer | Patrick Georgi <patrick.georgi@coresystems.de> | 2009-10-09 12:32:52 +0000 |
commit | 91ff0df62777a9ec4a399ef899803c05e7caad60 (patch) | |
tree | 93bc6c2927195fe3e991172acb3c923d89ec6bec /src/mainboard/olpc | |
parent | 748475b800c552236aff16c1beffd55b70791ae6 (diff) | |
download | coreboot-91ff0df62777a9ec4a399ef899803c05e7caad60.tar.xz |
More Kconfig-supported boards, and also kconfig support
for amd/socket_AM2R2, amd/socket_939, drivers/ati/ragexl
Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4750 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/olpc')
-rw-r--r-- | src/mainboard/olpc/Kconfig | 10 | ||||
-rw-r--r-- | src/mainboard/olpc/btest/Kconfig | 34 | ||||
-rw-r--r-- | src/mainboard/olpc/btest/Makefile.inc | 2 | ||||
-rw-r--r-- | src/mainboard/olpc/rev_a/Kconfig | 34 | ||||
-rw-r--r-- | src/mainboard/olpc/rev_a/Makefile.inc | 2 |
5 files changed, 81 insertions, 1 deletions
diff --git a/src/mainboard/olpc/Kconfig b/src/mainboard/olpc/Kconfig index 792d600548..658ebb51c6 100644 --- a/src/mainboard/olpc/Kconfig +++ b/src/mainboard/olpc/Kconfig @@ -1 +1,9 @@ -# +choice + prompt "Mainboard model" + depends on VENDOR_OLPC + +source "src/mainboard/olpc/rev_a/Kconfig" +source "src/mainboard/olpc/btest/Kconfig" + +endchoice + diff --git a/src/mainboard/olpc/btest/Kconfig b/src/mainboard/olpc/btest/Kconfig new file mode 100644 index 0000000000..7d12098300 --- /dev/null +++ b/src/mainboard/olpc/btest/Kconfig @@ -0,0 +1,34 @@ +config BOARD_OLPC_BTEST + bool "B-test" + select ARCH_X86 + select CPU_AMD_GX2 + select NORTHBRIDGE_AMD_GX2 + select SOUTHBRIDGE_AMD_CS5536 + select UDELAY_TSC + select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2 + select HAVE_PIRQ_TABLE + +config MAINBOARD_DIR + string + default olpc/btest + depends on BOARD_OLPC_BTEST + +config MAINBOARD_PART_NUMBER + string + default "BTEST" + depends on BOARD_OLPC_BTEST + +config HAVE_OPTION_TABLE + bool + default n + depends on BOARD_OLPC_BTEST + +config IRQ_SLOT_COUNT + int + default 2 + depends on BOARD_OLPC_BTEST + +config USE_INIT + bool + default n + depends on BOARD_OLPC_BTEST diff --git a/src/mainboard/olpc/btest/Makefile.inc b/src/mainboard/olpc/btest/Makefile.inc new file mode 100644 index 0000000000..3e1aee5038 --- /dev/null +++ b/src/mainboard/olpc/btest/Makefile.inc @@ -0,0 +1,2 @@ +ROMCCFLAGS=-mcpu=p2 -O +include $(src)/mainboard/Makefile.romccboard.inc diff --git a/src/mainboard/olpc/rev_a/Kconfig b/src/mainboard/olpc/rev_a/Kconfig new file mode 100644 index 0000000000..47d77da140 --- /dev/null +++ b/src/mainboard/olpc/rev_a/Kconfig @@ -0,0 +1,34 @@ +config BOARD_OLPC_REV_A + bool "Rev A" + select ARCH_X86 + select CPU_AMD_GX2 + select NORTHBRIDGE_AMD_GX2 + select SOUTHBRIDGE_AMD_CS5536 + select UDELAY_TSC + select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2 + select HAVE_PIRQ_TABLE + +config MAINBOARD_DIR + string + default olpc/rev_a + depends on BOARD_OLPC_REV_A + +config MAINBOARD_PART_NUMBER + string + default "REV A" + depends on BOARD_OLPC_REV_A + +config HAVE_OPTION_TABLE + bool + default n + depends on BOARD_OLPC_REV_A + +config IRQ_SLOT_COUNT + int + default 2 + depends on BOARD_OLPC_REV_A + +config USE_INIT + bool + default n + depends on BOARD_OLPC_REV_A diff --git a/src/mainboard/olpc/rev_a/Makefile.inc b/src/mainboard/olpc/rev_a/Makefile.inc new file mode 100644 index 0000000000..3e1aee5038 --- /dev/null +++ b/src/mainboard/olpc/rev_a/Makefile.inc @@ -0,0 +1,2 @@ +ROMCCFLAGS=-mcpu=p2 -O +include $(src)/mainboard/Makefile.romccboard.inc |