diff options
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 |