forked from Mirrors/opensbi
platform: andes/ae350: Add fw_platform_init for platform initialization
This patch adds fw_platform_init() to initialize ae350 platform.name and platform.hart_count by parsing device tree. 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:

committed by
Anup Patel

parent
127a3f2ab4
commit
6f3258e671
@@ -11,8 +11,6 @@
|
||||
#ifndef _AE350_PLATFORM_H_
|
||||
#define _AE350_PLATFORM_H_
|
||||
|
||||
#define AE350_HART_COUNT 4
|
||||
|
||||
#define AE350_PLICSW_ADDR 0xe6400000
|
||||
|
||||
#define AE350_L2C_ADDR 0xe0500000
|
||||
|
Reference in New Issue
Block a user