u-boot-brain/arch/arm/mach-imx
Fabio Estevam 89bc388a32 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>
2019-10-14 09:31:33 +02:00
..
imx8 imx8: Add support to get container image set size 2019-10-08 16:36:36 +02:00
imx8m imx: replace CONFIG_SECURE_BOOT with CONFIG_IMX_HAB 2019-10-08 16:36:37 +02:00
mx2 ARM: imx: Fix typo in select option for ZMX25 2019-04-25 19:16:24 +02:00
mx3 Kconfig: Sort bool, default, select and imply options 2018-07-30 07:18:48 -04:00
mx5 CONFIG_SPL_SYS_[DI]CACHE_OFF: add 2019-05-18 08:15:35 -04:00
mx6 imx: tpc70: Convert TPC70 (imx6q) board to use DM/DTS in SPL and u-boot 2019-10-13 22:49:12 +02:00
mx7 Add i.MX7D based Meerkat96 board support 2019-10-13 22:49:11 +02:00
mx7ulp imx: replace CONFIG_SECURE_BOOT with CONFIG_IMX_HAB 2019-10-08 16:36:37 +02:00
mxs board/aries: Remove 2018-07-02 15:52:50 -04:00
cache.c CONFIG_SPL_SYS_[DI]CACHE_OFF: add 2019-05-18 08:15:35 -04:00
cmd_bmode.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
cmd_dek.c env: Drop environment.h header file where not needed 2019-08-11 16:43:41 -04:00
cmd_hdmidet.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
cmd_nandbcb.c imx: nandbcb: include long help only when enabled 2019-10-08 16:36:37 +02:00
cpu.c imx: Place imx_ddr_size() into a separate file 2019-10-14 09:31:33 +02:00
ddrmc-vf610-calibration.c ddr: vybrid: Provide code to perform on-boot calibration 2019-02-15 12:16:50 +01:00
ddrmc-vf610-calibration.h ddr: vybrid: Provide code to perform on-boot calibration 2019-02-15 12:16:50 +01:00
ddrmc-vf610.c ddr: vybrid: Add calibration code to memory controler's (DDRMC) setup code 2019-02-15 12:16:50 +01:00
hab.c configs: Rename CONFIG_IMAGE_FORMAT_LEGACY to CONFIG_LEGACY_IMAGE_FORMAT 2019-07-11 14:11:18 -04:00
i2c-mxv7.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
imx_bootaux.c imx: rename mx8m,MX8M to imx8m,IMX8M 2019-01-01 14:12:18 +01:00
init.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
iomux-v3.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Kconfig imx: replace CONFIG_SECURE_BOOT with CONFIG_IMX_HAB 2019-10-08 16:36:37 +02:00
lowlevel.S imx: add lowlevel init for ARM64 2019-04-25 19:16:24 +02:00
mac.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Makefile imx: Place imx_ddr_size() into a separate file 2019-10-14 09:31:33 +02:00
misc.c imx: Fix potential lmb memory overwritten by stack 2019-01-28 20:35:47 +01:00
mkimage_fit_atf.sh imx: mkimage_fit_atf: Fix FIT image for correct boot order 2019-10-08 16:36:36 +02:00
mmc_env.c Revert "imx: mmc_env: update runtime SD/MMC boot env device" 2019-10-08 16:36:37 +02:00
mmdc_size.c imx: Place imx_ddr_size() into a separate file 2019-10-14 09:31:33 +02:00
rdc-sema.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sata.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sip.c imx: sip: add call_imx_sip_ret2 2019-04-25 09:03:15 +02:00
speed.c Convert to use fsl_esdhc_imx for i.MX platforms 2019-06-23 14:18:34 +08:00
spl_qspi.cfg ARM: imx: arch/arm/mach-imx/spl_qspi.cfg 2019-10-08 16:36:36 +02:00
spl_sd.cfg imx: replace CONFIG_SECURE_BOOT with CONFIG_IMX_HAB 2019-10-08 16:36:37 +02:00
spl.c Revert "spl: imx6: Let spl_boot_device return USDHC1 or USDHC2" 2019-10-08 16:36:37 +02:00
syscounter.c Merged imx8 architecture, fix build for imx8 + warnings 2018-10-25 10:16:21 -04:00
timer.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
video.c env: Move env_get() to env.h 2019-08-11 16:43:41 -04:00