diff options
author | Yu Chien Peter Lin <peterlin@andestech.com> | 2022-10-14 03:32:44 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2022-10-23 07:55:13 +0300 |
commit | 9899b59beb840a377fdb62b758506fc5ffbc6b44 (patch) | |
tree | 0f6f2d2c2ec9d7de9b1cc3ae75e6c32a10e69a06 /platform/andes/ae350/Kconfig | |
parent | bd7ef4139829da5c30fa980f7498d385124408fa (diff) | |
download | opensbi-9899b59beb840a377fdb62b758506fc5ffbc6b44.tar.xz |
platform: andes/ae350: Use kconfig to set platform version and default name
This patch makes andes platform name and version can be set in
menuconfig interface.
Signed-off-by: Yu Chien Peter Lin <peterlin@andestech.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'platform/andes/ae350/Kconfig')
-rw-r--r-- | platform/andes/ae350/Kconfig | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/platform/andes/ae350/Kconfig b/platform/andes/ae350/Kconfig index d57f19f..3abad04 100644 --- a/platform/andes/ae350/Kconfig +++ b/platform/andes/ae350/Kconfig @@ -6,3 +6,21 @@ config PLATFORM_ANDES_AE350 select IRQCHIP_PLIC select SERIAL_UART8250 default y + +if PLATFORM_ANDES_AE350 + +config PLATFORM_ANDES_AE350_NAME + string "Platform default name" + default "Andes AE350" + +config PLATFORM_ANDES_AE350_MAJOR_VER + int "Platform major version" + range 0 65535 + default 0 + +config PLATFORM_ANDES_AE350_MINOR_VER + int "Platform minor version" + range 0 65535 + default 1 + +endif |