diff options
author | Jason Ling <jasonling@google.com> | 2022-04-26 20:53:30 +0300 |
---|---|---|
committer | Jason Ling <jasonling@google.com> | 2022-04-29 01:42:18 +0300 |
commit | f0bb5db8b765a6578a8827bc59c952a05f0aa40e (patch) | |
tree | 9bd10bdbcb55ed42f0101710cf27972f78baf370 /meta-google/classes | |
parent | b3d383a256f166380bfcff4f97310258a3188eae (diff) | |
download | openbmc-f0bb5db8b765a6578a8827bc59c952a05f0aa40e.tar.xz |
meta-google: hoth: add support for NPCM8XX
Make Hoth offsets apply identically across all architectures
Signed-off-by: Jason Ling <jasonling@google.com>
Change-Id: I0ac76cadc906c0a79eec3f143643b3f256710aa5
Diffstat (limited to 'meta-google/classes')
-rw-r--r-- | meta-google/classes/image_types_hoth.bbclass | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/meta-google/classes/image_types_hoth.bbclass b/meta-google/classes/image_types_hoth.bbclass index 78d3391426..838e2647e2 100644 --- a/meta-google/classes/image_types_hoth.bbclass +++ b/meta-google/classes/image_types_hoth.bbclass @@ -1,13 +1,8 @@ # The offsets of the partitions that change when Hoth is enabled # From the device tree, in kB -# Nuvoton NPCM7XX family -FLASH_IMAGE_DESC_OFFSET:npcm7xx:hoth = "${@960 if FLASH_SIZE == '65536' else 7232}" -FLASH_HOTH_UPDATE_OFFSET:npcm7xx:hoth = "${@1024 if FLASH_SIZE == '65536' else 31744}" -FLASH_HOTH_MAILBOX_OFFSET:npcm7xx:hoth = "${@65472 if FLASH_SIZE == '65536' else 7168}" -# Aspeed 26XX family -FLASH_IMAGE_DESC_OFFSET:aspeed-g6:hoth = "${@960 if FLASH_SIZE == '65536' else 7232}" -FLASH_HOTH_UPDATE_OFFSET:aspeed-g6:hoth = "${@1024 if FLASH_SIZE == '65536' else 31744}" -FLASH_HOTH_MAILBOX_OFFSET:aspeed-g6:hoth = "${@65472 if FLASH_SIZE == '65536' else 7168}" +FLASH_IMAGE_DESC_OFFSET:hoth = "${@960 if FLASH_SIZE == '65536' else 7232}" +FLASH_HOTH_UPDATE_OFFSET:hoth = "${@1024 if FLASH_SIZE == '65536' else 31744}" +FLASH_HOTH_MAILBOX_OFFSET:hoth = "${@65472 if FLASH_SIZE == '65536' else 7168}" unset FLASH_UBOOT_ENV_OFFSET python do_generate_static:append() { |