From 87370fbba5dfcb6a545427f546f5c6a54127aa93 Mon Sep 17 00:00:00 2001 From: Arif Ali Date: Sun, 27 Mar 2011 21:24:52 +0100 Subject: [PATCH] Added my quick build environment changed make files and code, to dynaically change cache added the other files that I forgot --- lk/target/htcleo/init.c | 2 +- lk/target/htcleo/rules.mk | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) 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)