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:
parent
0b5678f21f
commit
1dfc0a64d4
|
@ -1,7 +0,0 @@
|
||||||
if BOARD_APPLE_IMAC52
|
|
||||||
|
|
||||||
config MAINBOARD_PART_NUMBER
|
|
||||||
string
|
|
||||||
default "iMac5,2"
|
|
||||||
|
|
||||||
endif
|
|
|
@ -1,2 +0,0 @@
|
||||||
config BOARD_APPLE_IMAC52
|
|
||||||
bool "iMac5,2"
|
|
|
@ -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
|
|
|
@ -1,7 +0,0 @@
|
||||||
if BOARD_APPLE_MACBOOK11
|
|
||||||
|
|
||||||
config MAINBOARD_PART_NUMBER
|
|
||||||
string
|
|
||||||
default "MacBook1,1"
|
|
||||||
|
|
||||||
endif
|
|
|
@ -1,2 +0,0 @@
|
||||||
config BOARD_APPLE_MACBOOK11
|
|
||||||
bool "Macbook1,1"
|
|
|
@ -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
|
|
|
@ -27,13 +27,11 @@ config MAINBOARD_DIR
|
||||||
string
|
string
|
||||||
default apple/macbook21
|
default apple/macbook21
|
||||||
|
|
||||||
if BOARD_APPLE_MACBOOK21
|
|
||||||
|
|
||||||
config MAINBOARD_PART_NUMBER
|
config MAINBOARD_PART_NUMBER
|
||||||
string
|
string
|
||||||
default "MacBook2,1"
|
default "Macbook1,1" if BOARD_APPLE_MACBOOK11
|
||||||
|
default "MacBook2,1" if BOARD_APPLE_MACBOOK21
|
||||||
endif
|
default "iMac5,2" if BOARD_APPLE_IMAC52
|
||||||
|
|
||||||
config MMCONF_BASE_ADDRESS
|
config MMCONF_BASE_ADDRESS
|
||||||
hex
|
hex
|
||||||
|
|
|
@ -1,2 +1,8 @@
|
||||||
config BOARD_APPLE_MACBOOK21
|
config BOARD_APPLE_MACBOOK21
|
||||||
bool "Macbook2,1"
|
bool "Macbook2,1"
|
||||||
|
|
||||||
|
config BOARD_APPLE_MACBOOK11
|
||||||
|
bool "Macbook1,1"
|
||||||
|
|
||||||
|
config BOARD_APPLE_IMAC52
|
||||||
|
bool "iMac5,2"
|
||||||
|
|
Loading…
Reference in New Issue