Damien Zammit | 3605dac | 2022-03-15 19:29:23 +1100 | [diff] [blame] | 1 | config BOARD_HP_Z220_SERIES_COMMON |
| 2 | def_bool n |
Patrick Rudolph | 05284b6 | 2019-06-04 15:56:44 +0200 | [diff] [blame] | 3 | select BOARD_ROMSIZE_KB_16384 |
| 4 | select HAVE_ACPI_RESUME |
| 5 | select HAVE_ACPI_TABLES |
| 6 | select INTEL_INT15 |
| 7 | select NORTHBRIDGE_INTEL_SANDYBRIDGE |
| 8 | select SERIRQ_CONTINUOUS_MODE |
| 9 | select SOUTHBRIDGE_INTEL_BD82X6X |
| 10 | select USE_NATIVE_RAMINIT |
Jes B. Klinke | c6b041a1 | 2022-04-19 14:00:33 -0700 | [diff] [blame] | 11 | select MEMORY_MAPPED_TPM |
Patrick Rudolph | 05284b6 | 2019-06-04 15:56:44 +0200 | [diff] [blame] | 12 | select MAINBOARD_HAS_TPM1 |
| 13 | select HAVE_OPTION_TABLE |
| 14 | select HAVE_CMOS_DEFAULT |
| 15 | select SUPERIO_NUVOTON_NPCD378 |
| 16 | select MAINBOARD_HAS_LIBGFXINIT |
| 17 | select INTEL_GMA_HAVE_VBT |
Patrick Rudolph | dc2d07c | 2020-03-18 09:08:11 +0100 | [diff] [blame] | 18 | select GFX_GMA_ANALOG_I2C_HDMI_B |
Ao Zhong | 2042685 | 2020-11-25 20:05:19 +0100 | [diff] [blame] | 19 | select MAINBOARD_USES_IFD_GBE_REGION |
Patrick Rudolph | 05284b6 | 2019-06-04 15:56:44 +0200 | [diff] [blame] | 20 | |
Damien Zammit | e0ff273 | 2022-03-15 19:37:50 +1100 | [diff] [blame] | 21 | config BOARD_HP_Z220_CMT_WORKSTATION |
| 22 | select BOARD_HP_Z220_SERIES_COMMON |
| 23 | |
Damien Zammit | 3605dac | 2022-03-15 19:29:23 +1100 | [diff] [blame] | 24 | config BOARD_HP_Z220_SFF_WORKSTATION |
| 25 | select BOARD_HP_Z220_SERIES_COMMON |
| 26 | |
| 27 | if BOARD_HP_Z220_SERIES_COMMON |
| 28 | |
Patrick Rudolph | 05284b6 | 2019-06-04 15:56:44 +0200 | [diff] [blame] | 29 | config VBOOT |
| 30 | select VBOOT_VBNV_CMOS |
| 31 | select VBOOT_NO_BOARD_SUPPORT |
| 32 | select GBB_FLAG_DISABLE_LID_SHUTDOWN |
| 33 | select GBB_FLAG_DISABLE_PD_SOFTWARE_SYNC |
| 34 | select GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC |
| 35 | select GBB_FLAG_DISABLE_FWMP |
| 36 | |
| 37 | config VBOOT_VBNV_OFFSET |
| 38 | hex |
| 39 | default 0x2a |
| 40 | |
Patrick Rudolph | e53f8c9 | 2020-02-22 10:24:09 +0100 | [diff] [blame] | 41 | config CBFS_SIZE |
| 42 | default 0x570000 |
| 43 | |
Patrick Rudolph | 05284b6 | 2019-06-04 15:56:44 +0200 | [diff] [blame] | 44 | config MAINBOARD_DIR |
Damien Zammit | 3605dac | 2022-03-15 19:29:23 +1100 | [diff] [blame] | 45 | default "hp/z220_series" |
| 46 | |
| 47 | config VARIANT_DIR |
Damien Zammit | e0ff273 | 2022-03-15 19:37:50 +1100 | [diff] [blame] | 48 | default "z220_cmt_workstation" if BOARD_HP_Z220_CMT_WORKSTATION |
Damien Zammit | 3605dac | 2022-03-15 19:29:23 +1100 | [diff] [blame] | 49 | default "z220_sff_workstation" if BOARD_HP_Z220_SFF_WORKSTATION |
Patrick Rudolph | 05284b6 | 2019-06-04 15:56:44 +0200 | [diff] [blame] | 50 | |
| 51 | config MAINBOARD_PART_NUMBER |
Damien Zammit | e0ff273 | 2022-03-15 19:37:50 +1100 | [diff] [blame] | 52 | default "HP Z220 CMT Workstation" if BOARD_HP_Z220_CMT_WORKSTATION |
Damien Zammit | 3605dac | 2022-03-15 19:29:23 +1100 | [diff] [blame] | 53 | default "HP Z220 SFF Workstation" if BOARD_HP_Z220_SFF_WORKSTATION |
| 54 | |
| 55 | config OVERRIDE_DEVICETREE |
| 56 | default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" |
| 57 | |
| 58 | config INTEL_GMA_VBT_FILE |
| 59 | default "src/mainboard/\$(MAINBOARDDIR)/data.vbt" |
Patrick Rudolph | 05284b6 | 2019-06-04 15:56:44 +0200 | [diff] [blame] | 60 | |
Patrick Rudolph | 05284b6 | 2019-06-04 15:56:44 +0200 | [diff] [blame] | 61 | config DRAM_RESET_GATE_GPIO |
| 62 | int |
| 63 | default 60 |
| 64 | |
Patrick Rudolph | 05284b6 | 2019-06-04 15:56:44 +0200 | [diff] [blame] | 65 | config USBDEBUG_HCD_INDEX |
| 66 | int |
| 67 | default 2 |
| 68 | endif |