2016-05-10 22:09:44 +02:00
|
|
|
|
2016-09-01 23:11:52 +02:00
|
|
|
config BOARD_GOOGLE_BASEBOARD_REEF
|
|
|
|
def_bool n
|
2016-05-10 22:09:44 +02:00
|
|
|
select SOC_INTEL_APOLLOLAKE
|
2016-06-15 02:28:51 +02:00
|
|
|
select BOARD_ROMSIZE_KB_16384
|
2016-05-10 22:09:44 +02:00
|
|
|
select EC_GOOGLE_CHROMEEC
|
|
|
|
select EC_GOOGLE_CHROMEEC_LPC
|
|
|
|
select HAVE_ACPI_RESUME
|
|
|
|
select HAVE_ACPI_TABLES
|
google/reef: Enable I2C TPM
Enable the I2C based TPM on the reef board at
bus 2 and address 0x50.
This makes vboot functional without needing MOCK_TPM and
results in the following in the SSDT:
Device (TPMI)
{
Name (_HID, "GOOG0005") // _HID: Hardware ID
Name (_UID, Zero) // _UID: Unique ID
Name (_DDN, "I2C TPM") // _DDN: DOS Device Name
Method (_STA, 0, NotSerialized) // _STA: Status
{
Return (0x0F)
}
Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
{
I2cSerialBus (0x0050, ControllerInitiated, 0x00061A80,
AddressingMode7Bit, "\\_SB.PCI0.I2C2",
0x00, ResourceConsumer)
Interrupt (ResourceConsumer, Edge, ActiveLow, Exclusive)
{
0x00000039
}
})
}
Change-Id: Ia9775caabeac3e6a3bd72de38f9611b4cea7cea4
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: https://review.coreboot.org/16398
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2016-09-02 01:00:05 +02:00
|
|
|
select I2C_TPM
|
2016-05-10 22:09:44 +02:00
|
|
|
select MAINBOARD_HAS_CHROMEOS
|
google/reef: Enable I2C TPM
Enable the I2C based TPM on the reef board at
bus 2 and address 0x50.
This makes vboot functional without needing MOCK_TPM and
results in the following in the SSDT:
Device (TPMI)
{
Name (_HID, "GOOG0005") // _HID: Hardware ID
Name (_UID, Zero) // _UID: Unique ID
Name (_DDN, "I2C TPM") // _DDN: DOS Device Name
Method (_STA, 0, NotSerialized) // _STA: Status
{
Return (0x0F)
}
Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
{
I2cSerialBus (0x0050, ControllerInitiated, 0x00061A80,
AddressingMode7Bit, "\\_SB.PCI0.I2C2",
0x00, ResourceConsumer)
Interrupt (ResourceConsumer, Edge, ActiveLow, Exclusive)
{
0x00000039
}
})
}
Change-Id: Ia9775caabeac3e6a3bd72de38f9611b4cea7cea4
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: https://review.coreboot.org/16398
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2016-09-02 01:00:05 +02:00
|
|
|
select MAINBOARD_HAS_TPM2
|
2016-09-20 02:24:55 +02:00
|
|
|
select MAINBOARD_HAS_I2C_TPM_CR50
|
google/reef: Enable I2C TPM
Enable the I2C based TPM on the reef board at
bus 2 and address 0x50.
This makes vboot functional without needing MOCK_TPM and
results in the following in the SSDT:
Device (TPMI)
{
Name (_HID, "GOOG0005") // _HID: Hardware ID
Name (_UID, Zero) // _UID: Unique ID
Name (_DDN, "I2C TPM") // _DDN: DOS Device Name
Method (_STA, 0, NotSerialized) // _STA: Status
{
Return (0x0F)
}
Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
{
I2cSerialBus (0x0050, ControllerInitiated, 0x00061A80,
AddressingMode7Bit, "\\_SB.PCI0.I2C2",
0x00, ResourceConsumer)
Interrupt (ResourceConsumer, Edge, ActiveLow, Exclusive)
{
0x00000039
}
})
}
Change-Id: Ia9775caabeac3e6a3bd72de38f9611b4cea7cea4
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: https://review.coreboot.org/16398
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2016-09-02 01:00:05 +02:00
|
|
|
select TPM2
|
2016-09-01 23:11:52 +02:00
|
|
|
|
|
|
|
if BOARD_GOOGLE_BASEBOARD_REEF
|
|
|
|
|
|
|
|
config BASEBOARD_REEF_LAPTOP
|
|
|
|
def_bool n
|
2016-05-10 22:09:44 +02:00
|
|
|
select SYSTEM_TYPE_LAPTOP
|
|
|
|
|
google/reef: Enable I2C TPM
Enable the I2C based TPM on the reef board at
bus 2 and address 0x50.
This makes vboot functional without needing MOCK_TPM and
results in the following in the SSDT:
Device (TPMI)
{
Name (_HID, "GOOG0005") // _HID: Hardware ID
Name (_UID, Zero) // _UID: Unique ID
Name (_DDN, "I2C TPM") // _DDN: DOS Device Name
Method (_STA, 0, NotSerialized) // _STA: Status
{
Return (0x0F)
}
Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
{
I2cSerialBus (0x0050, ControllerInitiated, 0x00061A80,
AddressingMode7Bit, "\\_SB.PCI0.I2C2",
0x00, ResourceConsumer)
Interrupt (ResourceConsumer, Edge, ActiveLow, Exclusive)
{
0x00000039
}
})
}
Change-Id: Ia9775caabeac3e6a3bd72de38f9611b4cea7cea4
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: https://review.coreboot.org/16398
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2016-09-02 01:00:05 +02:00
|
|
|
config DRIVER_TPM_I2C_BUS
|
2016-09-29 23:10:37 +02:00
|
|
|
hex
|
|
|
|
default 0x2
|
google/reef: Enable I2C TPM
Enable the I2C based TPM on the reef board at
bus 2 and address 0x50.
This makes vboot functional without needing MOCK_TPM and
results in the following in the SSDT:
Device (TPMI)
{
Name (_HID, "GOOG0005") // _HID: Hardware ID
Name (_UID, Zero) // _UID: Unique ID
Name (_DDN, "I2C TPM") // _DDN: DOS Device Name
Method (_STA, 0, NotSerialized) // _STA: Status
{
Return (0x0F)
}
Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
{
I2cSerialBus (0x0050, ControllerInitiated, 0x00061A80,
AddressingMode7Bit, "\\_SB.PCI0.I2C2",
0x00, ResourceConsumer)
Interrupt (ResourceConsumer, Edge, ActiveLow, Exclusive)
{
0x00000039
}
})
}
Change-Id: Ia9775caabeac3e6a3bd72de38f9611b4cea7cea4
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: https://review.coreboot.org/16398
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2016-09-02 01:00:05 +02:00
|
|
|
|
|
|
|
config DRIVER_TPM_I2C_ADDR
|
2016-09-29 23:10:37 +02:00
|
|
|
hex
|
|
|
|
default 0x50
|
google/reef: Enable I2C TPM
Enable the I2C based TPM on the reef board at
bus 2 and address 0x50.
This makes vboot functional without needing MOCK_TPM and
results in the following in the SSDT:
Device (TPMI)
{
Name (_HID, "GOOG0005") // _HID: Hardware ID
Name (_UID, Zero) // _UID: Unique ID
Name (_DDN, "I2C TPM") // _DDN: DOS Device Name
Method (_STA, 0, NotSerialized) // _STA: Status
{
Return (0x0F)
}
Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
{
I2cSerialBus (0x0050, ControllerInitiated, 0x00061A80,
AddressingMode7Bit, "\\_SB.PCI0.I2C2",
0x00, ResourceConsumer)
Interrupt (ResourceConsumer, Edge, ActiveLow, Exclusive)
{
0x00000039
}
})
}
Change-Id: Ia9775caabeac3e6a3bd72de38f9611b4cea7cea4
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: https://review.coreboot.org/16398
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2016-09-02 01:00:05 +02:00
|
|
|
|
2016-09-20 02:24:55 +02:00
|
|
|
config DRIVER_TPM_I2C_IRQ
|
2016-09-29 23:10:37 +02:00
|
|
|
int
|
|
|
|
default 60 # GPE0_DW1_28
|
2016-09-20 02:24:55 +02:00
|
|
|
|
2016-05-10 22:09:44 +02:00
|
|
|
config CHROMEOS
|
2016-09-01 23:11:52 +02:00
|
|
|
select LID_SWITCH if BASEBOARD_REEF_LAPTOP
|
2016-05-10 22:09:44 +02:00
|
|
|
|
2016-07-03 05:05:43 +02:00
|
|
|
config DRIVERS_I2C_DA7219
|
|
|
|
default y
|
|
|
|
|
2016-06-27 20:05:16 +02:00
|
|
|
config DRIVERS_I2C_GENERIC
|
|
|
|
default y
|
|
|
|
|
2016-10-22 01:45:59 +02:00
|
|
|
config DRIVERS_I2C_WACOM_TS
|
|
|
|
default y
|
|
|
|
|
2016-07-22 10:36:31 +02:00
|
|
|
config DRIVERS_PS2_KEYBOARD
|
|
|
|
default y
|
|
|
|
|
2016-05-10 22:09:44 +02:00
|
|
|
config MAINBOARD_DIR
|
|
|
|
string
|
|
|
|
default google/reef
|
|
|
|
|
2016-09-02 22:58:16 +02:00
|
|
|
config VARIANT_DIR
|
|
|
|
string
|
|
|
|
default "reef" if BOARD_GOOGLE_REEF
|
2016-10-03 11:15:15 +02:00
|
|
|
default "pyro" if BOARD_GOOGLE_PYRO
|
2016-10-17 12:30:54 +02:00
|
|
|
default "snappy" if BOARD_GOOGLE_SNAPPY
|
2016-09-02 22:58:16 +02:00
|
|
|
|
2016-09-06 22:58:00 +02:00
|
|
|
config DEVICETREE
|
|
|
|
string
|
2016-10-03 11:15:15 +02:00
|
|
|
default "variants/pyro/devicetree.cb" if BOARD_GOOGLE_PYRO
|
2016-10-17 12:30:54 +02:00
|
|
|
default "variants/snappy/devicetree.cb" if BOARD_GOOGLE_SNAPPY
|
2016-09-06 22:58:00 +02:00
|
|
|
default "variants/baseboard/devicetree.cb"
|
|
|
|
|
2016-05-10 22:09:44 +02:00
|
|
|
config MAINBOARD_PART_NUMBER
|
|
|
|
string
|
2016-09-01 23:11:52 +02:00
|
|
|
default "Reef" if BOARD_GOOGLE_REEF
|
2016-10-03 11:15:15 +02:00
|
|
|
default "Pyro" if BOARD_GOOGLE_PYRO
|
2016-10-17 12:30:54 +02:00
|
|
|
default "Snappy" if BOARD_GOOGLE_SNAPPY
|
2016-05-10 22:09:44 +02:00
|
|
|
|
|
|
|
config MAINBOARD_FAMILY
|
|
|
|
string
|
2016-09-29 16:54:46 +02:00
|
|
|
default "Google_Reef"
|
2016-05-10 22:09:44 +02:00
|
|
|
|
2016-08-18 11:22:28 +02:00
|
|
|
config GBB_HWID
|
|
|
|
string
|
|
|
|
depends on CHROMEOS
|
2016-09-01 23:11:52 +02:00
|
|
|
default "REEF TEST 3240" if BOARD_GOOGLE_REEF
|
2016-10-03 11:15:15 +02:00
|
|
|
default "PYRO TEST 0290" if BOARD_GOOGLE_PYRO
|
2016-10-17 12:30:54 +02:00
|
|
|
default "SNAPPY TEST 1088" if BOARD_GOOGLE_SNAPPY
|
2016-08-18 11:22:28 +02:00
|
|
|
|
2016-05-10 22:09:44 +02:00
|
|
|
config MAX_CPUS
|
|
|
|
int
|
|
|
|
default 8
|
|
|
|
|
2016-06-01 08:38:26 +02:00
|
|
|
config UART_FOR_CONSOLE
|
|
|
|
int
|
|
|
|
default 2
|
|
|
|
|
2016-06-27 03:25:34 +02:00
|
|
|
config INCLUDE_NHLT_BLOBS
|
|
|
|
bool "Include blobs for audio."
|
|
|
|
select NHLT_DMIC_2CH_16B
|
|
|
|
select NHLT_DA7219
|
|
|
|
select NHLT_MAX98357
|
|
|
|
|
2016-06-25 02:13:54 +02:00
|
|
|
config DRIVERS_GENERIC_MAX98357A
|
|
|
|
default y
|
|
|
|
|
2016-05-10 22:09:44 +02:00
|
|
|
endif # BOARD_GOOGLE_REEF
|