diff --git a/drivers/mtd/multi_partition/Makefile b/drivers/mtd/multi_partition/Makefile index 79000fdf..e3c6f639 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 958e4024..662f496e 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 22992753..a1e442fe 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