George Hung | c679ff6 | 2020-05-07 15:41:27 +0800 | [diff] [blame] | 1 | KMACHINE = "nuvoton" |
| 2 | KERNEL_DEVICETREE = "${KMACHINE}-npcm730-gbs.dtb" |
| 3 | |
George Hung | 705d71a | 2020-05-21 18:59:15 +0800 | [diff] [blame] | 4 | UBOOT_MACHINE = "PolegSVB_spinor_minimal_config" |
| 5 | UBOOT_DEVICETREE = "nuvoton-npcm730-gbs" |
George Hung | c679ff6 | 2020-05-07 15:41:27 +0800 | [diff] [blame] | 6 | IGPS_MACHINE = "GBS" |
| 7 | |
George Hung | c679ff6 | 2020-05-07 15:41:27 +0800 | [diff] [blame] | 8 | MACHINEOVERRIDES .= ":npcm7xx" |
| 9 | |
| 10 | require conf/machine/include/npcm7xx.inc |
| 11 | require conf/machine/include/obmc-bsp-common.inc |
| 12 | |
George Hung | 705d71a | 2020-05-21 18:59:15 +0800 | [diff] [blame] | 13 | # Overwrite flash offsets |
| 14 | FLASH_ROFS_OFFSET = "7296" |
| 15 | FLASH_RWFS_OFFSET = "61440" |
| 16 | FLASH_SIZE = "65536" |
George Hung | c679ff6 | 2020-05-07 15:41:27 +0800 | [diff] [blame] | 17 | |
| 18 | OBMC_MACHINE_FEATURES += "\ |
| 19 | obmc-phosphor-fan-mgmt \ |
| 20 | obmc-phosphor-chassis-mgmt \ |
| 21 | obmc-phosphor-flash-mgmt \ |
| 22 | obmc-host-ipmi \ |
| 23 | obmc-host-state-mgmt \ |
| 24 | obmc-chassis-state-mgmt \ |
| 25 | obmc-bmc-state-mgmt \ |
| 26 | " |
| 27 | |
| 28 | VIRTUAL-RUNTIME_obmc-host-state-manager = "x86-power-control" |
| 29 | VIRTUAL-RUNTIME_obmc-chassis-state-manager = "x86-power-control" |
| 30 | VIRTUAL-RUNTIME_obmc-discover-system-state = "x86-power-control" |
| 31 | |
| 32 | PREFERRED_PROVIDER_virtual/obmc-chassis-mgmt = "packagegroup-gbs-apps" |
| 33 | PREFERRED_PROVIDER_virtual/obmc-fan-mgmt = "packagegroup-gbs-apps" |
| 34 | PREFERRED_PROVIDER_virtual/obmc-flash-mgmt = "packagegroup-gbs-apps" |
| 35 | PREFERRED_PROVIDER_virtual/obmc-host-ipmi-hw = "phosphor-ipmi-kcs" |
| 36 | PREFERRED_PROVIDER_virtual/phosphor-led-manager-config-native = "gbs-led-manager-config-native" |
| 37 | |
| 38 | # Remove unneeded binaries from image |
| 39 | IMAGE_FEATURES_remove = "obmc-fan-control" |
| 40 | IMAGE_FEATURES_remove = "obmc-software" |
| 41 | IMAGE_FEATURES_remove = "obmc-debug-collector" |
| 42 | IMAGE_FEATURES_remove = "obmc-net-ipmi" |