diff options
| author | Mayuresh Chitale <[email protected]> | 2025-04-04 14:48:55 +0000 |
|---|---|---|
| committer | Leo Yu-Chi Liang <[email protected]> | 2025-05-21 16:45:55 +0800 |
| commit | 14a4792a71db3561bea065415ac1f2ac69ef32b5 (patch) | |
| tree | 4c19790b4c7b91ec83f1839cd96caddc65e0f47f /include/image.h | |
| parent | a3e09b24ffd4429909604f1b28455b44306edbaa (diff) | |
riscv: image: Add new image type for RV64
Similar to ARM and X86, introduce a new image type which allows u-boot
to distinguish between images built for 32-bit vs 64-bit Risc-V CPUs.
Signed-off-by: Mayuresh Chitale <[email protected]>
Reviewed-by: Maxim Moskalets <[email protected]>
Diffstat (limited to 'include/image.h')
| -rw-r--r-- | include/image.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/image.h b/include/image.h index c1db8383459..4620782c069 100644 --- a/include/image.h +++ b/include/image.h @@ -138,7 +138,8 @@ enum { IH_ARCH_ARC, /* Synopsys DesignWare ARC */ IH_ARCH_X86_64, /* AMD x86_64, Intel and Via */ IH_ARCH_XTENSA, /* Xtensa */ - IH_ARCH_RISCV, /* RISC-V */ + IH_ARCH_RISCV, /* RISC-V 32 bit*/ + IH_ARCH_RISCV64, /* RISC-V 64 bit*/ IH_ARCH_COUNT, }; |
