ARM Linux: Where the SDRAM address and size defined

Carlo Caione carlo at caione.org
Mon Mar 7 06:35:05 EST 2016


On Mon, Mar 7, 2016 at 11:04 AM,  <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>;
>         };
>

For the record. The memory node in the DTS is most of the time useless
/ there for documentation since the node is overwritten by the
bootloader who is in charge to initialized the DRAM.

-- 
Carlo Caione



More information about the Kernelnewbies mailing list