diff options
author | Michael Shen <gpgpgp@google.com> | 2021-10-19 12:35:57 +0300 |
---|---|---|
committer | gpgpgp <gpgpgp@google.com> | 2021-10-21 13:56:09 +0300 |
commit | 75e1bca164b17e90eb5f886f80cbf5e5d62341f3 (patch) | |
tree | 35e5482496ceb48bbf98695c9e3043d655b78693 /meta-google/classes | |
parent | de861d4238654f8aaf62ec3b232db2117e33dd55 (diff) | |
download | openbmc-75e1bca164b17e90eb5f886f80cbf5e5d62341f3.tar.xz |
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 <gpgpgp@google.com>
Change-Id: I21dd347164d19487c76db26d1cc9426559b2094f
Diffstat (limited to 'meta-google/classes')
-rw-r--r-- | meta-google/classes/image_types_hoth.bbclass | 5 |
1 files changed, 5 insertions, 0 deletions
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() { |