[PATCH] ARM: Set proper TEXT_OFFSET for newer MSMs

Stephen Boyd sboyd at codeaurora.org
Sun Jul 24 18:40:46 EDT 2011


On 07/24/2011 12:56 PM, Nicolas Pitre wrote:
> On Sun, 24 Jul 2011, Stephen Boyd wrote:
>> +static void __init msm7x30_fixup(struct machine_desc *desc, struct tag *tag,
>> +			 char **cmdline, struct meminfo *mi)
>> +{
>> +	for (; tag->hdr.size; tag = tag_next(tag))
>> +		if (tag->hdr.tag == ATAG_MEM && tag->u.mem.start == 0x200000)
>> +			tag->u.mem.start = 0;
>> +}
> Don't you need to also increase tag->u.mem.size  by 2MB ?

Thanks. I was fixated on the start address.

-- 
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.




More information about the linux-arm-kernel mailing list