From f0bb5db8b765a6578a8827bc59c952a05f0aa40e Mon Sep 17 00:00:00 2001 From: Jason Ling Date: Tue, 26 Apr 2022 10:53:30 -0700 Subject: meta-google: hoth: add support for NPCM8XX Make Hoth offsets apply identically across all architectures Signed-off-by: Jason Ling Change-Id: I0ac76cadc906c0a79eec3f143643b3f256710aa5 --- meta-google/classes/image_types_hoth.bbclass | 11 +++-------- 1 file 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() { -- cgit v1.2.3