diff --git a/drivers/mtd/multi_partition/Makefile b/drivers/mtd/multi_partition/Makefile index 79000fdf9a35da38689d330238de480d4b78715c..e3c6f639fe92d7c3ef788416d8432136aab89d22 100644 --- a/drivers/mtd/multi_partition/Makefile +++ b/drivers/mtd/multi_partition/Makefile @@ -39,7 +39,7 @@ LOCAL_INCLUDE := \ -I $(LITEOSTOPDIR)/../../device/hisilicon/drivers/include/mtd/common/include ifeq ($(LOSCFG_PLATFORM_QEMU_ARM_VIRT_CA7), y) -LOCAL_INCLUDE += -I $(LITEOSTOPDIR)/../../device/qemu/arm_virt/config/cfiflash +LOCAL_INCLUDE += -I $(LITEOSTOPDIR)/../../device/qemu/drivers/cfiflash endif LOCAL_FLAGS := $(LOCAL_INCLUDE) $(LITEOS_GCOV_OPTS) diff --git a/kernel/common/Makefile b/kernel/common/Makefile index 958e4024d1c20a91e6c70c10b01a37586070baef..662f496e864de1414c33195c82e50dbdf074e7c6 100644 --- a/kernel/common/Makefile +++ b/kernel/common/Makefile @@ -37,7 +37,7 @@ LOCAL_INCLUDE := \ -I $(LITEOSTOPDIR)/kernel/common \ ifeq ($(LOSCFG_PLATFORM_QEMU_ARM_VIRT_CA7), y) -LOCAL_INCLUDE += -I $(LITEOSTOPDIR)/../../device/qemu/arm_virt/config/cfiflash +LOCAL_INCLUDE += -I $(LITEOSTOPDIR)/../../device/qemu/drivers/cfiflash endif LOCAL_FLAGS := $(LOCAL_INCLUDE) $(LITEOS_GCOV_OPTS) diff --git a/kernel/common/los_rootfs.c b/kernel/common/los_rootfs.c index 229927533d067a465cb8bb7ce30088074546f0c2..a1e442fec8966055469071cfe9cb155ae59cc6fa 100644 --- a/kernel/common/los_rootfs.c +++ b/kernel/common/los_rootfs.c @@ -49,6 +49,7 @@ #include "cfiflash.h" #define DEV_STORAGE_PATH "/dev/cfiflash1" #define SECOND_MTD_PART_NUM 1 +#define STORAGE_SIZE 0x1400000 #endif #ifdef LOSCFG_STORAGE_SPINOR