From 91ff0df62777a9ec4a399ef899803c05e7caad60 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Fri, 9 Oct 2009 12:32:52 +0000 Subject: More Kconfig-supported boards, and also kconfig support for amd/socket_AM2R2, amd/socket_939, drivers/ati/ragexl Signed-off-by: Patrick Georgi Acked-by: Uwe Hermann git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4750 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/mainboard/olpc/Kconfig | 10 +++++++++- src/mainboard/olpc/btest/Kconfig | 34 ++++++++++++++++++++++++++++++++++ src/mainboard/olpc/btest/Makefile.inc | 2 ++ src/mainboard/olpc/rev_a/Kconfig | 34 ++++++++++++++++++++++++++++++++++ src/mainboard/olpc/rev_a/Makefile.inc | 2 ++ 5 files changed, 81 insertions(+), 1 deletion(-) create mode 100644 src/mainboard/olpc/btest/Kconfig create mode 100644 src/mainboard/olpc/btest/Makefile.inc create mode 100644 src/mainboard/olpc/rev_a/Kconfig create mode 100644 src/mainboard/olpc/rev_a/Makefile.inc (limited to 'src/mainboard/olpc') 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 -- cgit v1.2.3