forked from Mirrors/opensbi
platform: generic/andes: Enable generic platform support for AE350
We move andes directory to platform/generic as the necessary fdt drivers are available, the users can enable the console, timer, ipi, irqchip and reset devices by adding device tree nodes stated in the docs/platform/andes-ae350.md. Signed-off-by: Yu Chien Peter Lin <peterlin@andestech.com> Reviewed-by: Bin Meng <bmeng@tinylab.org> Reviewed-by: Anup Patel <anup@brainfault.org>
This commit is contained in:

committed by
Anup Patel

parent
cfbabb9ec6
commit
a36d455182
21
platform/generic/andes/ae350.c
Normal file
21
platform/generic/andes/ae350.c
Normal file
@@ -0,0 +1,21 @@
|
||||
/*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*
|
||||
* Copyright (c) 2022 Andes Technology Corporation
|
||||
*
|
||||
* Authors:
|
||||
* Yu Chien Peter Lin <peterlin@andestech.com>
|
||||
*/
|
||||
|
||||
#include <platform_override.h>
|
||||
#include <sbi_utils/fdt/fdt_helper.h>
|
||||
#include <sbi_utils/fdt/fdt_fixup.h>
|
||||
|
||||
static const struct fdt_match andes_ae350_match[] = {
|
||||
{ .compatible = "andestech,ae350" },
|
||||
{ },
|
||||
};
|
||||
|
||||
const struct platform_override andes_ae350 = {
|
||||
.match_table = andes_ae350_match,
|
||||
};
|
Reference in New Issue
Block a user