diff --git a/lk/target/htcleo/init.c b/lk/target/htcleo/init.c index 4c8f37c..892c614 100644 --- a/lk/target/htcleo/init.c +++ b/lk/target/htcleo/init.c @@ -40,7 +40,7 @@ static struct ptentry board_part_list[MAX_PTABLE_PARTS] __attribute__ ((aligned .length = SYSTEM_PARTITION_SIZE /* In MB */, }, { - .length = 44 /* In MB */, + .length = CACHE_PARTITION_SIZE /* In MB */, .name = "cache", }, { diff --git a/lk/target/htcleo/rules.mk b/lk/target/htcleo/rules.mk index 9c04170..114b029 100644 --- a/lk/target/htcleo/rules.mk +++ b/lk/target/htcleo/rules.mk @@ -5,8 +5,9 @@ INCLUDES += -I$(LOCAL_DIR)/include -I$(LK_TOP_DIR)/platform/msm_shared PLATFORM := qsd8k #define system partition size (in MB), if not defined my custom (from magldr) layout is used. see init.c -DEFINES += SYSTEM_PARTITION_SIZE=150 -#DEFINES += SYSTEM_PARTITION_SIZE=250 +DEFINES += SYSTEM_PARTITION_SIZE=400 +#DEFINES += SYSTEM_PARTITION_SIZE=400 +DEFINES += CACHE_PARTITION_SIZE=5 #cedesmith note: MEMBASE requires edit in platform/qsd8k/rules.mk # maximum partition size will be about 340mb ( MEMBASE-SCRATCH_ADDR)