From f810b0a0d3fc550726fce37cac4310787c6b68b1 Mon Sep 17 00:00:00 2001 From: Rick Chen Date: Tue, 13 Nov 2018 16:15:20 +0800 Subject: [PATCH] configs: ax25-ae350: Separate ax25-ae350 for RV32/64I. Separate ax25-ae350 from one to two for 32 and 64 bit individually. And also select different dts for 32 and 64 bit. Signed-off-by: Rick Chen Cc: Greentime Hu --- configs/a25-ae350_32_defconfig | 36 +++++++++++++++++++ ...e350_defconfig => ax25-ae350_64_defconfig} | 2 +- 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 configs/a25-ae350_32_defconfig rename configs/{ax25-ae350_defconfig => ax25-ae350_64_defconfig} (95%) diff --git a/configs/a25-ae350_32_defconfig b/configs/a25-ae350_32_defconfig new file mode 100644 index 0000000000..5837b48903 --- /dev/null +++ b/configs/a25-ae350_32_defconfig @@ -0,0 +1,36 @@ +CONFIG_RISCV=y +CONFIG_SYS_TEXT_BASE=0x00000000 +CONFIG_TARGET_AX25_AE350=y +CONFIG_DISTRO_DEFAULTS=y +CONFIG_NR_DRAM_BANKS=2 +CONFIG_FIT=y +CONFIG_BOOTDELAY=3 +CONFIG_BOARD_EARLY_INIT_F=y +CONFIG_SYS_PROMPT="RISC-V # " +CONFIG_CMD_IMLS=y +CONFIG_CMD_MMC=y +CONFIG_CMD_SF=y +CONFIG_CMD_SF_TEST=y +# CONFIG_CMD_SETEXPR is not set +CONFIG_BOOTP_PREFER_SERVERIP=y +CONFIG_CMD_CACHE=y +CONFIG_OF_BOARD=y +CONFIG_DEFAULT_DEVICE_TREE="ae350_32" +CONFIG_ENV_IS_IN_SPI_FLASH=y +CONFIG_NET_RANDOM_ETHADDR=y +CONFIG_MMC=y +CONFIG_FTSDC010=y +CONFIG_FTSDC010_SDIO=y +CONFIG_MTD_NOR_FLASH=y +CONFIG_FLASH_CFI_DRIVER=y +CONFIG_CFI_FLASH=y +CONFIG_SYS_FLASH_USE_BUFFER_WRITE=y +CONFIG_SYS_FLASH_CFI=y +CONFIG_SPI_FLASH=y +CONFIG_SPI_FLASH_MACRONIX=y +CONFIG_FTMAC100=y +CONFIG_BAUDRATE=38400 +CONFIG_SYS_NS16550=y +CONFIG_SPI=y +CONFIG_ATCSPI200_SPI=y +CONFIG_ATCPIT100_TIMER=y diff --git a/configs/ax25-ae350_defconfig b/configs/ax25-ae350_64_defconfig similarity index 95% rename from configs/ax25-ae350_defconfig rename to configs/ax25-ae350_64_defconfig index cad82c4213..b250d3fc7e 100644 --- a/configs/ax25-ae350_defconfig +++ b/configs/ax25-ae350_64_defconfig @@ -16,7 +16,7 @@ CONFIG_CMD_SF_TEST=y CONFIG_BOOTP_PREFER_SERVERIP=y CONFIG_CMD_CACHE=y CONFIG_OF_BOARD=y -CONFIG_DEFAULT_DEVICE_TREE="ae350" +CONFIG_DEFAULT_DEVICE_TREE="ae350_64" CONFIG_ENV_IS_IN_SPI_FLASH=y CONFIG_NET_RANDOM_ETHADDR=y CONFIG_MMC=y -- 2.30.2