driver: ddr: fsl_mmdc: Pass board parameters through data structure
authorYork Sun <york.sun@nxp.com>
Mon, 26 Sep 2016 15:09:25 +0000 (08:09 -0700)
committerYork Sun <york.sun@nxp.com>
Mon, 26 Sep 2016 15:53:07 +0000 (08:53 -0700)
commit1fdcc8dfc7612acc765cd483051dcfaac399f4f1
tree282484829ff5a8c8c79cab37da823e7fde9b7e63
parentda28e58a7fc169625334b1e40f72067b481b352a
driver: ddr: fsl_mmdc: Pass board parameters through data structure

Instead of using multiple macros, a data structure is used to pass
board-specific parameters to MMDC DDR driver.

Signed-off-by: York Sun <york.sun@nxp.com>
CC: Shengzhou Liu <Shengzhou.Liu@nxp.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
board/freescale/ls1012afrdm/ls1012afrdm.c
board/freescale/ls1012aqds/ls1012aqds.c
board/freescale/ls1012ardb/ls1012ardb.c
drivers/ddr/fsl/fsl_mmdc.c
include/configs/ls1012afrdm.h
include/configs/ls1012aqds.h
include/configs/ls1012ardb.h
include/fsl_mmdc.h