[U-Boot] [PATCH v6 0/3] End of the MTD makefile cleanup
Miquel Raynal
miquel.raynal at bootlin.com
Fri Oct 25 17:39:28 UTC 2019
As rightfully pointed by Jagan, I should have dropped the dependency
of cmd/sf.c and cmd/nand.c on mtd_uboot.c in patch 24/26 of the "MTD
defconfigs/Kconfigs/Makefiles heavy cleanup" v5 series.
Instead of sending the 40 patches again, here are only the last three
patches with:
* patch 1 (24/26) being corrected as per Jagan's comment
* patch 2 (25/26) is untouched
* patch 3 (26/26) is almost untouched but I had to resolve a conflict
due to patch 1.
Thanks,
Miquèl
Miquel Raynal (3):
cmd: nand/sf: isolate legacy code
cmd: make MTD commands depend on MTD
mtd: Makefile: deep cleanup
Makefile | 5 --
cmd/Kconfig | 10 ++--
cmd/Makefile | 3 ++
cmd/legacy-mtd-utils.c | 99 +++++++++++++++++++++++++++++++++++++++
cmd/legacy-mtd-utils.h | 14 ++++++
cmd/nand.c | 2 +
cmd/sf.c | 2 +
drivers/Makefile | 7 +--
drivers/mtd/Makefile | 50 ++++++++++++++------
drivers/mtd/mtd_uboot.c | 94 -------------------------------------
drivers/mtd/nand/Makefile | 5 ++
include/linux/mtd/mtd.h | 6 ---
12 files changed, 169 insertions(+), 128 deletions(-)
create mode 100644 cmd/legacy-mtd-utils.c
create mode 100644 cmd/legacy-mtd-utils.h
--
2.20.1
More information about the U-Boot
mailing list