summaryrefslogtreecommitdiff
path: root/configs/sifive_fu540_defconfig
diff options
context:
space:
mode:
authorAnup Patel <Anup.Patel@wdc.com>2019-02-25 08:15:19 +0000
committerAndes <uboot@andestech.com>2019-02-27 09:12:33 +0800
commit3fda0262c33fc2b63be06588afe2802a8ab81eb8 (patch)
tree12525cead331fd5eb267aa0b8b4d3d601393ab41 /configs/sifive_fu540_defconfig
parent007056f495c9fc5c544f71762f874a19a9b004a3 (diff)
riscv: Add SiFive FU540 board support
This patch adds SiFive FU540 board support. For now, only SiFive serial, SiFive PRCI, and Cadance MACB drivers are only enabled. The SiFive FU540 defconfig by default builds U-Boot for S-Mode because U-Boot on SiFive FU540 will run in S-Mode as payload of BBL or OpenSBI. Signed-off-by: Atish Patra <atish.patra@wdc.com> Signed-off-by: Anup Patel <anup.patel@wdc.com> Reviewed-by: Alexander Graf <agraf@suse.de> Reviewed-by: Lukas Auer <lukas.auer@aisec.fraunhofer.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'configs/sifive_fu540_defconfig')
-rw-r--r--configs/sifive_fu540_defconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/configs/sifive_fu540_defconfig b/configs/sifive_fu540_defconfig
new file mode 100644
index 0000000000..2f8cca9de0
--- /dev/null
+++ b/configs/sifive_fu540_defconfig
@@ -0,0 +1,11 @@
+CONFIG_RISCV=y
+CONFIG_TARGET_SIFIVE_FU540=y
+CONFIG_RISCV_SMODE=y
+CONFIG_ARCH_RV64I=y
+CONFIG_DISTRO_DEFAULTS=y
+CONFIG_NR_DRAM_BANKS=1
+CONFIG_FIT=y
+CONFIG_DISPLAY_CPUINFO=y
+CONFIG_DISPLAY_BOARDINFO=y
+CONFIG_CMD_MII=y
+CONFIG_OF_PRIOR_STAGE=y