Currently, if MTD NOR is enabled then U-Boot tries to issue flash
commands even when CFI flash DT node is not present. This causes
access fault on RISC-V emulators or ISS which do not emulate CFI
flash. To handle this issue, we implement is_flash_available() for
qemu-riscv board which will return 1 only if CFI flash DT node is
present.
Fixes:
|
||
|---|---|---|
| .. | ||
| common | ||
| qemu-arm | ||
| qemu-ppce500 | ||
| qemu-riscv | ||
| qemu-x86 | ||
| Kconfig | ||