diff --git a/src/mainboard/apple/Kconfig b/src/mainboard/apple/Kconfig index 09eb2b55ba..7d3e8c2ed7 100644 --- a/src/mainboard/apple/Kconfig +++ b/src/mainboard/apple/Kconfig @@ -3,6 +3,11 @@ if VENDOR_APPLE choice prompt "Mainboard model" +config BOARD_APPLE_MACBOOK11 + bool "Macbook1,1" + help + Consult wiki for details. + config BOARD_APPLE_MACBOOK21 bool "Macbook2,1" help @@ -10,6 +15,7 @@ config BOARD_APPLE_MACBOOK21 endchoice +source "src/mainboard/apple/macbook11/Kconfig" source "src/mainboard/apple/macbook21/Kconfig" config MAINBOARD_VENDOR diff --git a/src/mainboard/apple/macbook11/Kconfig b/src/mainboard/apple/macbook11/Kconfig new file mode 100644 index 0000000000..b5ac7fe170 --- /dev/null +++ b/src/mainboard/apple/macbook11/Kconfig @@ -0,0 +1,7 @@ +if BOARD_APPLE_MACBOOK11 + +config MAINBOARD_PART_NUMBER + string + default "MacBook2,1" + +endif diff --git a/src/mainboard/apple/macbook11/board_info.txt b/src/mainboard/apple/macbook11/board_info.txt new file mode 100644 index 0000000000..51c91612b1 --- /dev/null +++ b/src/mainboard/apple/macbook11/board_info.txt @@ -0,0 +1,8 @@ +Board name: Macbook1,1 +Category: laptop +ROM package: SOIC-8 +ROM protocol: SPI +ROM socketed: n +Flashrom support: n +Clone of: apple/macbook21 + diff --git a/src/mainboard/apple/macbook21/Kconfig b/src/mainboard/apple/macbook21/Kconfig index a8b98303b5..6c77eedd99 100644 --- a/src/mainboard/apple/macbook21/Kconfig +++ b/src/mainboard/apple/macbook21/Kconfig @@ -1,4 +1,4 @@ -if BOARD_APPLE_MACBOOK21 +if BOARD_APPLE_MACBOOK11 || BOARD_APPLE_MACBOOK21 config BOARD_SPECIFIC_OPTIONS # dummy def_bool y @@ -33,10 +33,14 @@ config DCACHE_RAM_SIZE hex default 0x8000 +if BOARD_APPLE_MACBOOK21 + config MAINBOARD_PART_NUMBER string default "MacBook2,1" +endif + config MMCONF_BASE_ADDRESS hex default 0xf0000000