From 75e1bca164b17e90eb5f886f80cbf5e5d62341f3 Mon Sep 17 00:00:00 2001 From: Michael Shen Date: Tue, 19 Oct 2021 17:35:57 +0800 Subject: meta-google: Add `hoth` support for Aspeed Aspeed `hoth` used the same layout as Nuvoton. No need to change it. Signed-off-by: Michael Shen Change-Id: I21dd347164d19487c76db26d1cc9426559b2094f --- meta-google/classes/image_types_hoth.bbclass | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'meta-google') diff --git a/meta-google/classes/image_types_hoth.bbclass b/meta-google/classes/image_types_hoth.bbclass index 0db4183a1..78d339142 100644 --- a/meta-google/classes/image_types_hoth.bbclass +++ b/meta-google/classes/image_types_hoth.bbclass @@ -1,8 +1,13 @@ # 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}" unset FLASH_UBOOT_ENV_OFFSET python do_generate_static:append() { -- cgit v1.2.3