Vladimir Serbinenko (phcoder@gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6698
-gerrit
commit b1efb15ec70e36dd4bb5e6c3b94b4a59a3388f16 Author: Vladimir Serbinenko phcoder@gmail.com Date: Mon Aug 18 00:38:18 2014 +0200
macbook11: Declare as macbook21 clone
Change-Id: Ifce2018ef49619b36fb07e5345d70c358a0397e4 Signed-off-by: Vladimir Serbinenko phcoder@gmail.com --- src/mainboard/apple/Kconfig | 6 ++++++ src/mainboard/apple/macbook11/Kconfig | 7 +++++++ src/mainboard/apple/macbook11/board_info.txt | 8 ++++++++ src/mainboard/apple/macbook21/Kconfig | 6 +++++- 4 files changed, 26 insertions(+), 1 deletion(-)
diff --git a/src/mainboard/apple/Kconfig b/src/mainboard/apple/Kconfig index 09eb2b5..7d3e8c2 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 0000000..b5ac7fe --- /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 0000000..51c9161 --- /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 a8b9830..6c77eed 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