How to get a size of SRAM, DRAM, NOR FLASH in imx6 sabre sd

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to get a size of SRAM, DRAM, NOR FLASH in imx6 sabre sd

827 Views
puneeth989
Contributor I

Hi,

      I want to print size of SRAM, DRAM and NOR FLASH in imx6 sabre sd using c programming.

Please tell me how to do it.

Thank you.

Labels (1)
Tags (2)
0 Kudos
2 Replies

792 Views
jamesbone
NXP TechSupport
NXP TechSupport

Let me explain all the DDR config's location. In uboot, take v2009.08 for example, i.MX6Q SabreSD board, the DDR config is in board/freescale/mx6q_sabresd/flash_header.S, which will initi DDR controller and DDR chip, then the DDR size is defined in include/configs/mx6q_sabresd.h, PHYS_SDRAM_1.

So you can take a look into Uboot  board/freescale/mx6q_sabresd.c and review where is the print of the Size.

0 Kudos

792 Views
puneeth989
Contributor I

Thanks for the reply jamesbone.

0 Kudos