macbook11: New mainboard (macbook21 clone)

Tested by marcus.

Change-Id: Ifce2018ef49619b36fb07e5345d70c358a0397e4
Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
Reviewed-on: http://review.coreboot.org/6698
Tested-by: build bot (Jenkins)
Reviewed-by: Francis Rowe <info@gluglug.org.uk>
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
This commit is contained in:
Vladimir Serbinenko 2014-08-18 00:38:18 +02:00
parent 6a3a8ce1a8
commit e71928ca07
4 changed files with 26 additions and 1 deletions

View File

@ -3,6 +3,11 @@ if VENDOR_APPLE
choice choice
prompt "Mainboard model" prompt "Mainboard model"
config BOARD_APPLE_MACBOOK11
bool "Macbook1,1"
help
Consult wiki for details.
config BOARD_APPLE_MACBOOK21 config BOARD_APPLE_MACBOOK21
bool "Macbook2,1" bool "Macbook2,1"
help help
@ -10,6 +15,7 @@ config BOARD_APPLE_MACBOOK21
endchoice endchoice
source "src/mainboard/apple/macbook11/Kconfig"
source "src/mainboard/apple/macbook21/Kconfig" source "src/mainboard/apple/macbook21/Kconfig"
config MAINBOARD_VENDOR config MAINBOARD_VENDOR

View File

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

View File

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

View File

@ -1,4 +1,4 @@
if BOARD_APPLE_MACBOOK21 if BOARD_APPLE_MACBOOK11 || BOARD_APPLE_MACBOOK21
config BOARD_SPECIFIC_OPTIONS # dummy config BOARD_SPECIFIC_OPTIONS # dummy
def_bool y def_bool y
@ -33,10 +33,14 @@ config DCACHE_RAM_SIZE
hex hex
default 0x8000 default 0x8000
if BOARD_APPLE_MACBOOK21
config MAINBOARD_PART_NUMBER config MAINBOARD_PART_NUMBER
string string
default "MacBook2,1" default "MacBook2,1"
endif
config MMCONF_BASE_ADDRESS config MMCONF_BASE_ADDRESS
hex hex
default 0xf0000000 default 0xf0000000