mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2025-08-24 15:31:22 +01:00
platform: andes: Enable Andes PMU for AE350
Enable Andes PMU extension support for AE350 platforms. Signed-off-by: Yu Chien Peter Lin <peterlin@andestech.com> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com> Reviewed-by: Atish Patra <atishp@rivosinc.com> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Tested-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Reviewed-by: Anup Patel <anup@brainfault.org>
This commit is contained in:

committed by
Anup Patel

parent
1b9e743c3d
commit
2e50c24399
@@ -32,6 +32,7 @@ config PLATFORM_ALLWINNER_D1
|
||||
config PLATFORM_ANDES_AE350
|
||||
bool "Andes AE350 support"
|
||||
select SYS_ATCSMU
|
||||
select ANDES_PMU
|
||||
default n
|
||||
|
||||
config PLATFORM_RENESAS_RZFIVE
|
||||
|
@@ -8,6 +8,7 @@
|
||||
*/
|
||||
|
||||
#include <platform_override.h>
|
||||
#include <andes/andes_pmu.h>
|
||||
#include <sbi_utils/fdt/fdt_helper.h>
|
||||
#include <sbi_utils/fdt/fdt_fixup.h>
|
||||
#include <sbi_utils/sys/atcsmu.h>
|
||||
@@ -118,4 +119,6 @@ static const struct fdt_match andes_ae350_match[] = {
|
||||
const struct platform_override andes_ae350 = {
|
||||
.match_table = andes_ae350_match,
|
||||
.final_init = ae350_final_init,
|
||||
.extensions_init = andes_pmu_extensions_init,
|
||||
.pmu_init = andes_pmu_init,
|
||||
};
|
||||
|
Reference in New Issue
Block a user