diff options
Diffstat (limited to 'resources/libreboot/patch/coreboot/112ab9183754a81c8100fcc37593ef4905a9d3a3/grub/imac52')
-rw-r--r-- | resources/libreboot/patch/coreboot/112ab9183754a81c8100fcc37593ef4905a9d3a3/grub/imac52/0001-apple-imac52-add-mainboard.patch | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/resources/libreboot/patch/coreboot/112ab9183754a81c8100fcc37593ef4905a9d3a3/grub/imac52/0001-apple-imac52-add-mainboard.patch b/resources/libreboot/patch/coreboot/112ab9183754a81c8100fcc37593ef4905a9d3a3/grub/imac52/0001-apple-imac52-add-mainboard.patch new file mode 100644 index 00000000..d3c782dd --- /dev/null +++ b/resources/libreboot/patch/coreboot/112ab9183754a81c8100fcc37593ef4905a9d3a3/grub/imac52/0001-apple-imac52-add-mainboard.patch @@ -0,0 +1,67 @@ +From a81b83c6e43ff36bb71be7ac88ef2c5a95cf98bc Mon Sep 17 00:00:00 2001 +From: Arthur Heymans <arthur@aheymans.xyz> +Date: Sun, 18 Sep 2016 20:15:45 +0200 +Subject: [PATCH] apple/imac52: add mainboard + +The macbook21 rom works on iMac5,2 desktop computer. + +Change-Id: I34c8313c32920b02a2b964d8718e5b2b6b5a6820 +Signed-off-by: Arthur Heymans <arthur@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(-) + create mode 100644 src/mainboard/apple/imac52/Kconfig + create mode 100644 src/mainboard/apple/imac52/Kconfig.name + create mode 100644 src/mainboard/apple/imac52/board_info.txt + +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 +-- +2.9.3 + |