George Hung | 9f17c41 | 2020-05-07 15:41:27 +0800 | [diff] [blame] | 1 | KMACHINE = "nuvoton" |
| 2 | KERNEL_DEVICETREE = "${KMACHINE}-npcm730-gbs.dtb" |
| 3 | |
George Hung | 5ccf3f2 | 2020-05-21 18:59:15 +0800 | [diff] [blame] | 4 | UBOOT_MACHINE = "PolegSVB_spinor_minimal_config" |
| 5 | UBOOT_DEVICETREE = "nuvoton-npcm730-gbs" |
George Hung | 9f17c41 | 2020-05-07 15:41:27 +0800 | [diff] [blame] | 6 | IGPS_MACHINE = "GBS" |
| 7 | |
George Hung | 9f17c41 | 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 | 04fa7fa | 2021-05-18 20:44:34 +0800 | [diff] [blame^] | 13 | SERIAL_CONSOLES = "115200;ttyS0" |
George Hung | e0dab98 | 2021-03-09 13:39:42 +0800 | [diff] [blame] | 14 | GBMC_NCSI_IF_NAME = "eth0" |
Brandon Kim | 3f2570e | 2021-03-24 16:58:02 -0700 | [diff] [blame] | 15 | GBMC_KCS_DEV = "ipmi-kcs1" |
George Hung | e0dab98 | 2021-03-09 13:39:42 +0800 | [diff] [blame] | 16 | |
George Hung | 5ccf3f2 | 2020-05-21 18:59:15 +0800 | [diff] [blame] | 17 | # Overwrite flash offsets |
George Hung | cb9a278 | 2021-04-28 10:47:52 +0800 | [diff] [blame] | 18 | FLASH_ROFS_OFFSET = "7168" |
| 19 | FLASH_RWFS_OFFSET = "62400" |
George Hung | 5ccf3f2 | 2020-05-21 18:59:15 +0800 | [diff] [blame] | 20 | FLASH_SIZE = "65536" |
George Hung | 9f17c41 | 2020-05-07 15:41:27 +0800 | [diff] [blame] | 21 | |
| 22 | OBMC_MACHINE_FEATURES += "\ |
| 23 | obmc-phosphor-fan-mgmt \ |
| 24 | obmc-phosphor-chassis-mgmt \ |
| 25 | obmc-phosphor-flash-mgmt \ |
| 26 | obmc-host-ipmi \ |
| 27 | obmc-host-state-mgmt \ |
| 28 | obmc-chassis-state-mgmt \ |
| 29 | obmc-bmc-state-mgmt \ |
| 30 | " |
| 31 | |
| 32 | VIRTUAL-RUNTIME_obmc-host-state-manager = "x86-power-control" |
| 33 | VIRTUAL-RUNTIME_obmc-chassis-state-manager = "x86-power-control" |
| 34 | VIRTUAL-RUNTIME_obmc-discover-system-state = "x86-power-control" |
| 35 | |
| 36 | PREFERRED_PROVIDER_virtual/obmc-chassis-mgmt = "packagegroup-gbs-apps" |
| 37 | PREFERRED_PROVIDER_virtual/obmc-fan-mgmt = "packagegroup-gbs-apps" |
| 38 | PREFERRED_PROVIDER_virtual/obmc-flash-mgmt = "packagegroup-gbs-apps" |
Brandon Kim | 3f2570e | 2021-03-24 16:58:02 -0700 | [diff] [blame] | 39 | PREFERRED_PROVIDER_virtual/obmc-host-ipmi-hw = "gbmc-kcs-config" |
George Hung | 9f17c41 | 2020-05-07 15:41:27 +0800 | [diff] [blame] | 40 | PREFERRED_PROVIDER_virtual/phosphor-led-manager-config-native = "gbs-led-manager-config-native" |
| 41 | |
| 42 | # Remove unneeded binaries from image |
| 43 | IMAGE_FEATURES_remove = "obmc-fan-control" |
| 44 | IMAGE_FEATURES_remove = "obmc-software" |
| 45 | IMAGE_FEATURES_remove = "obmc-debug-collector" |
| 46 | IMAGE_FEATURES_remove = "obmc-net-ipmi" |