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

cancel
Showing results for 
Search instead for 
Did you mean: 

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

40 Views
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

5 Views
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

5 Views
Contributor I

Thanks for the reply jamesbone.

0 Kudos