ARM Linux: Where the SDRAM address and size defined
Woody Wu
narkewoody at gmail.com
Mon Mar 7 06:27:37 EST 2016
Sent from my iPad
> On Mar 7, 2016, at 6:04 PM, fser at code-libre.org wrote:
>
>> On Mon, Mar 07, 2016 at 01:25:25PM +0800, Woody Wu wrote:
>> Hi,
>
> Hello,
>
>> In Samsung s3c24xx arch code, I cannot find where the SDRAM address and
>> size information was defined. Can someone give me a lead? Thanks.
>
> ARM boards, are now defined using Device Tree (DTS for source, DTB for binary, the compiled form).
> I couldn't find out for s3c24xx but, the block memory is defined as follow:
>
> memory {
> reg = <0x20000000 0x20000000>;
> };
>
What about boards that is not using DTD? For the DTD based boards like above I also wondering that how to define a board with two SDRAM bands, one is at 0x30000000 - 0x34000000 and another is at 0x38000000 - 0x3C000000, should I put two reg entries in the memory section of the above dtd?
> (source: arch/arm/boot/dts/sama5dxcm.dtsi)
>
>>
>> -woody
>
> --
> François
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
More information about the Kernelnewbies
mailing list