u-boot-brain/arch/arm/mach-imx
Miquel Raynal eb446ef625 cmd: nand/sf: isolate legacy code
The 'sf' command is not supposed to rely on the MTD stack, but both
'sf' and 'nand' commands use helpers located in mtd_uboot.c. Despite
their location, these functions do not depend at all on the MTD
stack.

This file (drivers/mtd/mtd_uboot.c) is only compiled if CONFIG_MTD is
selected, which is inconsistent with the current situation. Solve this
by moving these three functions (which are only used by the above two
commands) out of mtd_uboot.c and put them in a C file only compiled
with cmd/sf.c and cmd/nand.c.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
[trini: Don't export get_part function now]
Signed-off-by: Tom Rini <trini@konsulko.com>
2019-12-04 17:10:51 -05:00
..
imx8 common: Move some cache and MMU functions out of common.h 2019-12-02 18:23:55 -05:00
imx8m common: Move some cache and MMU functions out of common.h 2019-12-02 18:23:55 -05: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 common: Move some cache and MMU functions out of common.h 2019-12-02 18:23:55 -05:00
mx6 common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
mx7 common: Move ARM cache operations out of common.h 2019-12-02 18:24:58 -05:00
mx7ulp common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
mxs board/aries: Remove 2018-07-02 15:52:50 -04:00
cache.c common: Move some cache and MMU functions out of common.h 2019-12-02 18:23:55 -05: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 cmd: nand/sf: isolate legacy code 2019-12-04 17:10:51 -05:00
cpu.c imx: cpu: restrict get_boot_device 2019-11-05 10:27:18 +01: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 imx :hab: Add hab version command 2019-10-14 09:31:41 +02: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 mach-imx: Adding new argument for SIP call interface 2019-11-03 17:04:16 +01:00
init.c ARM: imx: Use IMX6_SRC_GPR10_BMODE instead of magic number 2019-11-03 17:04:16 +01: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 mtd: rename CONFIG_NAND -> CONFIG_MTD_RAW_NAND 2019-12-03 23:04:10 -05: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: add rom api support 2019-11-05 10:27:18 +01: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: mmdc_size: Allow building it for i.MX7ULP 2019-10-14 09:31:41 +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 mach-imx: Adding new argument for SIP call interface 2019-11-03 17:04:16 +01:00
speed.c Convert to use fsl_esdhc_imx for i.MX platforms 2019-06-23 14:18:34 +08:00
spl_imx_romapi.c imx: add rom api support 2019-11-05 10:27:18 +01: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 imx: spl: use spl_board_boot_device for i.MX8MN 2019-11-05 10:27:18 +01:00
syscounter.c common: Move some time functions out of common.h 2019-12-02 18:23:11 -05:00
timer.c common: Move some time functions out of common.h 2019-12-02 18:23:11 -05:00
video.c env: Move env_get() to env.h 2019-08-11 16:43:41 -04:00