summaryrefslogtreecommitdiff
path: root/board/technologic
diff options
context:
space:
mode:
authorFabio Estevam <festevam@gmail.com>2019-07-18 15:04:22 -0300
committerStefano Babic <sbabic@denx.de>2019-10-14 09:31:33 +0200
commit89bc388a320a0a42c60582b02264a0d95c287c3b (patch)
tree018931d76cbdc0de2156b821fff7ab6eda320226 /board/technologic
parent4e1c879f71296777ce59b0130c415cfcabf35c8e (diff)
imx: Place imx_ddr_size() into a separate file
Place imx_ddr_size() into a separate file. The motivation for doing this is to be able to easily reuse imx_ddr_size() on i.MX7ULP. Currently imx_ddr_size() is inside arch/arm/mach-imx/cpu.c, which is not built for i.MX7ULP. Changing the logic to allow building cpu.c for i.MX7UP would require adding several ifdef's, leading to a not a very elegant solution. To allow better reuse, just place imx_ddr_size() into a common mmdc_size.c file. Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'board/technologic')
0 files changed, 0 insertions, 0 deletions