diff options
author | Bin Meng | 2021-08-07 13:00:02 +0800 |
---|---|---|
committer | Stefan Roese | 2021-08-11 10:36:10 +0200 |
commit | d248627f9d4218688e7430bc714405a23885abfa (patch) | |
tree | f02fdc81d46d7a088da53526377c873ef1e48c57 /include/configs | |
parent | 74773a4f85221dceccbe92b0b3ae6daef75a141c (diff) |
riscv: qemu: Enable MTD NOR flash support
Enable support to the 2 NOR flashes on the QEMU RISC-V virt machine.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/qemu-riscv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/qemu-riscv.h b/include/configs/qemu-riscv.h index 5291de83f8d..bbeea96e271 100644 --- a/include/configs/qemu-riscv.h +++ b/include/configs/qemu-riscv.h @@ -29,6 +29,8 @@ #define CONFIG_STANDALONE_LOAD_ADDR 0x80200000 +#define CONFIG_SYS_MAX_FLASH_BANKS 2 + #define RISCV_MMODE_TIMERBASE 0x2000000 #define RISCV_MMODE_TIMER_FREQ 1000000 |