summaryrefslogtreecommitdiff
path: root/src/mainboard/apple
diff options
context:
space:
mode:
authorVladimir Serbinenko <phcoder@gmail.com>2014-08-18 00:38:18 +0200
committerVladimir Serbinenko <phcoder@gmail.com>2014-08-18 15:07:07 +0200
commite71928ca072b5c136f6d62382182b0b213bd063f (patch)
treef6e85da129f427f8ceb61d4f3a047a0fc1a6d7e8 /src/mainboard/apple
parent6a3a8ce1a81578d4461c9d4de6d59a3154f6a8a4 (diff)
downloadcoreboot-e71928ca072b5c136f6d62382182b0b213bd063f.tar.xz
macbook11: New mainboard (macbook21 clone)
Tested by marcus. Change-Id: Ifce2018ef49619b36fb07e5345d70c358a0397e4 Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/6698 Tested-by: build bot (Jenkins) Reviewed-by: Francis Rowe <info@gluglug.org.uk> Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Diffstat (limited to 'src/mainboard/apple')
-rw-r--r--src/mainboard/apple/Kconfig6
-rw-r--r--src/mainboard/apple/macbook11/Kconfig7
-rw-r--r--src/mainboard/apple/macbook11/board_info.txt8
-rw-r--r--src/mainboard/apple/macbook21/Kconfig6
4 files changed, 26 insertions, 1 deletions
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