summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSong Gao2022-12-05 12:30:07 +0100
committerStefan Hajnoczi2022-12-05 17:24:35 +0100
commitedc93f455fa823a9a5fcb3a8da430104c7375a0a (patch)
treecd3fd221eb5afcacb1a3f8b00ddbbc33da7a6980 /include
parentMerge tag 'pull-request-2022-12-04' of https://gitlab.com/thuth/qemu into sta... (diff)
downloadqemu-master.tar.gz
qemu-master.tar.xz
qemu-master.zip
Revert "hw/loongarch/virt: Add cfi01 pflash device"HEADmaster
This reverts commit 14dccc8ea6ece7ee63273144fb55e4770a05e0fd. Signed-off-by: Song Gao <gaosong@loongson.cn> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Message-Id: <20221205113007.683505-1-gaosong@loongson.cn>
Diffstat (limited to 'include')
-rw-r--r--include/hw/loongarch/virt.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/hw/loongarch/virt.h b/include/hw/loongarch/virt.h
index f5f818894e..45c383f5a7 100644
--- a/include/hw/loongarch/virt.h
+++ b/include/hw/loongarch/virt.h
@@ -12,7 +12,6 @@
#include "hw/boards.h"
#include "qemu/queue.h"
#include "hw/intc/loongarch_ipi.h"
-#include "hw/block/flash.h"
#define LOONGARCH_MAX_VCPUS 4
@@ -21,9 +20,6 @@
#define VIRT_FWCFG_BASE 0x1e020000UL
#define VIRT_BIOS_BASE 0x1c000000UL
#define VIRT_BIOS_SIZE (4 * MiB)
-#define VIRT_FLASH_SECTOR_SIZE (128 * KiB)
-#define VIRT_FLASH_BASE 0x1d000000UL
-#define VIRT_FLASH_SIZE (16 * MiB)
#define VIRT_LOWMEM_BASE 0
#define VIRT_LOWMEM_SIZE 0x10000000
@@ -52,7 +48,6 @@ struct LoongArchMachineState {
int fdt_size;
DeviceState *platform_bus_dev;
PCIBus *pci_bus;
- PFlashCFI01 *flash;
};
#define TYPE_LOONGARCH_MACHINE MACHINE_TYPE_NAME("virt")