"Chemparathy, Cyril" <[email protected]> writes:

> Kevin,
>
>> On OMAP, we do this in the uncompress code.  See:
>> arch/arm/plat-omap/include/plat/uncompress.h, and in this commit[1] for 
>> details.
>> 
>> Rather than continuing to hack the current hack, I'd like to see
>> something similar on DaVinci.  This will also remove one more barrier
>> to multiple-SoC support.
>> 
>> Also, we don't necessarily have to use the UART1 scratchpad register.
>> All we need is some temporary, writable register that is available on
>> all supported SoCs.  Any suggestions?
>
> AFAICS, the UART1 scratchpad is being used as a temporary storage
> for communication between the decompressor and the debug-macros.  

Correct.

> If so, the only requirement on this should be that this "register"
> have the same address across all davinci derivatives.
>
> EDMA is the only module that meets this criterion, since it is
> consistently present @ 0x01c00000 across all socs (so far).

That seems like a reasonable option since we can assume that EDMA is
disabled during early uncompress/boot.

Maybe the channel src or dest regs?

Kevin


_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to