mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 07:34:31 +00:00
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>
This commit is contained in:
parent
74773a4f85
commit
d248627f9d
2 changed files with 4 additions and 0 deletions
|
@ -64,5 +64,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
|
|||
imply VIRTIO_PCI
|
||||
imply VIRTIO_NET
|
||||
imply VIRTIO_BLK
|
||||
imply MTD_NOR_FLASH
|
||||
imply CFI_FLASH
|
||||
|
||||
endif
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue