[coreboot-gerrit] New patch to review for coreboot: apple/imac52: add mainboard

Arthur Heymans (arthur@aheymans.xyz) gerrit at coreboot.org
Sun Sep 18 21:53:26 CEST 2016


Arthur Heymans (arthur at aheymans.xyz) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/16638

-gerrit

commit a81b83c6e43ff36bb71be7ac88ef2c5a95cf98bc
Author: Arthur Heymans <arthur at aheymans.xyz>
Date:   Sun Sep 18 20:15:45 2016 +0200

    apple/imac52: add mainboard
    
    The macbook21 rom works on iMac5,2 desktop computer.
    
    Change-Id: I34c8313c32920b02a2b964d8718e5b2b6b5a6820
    Signed-off-by: Arthur Heymans <arthur at aheymans.xyz>
---
 src/mainboard/apple/imac52/Kconfig        | 7 +++++++
 src/mainboard/apple/imac52/Kconfig.name   | 2 ++
 src/mainboard/apple/imac52/board_info.txt | 8 ++++++++
 src/mainboard/apple/macbook21/Kconfig     | 2 +-
 4 files changed, 18 insertions(+), 1 deletion(-)

diff --git a/src/mainboard/apple/imac52/Kconfig b/src/mainboard/apple/imac52/Kconfig
new file mode 100644
index 0000000..ba2ff95
--- /dev/null
+++ b/src/mainboard/apple/imac52/Kconfig
@@ -0,0 +1,7 @@
+if BOARD_APPLE_IMAC52
+
+config MAINBOARD_PART_NUMBER
+	string
+	default "iMac5,2"
+
+endif
diff --git a/src/mainboard/apple/imac52/Kconfig.name b/src/mainboard/apple/imac52/Kconfig.name
new file mode 100644
index 0000000..034222b
--- /dev/null
+++ b/src/mainboard/apple/imac52/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_APPLE_IMAC52
+	bool "iMac5,2"
diff --git a/src/mainboard/apple/imac52/board_info.txt b/src/mainboard/apple/imac52/board_info.txt
new file mode 100644
index 0000000..918d394
--- /dev/null
+++ b/src/mainboard/apple/imac52/board_info.txt
@@ -0,0 +1,8 @@
+Board name: iMac5,2
+Category: desktop
+ROM package: SOIC-8
+ROM protocol: SPI
+ROM socketed: n
+Flashrom support: n
+Clone of: apple/macbook21
+Release year: 2007
diff --git a/src/mainboard/apple/macbook21/Kconfig b/src/mainboard/apple/macbook21/Kconfig
index e653c08..ebf3954 100644
--- a/src/mainboard/apple/macbook21/Kconfig
+++ b/src/mainboard/apple/macbook21/Kconfig
@@ -1,4 +1,4 @@
-if BOARD_APPLE_MACBOOK11 || BOARD_APPLE_MACBOOK21
+if BOARD_APPLE_MACBOOK11 || BOARD_APPLE_MACBOOK21 || BOARD_APPLE_IMAC52
 
 config BOARD_SPECIFIC_OPTIONS # dummy
 	def_bool y



More information about the coreboot-gerrit mailing list