diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2016-12-15 19:35:31 +0100 |
---|---|---|
committer | Arthur Heymans <arthur@aheymans.xyz> | 2017-03-20 17:07:13 +0100 |
commit | 1dfc0a64d42cc9052f5140cfa481ec0380971eef (patch) | |
tree | ce707d7a02dfded771b003513da106e013b68fd5 /src/mainboard/apple/macbook21 | |
parent | 0b5678f21f17024b4f7f6bd67d0d382481751d86 (diff) | |
download | coreboot-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')
-rw-r--r-- | src/mainboard/apple/macbook21/Kconfig | 8 | ||||
-rw-r--r-- | src/mainboard/apple/macbook21/Kconfig.name | 6 |
2 files changed, 9 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 diff --git a/src/mainboard/apple/macbook21/Kconfig.name b/src/mainboard/apple/macbook21/Kconfig.name index 034956b160..7547767919 100644 --- a/src/mainboard/apple/macbook21/Kconfig.name +++ b/src/mainboard/apple/macbook21/Kconfig.name @@ -1,2 +1,8 @@ config BOARD_APPLE_MACBOOK21 bool "Macbook2,1" + +config BOARD_APPLE_MACBOOK11 + bool "Macbook1,1" + +config BOARD_APPLE_IMAC52 + bool "iMac5,2" |