lkml.org 
[lkml]   [2011]   [Jul]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] ARM: Set proper TEXT_OFFSET for newer MSMs
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.



\
 
 \ /
  Last update: 2011-07-25 00:43    [W:0.060 / U:0.460 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site