summaryrefslogtreecommitdiff
path: root/src/mainboard/apple/macbook21/Kconfig
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2016-12-15 19:35:31 +0100
committerArthur Heymans <arthur@aheymans.xyz>2017-03-20 17:07:13 +0100
commit1dfc0a64d42cc9052f5140cfa481ec0380971eef (patch)
treece707d7a02dfded771b003513da106e013b68fd5 /src/mainboard/apple/macbook21/Kconfig
parent0b5678f21f17024b4f7f6bd67d0d382481751d86 (diff)
downloadcoreboot-1dfc0a64d42cc9052f5140cfa481ec0380971eef.tar.xz
mb/apple/macbook11,macbook21,imac52: Remove per board directories
This is achieved by setting up Kconfig and Kconfig.name very similar to how variants are used. Change-Id: I22089ff29e3879d7956527a092a0ac6425b05cb3 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/17894 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/mainboard/apple/macbook21/Kconfig')
-rw-r--r--src/mainboard/apple/macbook21/Kconfig8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mainboard/apple/macbook21/Kconfig b/src/mainboard/apple/macbook21/Kconfig
index 4f51a28adf..7ee0e1a712 100644
--- a/src/mainboard/apple/macbook21/Kconfig
+++ b/src/mainboard/apple/macbook21/Kconfig
@@ -27,13 +27,11 @@ config MAINBOARD_DIR
string
default apple/macbook21
-if BOARD_APPLE_MACBOOK21
-
config MAINBOARD_PART_NUMBER
string
- default "MacBook2,1"
-
-endif
+ default "Macbook1,1" if BOARD_APPLE_MACBOOK11
+ default "MacBook2,1" if BOARD_APPLE_MACBOOK21
+ default "iMac5,2" if BOARD_APPLE_IMAC52
config MMCONF_BASE_ADDRESS
hex