mx35-3stack 124MiByte RAM

Sascha Hauer sha at pengutronix.de
Fri Jan 27 07:38:32 EST 2012


On Fri, Jan 27, 2012 at 01:35:29PM +0100, Marc Kleine-Budde wrote:
> >  
> > -	register_device(&sdram_dev);
> > +	sdram_dev = add_mem_device("ram0", IMX_SDRAM_CS0, 124 * 1024 * 1024,
>                                                           ^^^
> 
> What happened to the upper 4 MiByte?

This was changed in a unrelated patch. Probably a type. This is fixed in
-next since:

commit fc3a2cdcabbbd57c5b1aa018368efd1905256dc1
Author: Roman Fietze <roman.fietze at telemotive.de>
Date:   Wed Apr 27 10:38:46 2011 +0200

    ARM i.MX freescale-mx35-3-stack: support 256 MiB RAM
    
    Extend DCD table and low level init routines. Add barebox SDRAM
    device. Also, fix the memory size for bank 0 to 128MB. It was
    accidently changed to 124MB here:
    
    commit f928efa818adfe56a08350569a9b0f3c2fb791d2
    Author: Sascha Hauer <s.hauer at pengutronix.de>
    Date:   Tue Jul 19 09:58:32 2011 +0200
    
        add a add_mem_device function
    
        Add a helper function for boards to register their memory
        devices. This makes the board code smaller and also helps
        getting rid of map_base and struct memory_platform_data.
    
        And switch all of the memory to it
    
    Signed-off-by: Roman Fietze <roman.fietze at telemotive.de>
    Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list