u-boot/arch/arm
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
..
cpu armv7m: cache: add invalidate_icache_all() stub 2019-12-03 08:43:24 -05:00
dts ARM: MediaTek: add basic support for MT8518 boards 2019-12-03 12:00:03 -05:00
include arm: drop eSDHC clock getting in mxc_get_clock() for layerscape 2019-11-27 16:55:56 +08:00
lib common: Move enable/disable_interrupts out of common.h 2019-12-02 18:25:01 -05:00
mach-aspeed regmap: change regmap_init_mem() to take ofnode instead udevice 2018-05-07 15:49:51 -04:00
mach-at91 common: Move some cache and MMU functions out of common.h 2019-12-02 18:23:55 -05:00
mach-bcm283x common: Move ARM cache operations out of common.h 2019-12-02 18:24:58 -05:00
mach-bcmstb board: arm: Add support for Broadcom BCM7260 2018-09-10 21:19:31 -04:00
mach-davinci board: omapl138_lcdk: add the mmc device to SPL 2019-12-03 08:44:14 -05:00
mach-exynos common: Move some cache and MMU functions out of common.h 2019-12-02 18:23:55 -05:00
mach-highbank SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mach-imx cmd: nand/sf: isolate legacy code 2019-12-04 17:10:51 -05:00
mach-integrator
mach-k3 arm: mach-k3: j721e_init: Initialize avs class 0 2019-11-07 18:39:17 -05:00
mach-keystone common: Move some cache and MMU functions out of common.h 2019-12-02 18:23:55 -05:00
mach-kirkwood common: Move command functions out of common.h 2019-12-02 18:25:02 -05:00
mach-mediatek ARM: MediaTek: add basic support for MT8518 boards 2019-12-03 12:00:03 -05:00
mach-meson common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
mach-mvebu common: Move board_get_usable_ram_top() out of common.h 2019-12-02 18:25:04 -05:00
mach-omap2 mtd: rename CONFIG_NAND -> CONFIG_MTD_RAW_NAND 2019-12-03 23:04:10 -05:00
mach-orion5x common: Move some cache and MMU functions out of common.h 2019-12-02 18:23:55 -05:00
mach-owl board: Add uCRobotics Bubblegum-96 board support 2018-07-09 15:25:23 -04:00
mach-qemu Kconfig: Sort bool, default, select and imply options 2018-07-30 07:18:48 -04:00
mach-rmobile common: Move some cache and MMU functions out of common.h 2019-12-02 18:23:55 -05:00
mach-rockchip cosmetic: Fix spelling and whitespace errors 2019-12-03 08:43:23 -05:00
mach-s5pc1xx common: Move some cache and MMU functions out of common.h 2019-12-02 18:23:55 -05:00
mach-snapdragon arm: mach-snapdragon: pinctrl: clarify gpio disable bit 2019-01-25 12:12:56 -05:00
mach-socfpga common: Move some cache and MMU functions out of common.h 2019-12-02 18:23:55 -05:00
mach-sti
mach-stm32 mach-stm32: Fix MPU region size dedicated to SDRAM for STM32F4 2019-06-28 09:45:27 +02:00
mach-stm32mp common: Move some cache and MMU functions out of common.h 2019-12-02 18:23:55 -05:00
mach-sunxi common: Move some cache and MMU functions out of common.h 2019-12-02 18:23:55 -05:00
mach-tegra common: Move board_get_usable_ram_top() out of common.h 2019-12-02 18:25:04 -05:00
mach-uniphier common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
mach-versal arm64: xilinx: Move firmware functions from platform to driver 2019-10-24 13:37:01 +02:00
mach-versatile SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mach-zynq common: Move some cache and MMU functions out of common.h 2019-12-02 18:23:55 -05:00
mach-zynqmp common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
mach-zynqmp-r5 arm: zynqmp: Add ZynqMP minimal R5 support 2018-05-11 09:38:23 +02:00
thumb1/include/asm/proc-armv SPDX: Convert a few files that were missed before 2018-05-10 20:38:35 -04:00
config.mk efi_loader: Rename sections to allow for implicit data 2018-07-25 14:57:44 +02:00
Kconfig mtd: rename CONFIG_NAND -> CONFIG_MTD_RAW_NAND 2019-12-03 23:04:10 -05:00
Kconfig.debug
Makefile arm: fix -march for ARM11 2019-11-23 14:53:48 -05:00