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>
This commit is contained in:
Arthur Heymans 2016-12-15 19:35:31 +01:00
parent 0b5678f21f
commit 1dfc0a64d4
8 changed files with 9 additions and 39 deletions

View File

@ -1,7 +0,0 @@
if BOARD_APPLE_IMAC52
config MAINBOARD_PART_NUMBER
string
default "iMac5,2"
endif

View File

@ -1,2 +0,0 @@
config BOARD_APPLE_IMAC52
bool "iMac5,2"

View File

@ -1,8 +0,0 @@
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

View File

@ -1,7 +0,0 @@
if BOARD_APPLE_MACBOOK11
config MAINBOARD_PART_NUMBER
string
default "MacBook1,1"
endif

View File

@ -1,2 +0,0 @@
config BOARD_APPLE_MACBOOK11
bool "Macbook1,1"

View File

@ -1,8 +0,0 @@
Board name: Macbook1,1
Category: laptop
ROM package: SOIC-8
ROM protocol: SPI
ROM socketed: n
Flashrom support: n
Clone of: apple/macbook21
Release year: 2006

View File

@ -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

View File

@ -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"