diff options
author | Joseph Liu <kwliu@nuvoton.com> | 2019-09-16 09:40:47 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2019-09-19 02:18:10 +0300 |
commit | 1f0aabf8d2277c8b3dd00f2754f3b3145e08f8a5 (patch) | |
tree | 34a8650d0ed531adfbf14a2e2d037370ee04764d /meta-quanta/meta-runbmc-nuvoton | |
parent | a42616583e66f6b26d6e60566f1920f0fe735b99 (diff) | |
download | openbmc-1f0aabf8d2277c8b3dd00f2754f3b3145e08f8a5.tar.xz |
meta-quanta: runbmc-nuvoton: Update machine config
Update runbmc-nuvoton machine config:
1) Add flash layout
2) Add machine features
3) Modify u-boot defconfig name with correct platform name
4) Rename npcm750-runbmc.dtb to npcm750-runbmc-olympus.dtb
(From meta-quanta rev: bf7821d16c6a8c94ec83bc0d2dfaf84ab0a4ac79)
Change-Id: I338602edb98eaa3bb228640845d7782372b9ab90
Signed-off-by: Joseph Liu <kwliu@nuvoton.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-quanta/meta-runbmc-nuvoton')
-rw-r--r-- | meta-quanta/meta-runbmc-nuvoton/conf/machine/runbmc-nuvoton.conf | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/meta-quanta/meta-runbmc-nuvoton/conf/machine/runbmc-nuvoton.conf b/meta-quanta/meta-runbmc-nuvoton/conf/machine/runbmc-nuvoton.conf index 4653ce568..c8e8257ca 100644 --- a/meta-quanta/meta-runbmc-nuvoton/conf/machine/runbmc-nuvoton.conf +++ b/meta-quanta/meta-runbmc-nuvoton/conf/machine/runbmc-nuvoton.conf @@ -1,11 +1,26 @@ KMACHINE = "nuvoton" -KERNEL_DEVICETREE = "${KMACHINE}-npcm750-runbmc.dtb" +KERNEL_DEVICETREE = "${KMACHINE}-npcm750-runbmc-olympus.dtb" -UBOOT_MACHINE = "PolegSVB_config" - -FLASH_SIZE = "32768" require conf/machine/include/npcm7xx.inc require conf/machine/include/obmc-bsp-common.inc +FLASH_SIZE = "32768" +FLASH_UBOOT_OFFSET = "0" +FLASH_KERNEL_OFFSET = "2048" +FLASH_ROFS_OFFSET = "8192" +FLASH_RWFS_OFFSET = "29696" + +UBOOT_MACHINE = "PolegRunBMC_defconfig" + IMAGE_FSTYPES += " cpio.${INITRAMFS_CTYPE}.u-boot" IMAGE_FSTYPES += " mtd-ubi-tar" + +OBMC_MACHINE_FEATURES += "\ + obmc-phosphor-fan-mgmt \ + obmc-phosphor-chassis-mgmt \ + obmc-phosphor-flash-mgmt \ + obmc-host-ipmi \ + obmc-host-state-mgmt \ + obmc-chassis-state-mgmt \ + obmc-bmc-state-mgmt \ + " |