[U-Boot-Users] [PATCH] Fix MPC8544DS PCIe3 scsi.

Kumar Gala galak at kernel.crashing.org
Wed Aug 29 21:53:49 CEST 2007


On Aug 28, 2007, at 7:07 PM, Wolfgang Denk wrote:

> In message <Pine.LNX. 
> 4.64.0708200942240.25897 at blarg.am.freescale.net> you wrote:
>> On Mon, 20 Aug 2007, Kumar Gala wrote:
>>> I don't understand why this is needed.  It seems like something more
>>> fundamental in the u-boot allocator if it can't handle all the
>>> devices in 1M of memory space.  No devices memory space requirement
>>> is greater than 4k and there are only 5 or 6 of them.
>>>
>>
>> This 'hack' seems to workaround the issue in slightly better way.   
>> Not
>> sure if we can do anything better.
>>
>> The problem is pciauto_setup_device() getting called from  
>> fsl_pci_init.c
>> is allocating memory space it doesn't need.
>>
>> - k
>>
>> diff --git a/drivers/fsl_pci_init.c b/drivers/fsl_pci_init.c
>> index 1084dc6..193343b 100644
>> --- a/drivers/fsl_pci_init.c
>> +++ b/drivers/fsl_pci_init.c
> ...
>
> What's the state of this? Will it go into the MPC85xx custodian tree?

This was a hack, Ed's version "fsl_pci_init - Remove self PCSRBAR  
allocation" is cleaner and show replace this version that happened to  
go in via the MPC85xx custodian tree.

- k




More information about the U-Boot mailing list