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>
This commit is contained in:
Yu Chien Peter Lin
2022-10-14 08:32:44 +08:00
committed by Anup Patel
parent bd7ef41398
commit 9899b59beb
2 changed files with 22 additions and 2 deletions

View File

@@ -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