riscv: Update Microchip MPFS Icicle Kit support
authorPadmarao Begari <padmarao.begari@microchip.com>
Thu, 27 Oct 2022 06:02:02 +0000 (11:32 +0530)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Thu, 3 Nov 2022 05:27:56 +0000 (13:27 +0800)
This patch updates Microchip MPFS Icicle Kit support. For now,
add Microchip QSPI driver and a small 4MB reservation is
made at the end of 32-bit DDR to provide some memory for
the HSS to use.

Signed-off-by: Padmarao Begari <padmarao.begari@microchip.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Rick Chen <rick@andestech.com>
board/microchip/mpfs_icicle/Kconfig
configs/microchip_mpfs_icicle_defconfig

index e370913..7cd5a59 100644 (file)
@@ -50,5 +50,12 @@ config BOARD_SPECIFIC_OPTIONS # dummy
        imply CMD_I2C
        imply DM_I2C
        imply SYS_I2C_MICROCHIP
+       imply SPI
+       imply DM_SPI
+       imply MICROCHIP_COREQSPI
+       imply MTD_SPI_NAND
+       imply CMD_MTD
+       imply MTD_PARTITIONS
+       imply CMD_MTDPARTS
 
 endif
index 6113c5b..c295b9b 100644 (file)
@@ -17,6 +17,7 @@ CONFIG_DISPLAY_BOARDINFO=y
 CONFIG_SYS_CBSIZE=256
 CONFIG_SYS_PBSIZE=282
 CONFIG_SYS_BOOTM_LEN=0x4000000
+CONFIG_SYS_MEM_TOP_HIDE=0x400000
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_BOOTP_SEND_HOSTNAME=y
 CONFIG_DM_MTD=y