]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mtd: Remove <common.h> and add needed includes
authorTom Rini <trini@konsulko.com>
Thu, 2 May 2024 01:31:00 +0000 (19:31 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 7 May 2024 14:00:55 +0000 (08:00 -0600)
Remove <common.h> from this driver directory and when needed
add missing include files directly.

Reviewed-by: William Zhang <william.zhang@broadcom.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
81 files changed:
drivers/mtd/altera_qspi.c
drivers/mtd/cfi_flash.c
drivers/mtd/cfi_mtd.c
drivers/mtd/hbmc-am654.c
drivers/mtd/jedec_flash.c
drivers/mtd/mtd-uclass.c
drivers/mtd/mtd_uboot.c
drivers/mtd/mtdpart.c
drivers/mtd/nand/bbt.c
drivers/mtd/nand/core.c
drivers/mtd/nand/raw/am335x_spl_bch.c
drivers/mtd/nand/raw/arasan_nfc.c
drivers/mtd/nand/raw/atmel_nand.c
drivers/mtd/nand/raw/brcmnand/bcm63158_nand.c
drivers/mtd/nand/raw/brcmnand/bcm6368_nand.c
drivers/mtd/nand/raw/brcmnand/bcm6753_nand.c
drivers/mtd/nand/raw/brcmnand/bcm68360_nand.c
drivers/mtd/nand/raw/brcmnand/bcm6838_nand.c
drivers/mtd/nand/raw/brcmnand/bcm6858_nand.c
drivers/mtd/nand/raw/brcmnand/brcmnand.c
drivers/mtd/nand/raw/brcmnand/brcmnand_compat.c
drivers/mtd/nand/raw/brcmnand/iproc_nand.c
drivers/mtd/nand/raw/cortina_nand.c
drivers/mtd/nand/raw/davinci_nand.c
drivers/mtd/nand/raw/denali.c
drivers/mtd/nand/raw/denali_spl.c
drivers/mtd/nand/raw/fsl_elbc_nand.c
drivers/mtd/nand/raw/fsl_elbc_spl.c
drivers/mtd/nand/raw/fsl_ifc_nand.c
drivers/mtd/nand/raw/fsl_ifc_spl.c
drivers/mtd/nand/raw/kirkwood_nand.c
drivers/mtd/nand/raw/kmeter1_nand.c
drivers/mtd/nand/raw/lpc32xx_nand_mlc.c
drivers/mtd/nand/raw/lpc32xx_nand_slc.c
drivers/mtd/nand/raw/mxc_nand.c
drivers/mtd/nand/raw/mxc_nand_spl.c
drivers/mtd/nand/raw/mxic_nand.c
drivers/mtd/nand/raw/mxs_nand.c
drivers/mtd/nand/raw/mxs_nand_spl.c
drivers/mtd/nand/raw/nand.c
drivers/mtd/nand/raw/nand_base.c
drivers/mtd/nand/raw/nand_bbt.c
drivers/mtd/nand/raw/nand_bch.c
drivers/mtd/nand/raw/nand_ecc.c
drivers/mtd/nand/raw/nand_ids.c
drivers/mtd/nand/raw/nand_spl_load.c
drivers/mtd/nand/raw/nand_spl_simple.c
drivers/mtd/nand/raw/nand_timings.c
drivers/mtd/nand/raw/nand_util.c
drivers/mtd/nand/raw/omap_elm.c
drivers/mtd/nand/raw/omap_gpmc.c
drivers/mtd/nand/raw/pxa3xx_nand.c
drivers/mtd/nand/raw/rockchip_nfc.c
drivers/mtd/nand/raw/stm32_fmc2_nand.c
drivers/mtd/nand/raw/sunxi_nand.c
drivers/mtd/nand/raw/sunxi_nand_spl.c
drivers/mtd/nand/raw/tegra_nand.c
drivers/mtd/nand/raw/vf610_nfc.c
drivers/mtd/nand/raw/zynq_nand.c
drivers/mtd/nand/spi/core.c
drivers/mtd/nvmxip/nvmxip-uclass.c
drivers/mtd/nvmxip/nvmxip.c
drivers/mtd/nvmxip/nvmxip_qspi.c
drivers/mtd/onenand/onenand_base.c
drivers/mtd/onenand/onenand_bbt.c
drivers/mtd/onenand/onenand_spl.c
drivers/mtd/onenand/onenand_uboot.c
drivers/mtd/onenand/samsung.c
drivers/mtd/renesas_rpc_hf.c
drivers/mtd/spi/fsl_espi_spl.c
drivers/mtd/spi/sandbox.c
drivers/mtd/spi/sf-uclass.c
drivers/mtd/spi/sf_bootdev.c
drivers/mtd/spi/sf_dataflash.c
drivers/mtd/spi/sf_mtd.c
drivers/mtd/spi/sf_probe.c
drivers/mtd/spi/spi-nor-core.c
drivers/mtd/spi/spi-nor-ids.c
drivers/mtd/spi/spi-nor-tiny.c
drivers/mtd/stm32_flash.c
drivers/mtd/ubispl/ubispl.c

index d31391f36a47161e848c0215c2e96407669903c8..c26615821c80926fbee5d01f688199c1e16cd85c 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2015 Thomas Chou <thomas@wytron.com.tw>
  */
 
-#include <common.h>
 #include <console.h>
 #include <dm.h>
 #include <errno.h>
index 8ade7949a68e0010b37af641c20d85c4f95b7b38..a7826e81c177394f74c15bb2c8e393d92603f6bc 100644 (file)
@@ -16,7 +16,7 @@
 /* The DEBUG define must be before common to enable debugging */
 /* #define DEBUG       */
 
-#include <common.h>
+#include <config.h>
 #include <console.h>
 #include <dm.h>
 #include <env.h>
@@ -26,6 +26,7 @@
 #include <init.h>
 #include <irq_func.h>
 #include <log.h>
+#include <time.h>
 #include <asm/global_data.h>
 #include <asm/processor.h>
 #include <asm/io.h>
index bf4473ba9e8308e796f3b8f7f4d4cd3281c9ac10..b14d4773931baf5d268374d1eb28c29883e00075 100644 (file)
@@ -5,7 +5,6 @@
  * Written by: Piotr Ziecik <kosmo@semihalf.com>
  */
 
-#include <common.h>
 #include <dma.h>
 #include <flash.h>
 #include <malloc.h>
index 8161087b50c0e04942d386c6d1bc5dda784c9821..599beda30d5550517018061e3e4a2f90f1e20c18 100644 (file)
@@ -3,7 +3,6 @@
 // Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com/
 // Author: Vignesh Raghavendra <vigneshr@ti.com>
 
-#include <common.h>
 #include <asm/io.h>
 #include <dm.h>
 #include <regmap.h>
index 859c7fd4ec246a97600f0599bf7a51cce45bc05a..a832f348f22df9b9021dce49a928874b1f9f0d79 100644 (file)
@@ -11,7 +11,6 @@
 /* The DEBUG define must be before common to enable debugging */
 /*#define DEBUG*/
 
-#include <common.h>
 #include <flash.h>
 #include <log.h>
 #include <asm/processor.h>
index 0743fe7af9fd306c50fc2860f3f710e354535947..720bd824c4d7406f444cb3f0f413ca8b0923f0b2 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_MTD
 
-#include <common.h>
 #include <dm.h>
 #include <dm/device-internal.h>
 #include <errno.h>
index 14ce726b10d8d2b41ab958cb6274ae139978cc49..69cb3b51f9229e3721411b90b5da2dbe19d7bc96 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2014
  * Heiko Schocher, DENX Software Engineering, hs@denx.de.
  */
-#include <common.h>
 #include <env.h>
 #include <log.h>
 #include <malloc.h>
index 4886392a1cfaa59f430e2ca51f32275b9021cb27..be1d19b4ffa5982efc2da1631eddb493b7fe5efe 100644 (file)
@@ -19,7 +19,6 @@
 #include <linux/kmod.h>
 #endif
 
-#include <common.h>
 #include <malloc.h>
 #include <linux/bug.h>
 #include <linux/errno.h>
index 972aec6e26665537e5ea542c620764f2cc5eac43..4ff0999f62a125499838f4ed6781f59770fd6f10 100644 (file)
@@ -9,7 +9,6 @@
 
 #define pr_fmt(fmt)    "nand-bbt: " fmt
 
-#include <common.h>
 #include <dm/devres.h>
 #include <linux/bitops.h>
 #include <linux/mtd/nand.h>
index f6d9c584f786eb998d501fdb2e83483f89e8c017..472ad0bdefb1c9b6d14d2206db4015cb647f4016 100644 (file)
@@ -9,7 +9,6 @@
 
 #define pr_fmt(fmt)    "nand: " fmt
 
-#include <common.h>
 #include <watchdog.h>
 #ifndef __UBOOT__
 #include <linux/compat.h>
index 6831af98b73b46e8971ee26938945db8bcd8f4b8..64d8ce0965ad16147a1fa21c2bc29f7b2a0ed69f 100644 (file)
@@ -9,7 +9,7 @@
  * Stefan Roese, DENX Software Engineering, sr@denx.de.
  */
 
-#include <common.h>
+#include <config.h>
 #include <nand.h>
 #include <system-constants.h>
 #include <asm/io.h>
index ffcd963b3dacaa303cf0924fc42a3c5bbd3fd79a..4f013efafb3657629e4caee8995b28067c69a44f 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2014 - 2015 Xilinx, Inc.
  */
 
-#include <common.h>
 #include <malloc.h>
 #include <asm/io.h>
 #include <linux/delay.h>
index 6d94e7af38e9af1ca002ea142e03c812134aa64d..4dbf7b47135c69257cbeb2ce549bf8312548f296 100644 (file)
@@ -10,7 +10,7 @@
  *     (C) Copyright 2012 ATMEL, Hong Xu
  */
 
-#include <common.h>
+#include <config.h>
 #include <log.h>
 #include <system-constants.h>
 #include <asm/gpio.h>
index 4e6d99fd3ca461c1b4fc17bddff1018742e447c3..3f59fbbbb8f147bd01c636cf1a386d1a3b0b4017 100644 (file)
@@ -1,6 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0+
 
-#include <common.h>
 #include <asm/io.h>
 #include <memalign.h>
 #include <nand.h>
index 6164989b93782afacaf0f68510a52ea3938ed63f..d54de0b3ecceb6e7424aaf99c8d525d6605f2fc3 100644 (file)
@@ -1,6 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0+
 
-#include <common.h>
 #include <asm/io.h>
 #include <memalign.h>
 #include <nand.h>
index feae66ef25a6eab2442a2d642596fb588ff97f97..a101222a28fa494be8523cd6cd4182eaabd8a45e 100644 (file)
@@ -1,6 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0+
 
-#include <common.h>
 #include <asm/io.h>
 #include <memalign.h>
 #include <nand.h>
index dbd85af7079d510eb41da832be27f4114f4b1cca..385642d0c091fb2855c95d61997ab123af59b561 100644 (file)
@@ -1,6 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0+
 
-#include <common.h>
 #include <asm/io.h>
 #include <memalign.h>
 #include <nand.h>
index ef3649688c66f9977f1ac3f22bc28a64ef3f526d..407898ddae6e2b0f5700da98e2cf7afecf719e53 100644 (file)
@@ -1,6 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0+
 
-#include <common.h>
 #include <asm/io.h>
 #include <memalign.h>
 #include <nand.h>
index 027fdd37da3b6b4827d73f23554e5261166fd912..564c678c9ef2427aefda6ddb0b341505200af230 100644 (file)
@@ -1,6 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0+
 
-#include <common.h>
 #include <asm/io.h>
 #include <memalign.h>
 #include <nand.h>
index efbf9a3120a43f75a13c4bb8e51fc3809f7d9fa8..b7bf7cc0893d2e99bcbf1a15952044022f5c761a 100644 (file)
@@ -12,7 +12,6 @@
  * GNU General Public License for more details.
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <memalign.h>
 #include <nand.h>
index a6acf556bcc75d24c8dd92f73d3a7d8fbb038b76..b3b3df5c042e4ec95d9e5f881b335ee1d0731722 100644 (file)
@@ -1,6 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0+
 
-#include <common.h>
 #include <dm.h>
 #include <malloc.h>
 #include <dm/devres.h>
index 69711d98ce1b24df075faa826fad13132a7650c8..430d6c9385381a2037545e6f9e2f2368358cb3f4 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright (C) 2015 Broadcom Corporation
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <memalign.h>
 #include <nand.h>
index b7be6602f7cc386570c52935b14bcfa69e430599..06918a46e93ffed0eacc0313ff3decd3b451c1aa 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) 2020, Cortina Access Inc..
  */
 
-#include <common.h>
 #include <linux/delay.h>
 #include <linux/bitops.h>
 #include <linux/sizes.h>
index 71bbb8231bfbbb960a28e5b5bb31dbfb0624c988..d4daf06b8de596da614c6cc5120e8da3f1b78a79 100644 (file)
@@ -28,7 +28,7 @@
  -
  */
 
-#include <common.h>
+#include <config.h>
 #include <log.h>
 #include <linux/mtd/rawnand.h>
 #include <asm/io.h>
index c827f80281c163bc39f69186cd71b237a3ec6629..b2401116689a690e4658c9e3f06f8089f0bc0ae1 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright (C) 2009-2010, Intel Corporation and its suppliers.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <malloc.h>
 #include <nand.h>
index 165a23312cb59cf6955804972eb2c8db4376635a..b1e2c9d81617bc96a4b3b6dfb42b71a0e514d3ef 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright (C) 2014-2015  Masahiro Yamada <yamada.masahiro@socionext.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <log.h>
 #include <asm/io.h>
 #include <asm/unaligned.h>
index 7853c3f74e2ab672664e69b1edeae92c9fbdd8e4..157330cb287ae839226bef690f3d50567eff08ae 100644 (file)
@@ -7,7 +7,7 @@
  *          Scott Wood <scottwood@freescale.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <malloc.h>
 #include <nand.h>
index 26aaab08e893a6fa634f7e75b90f2b1aced66d41..17b8ef7ff4b995b93caffeaa614f258eb469cde9 100644 (file)
@@ -9,7 +9,7 @@
  * Author: Scott Wood <scottwood@freescale.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <cpu_func.h>
 #include <linux/mtd/rawnand.h>
 #include <asm/io.h>
index 1d7c1fddd3f64b7f3614b32e9aa0ca4b9cbf82a3..857d50ef9b09585d640808528b7c63584daaeb3c 100644 (file)
@@ -6,7 +6,7 @@
  * Authors: Dipen Dudhat <Dipen.Dudhat@freescale.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <malloc.h>
 #include <nand.h>
index 69d26f1f79abb89700a740c4201e116664e8fa64..c2ebee948707c684d5ede5f770b16f19e4747abe 100644 (file)
@@ -6,7 +6,7 @@
  * Author: Dipen Dudhat <dipen.dudhat@freescale.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <cpu_func.h>
 #include <asm/io.h>
 #include <fsl_ifc.h>
index 621d2d232c88907a452540c8d7142c1a6897ed04..cd182be268dca1ac65f50677adece44d0698afdb 100644 (file)
@@ -5,7 +5,6 @@
  * Written-by: Prafulla Wadaskar <prafulla@marvell.com>
  */
 
-#include <common.h>
 #include <linux/mtd/rawnand.h>
 #include <asm/io.h>
 #include <asm/arch/soc.h>
index dfe73d64e46a1e324a28e5c033613fffd7e3a8f5..e9398eb4093e09565c8bd16930901e3743f63fd4 100644 (file)
@@ -4,7 +4,7 @@
  * Heiko Schocher, DENX Software Engineering, hs@denx.de
  */
 
-#include <common.h>
+#include <config.h>
 #include <nand.h>
 #include <asm/io.h>
 #include <linux/delay.h>
index f8ae216d56c659a9c36db566c57bd6033b9bff11..c89661badbf506a56e99ef6b83df7caffd350630 100644 (file)
@@ -19,7 +19,7 @@
  * should not rely on the ECC validity.
  */
 
-#include <common.h>
+#include <config.h>
 #include <nand.h>
 #include <linux/delay.h>
 #include <linux/errno.h>
index b21a0b9d293fe3cbf94df4fd4c0cdc34cc7dffab..4d643bc64bc2ac089819b870626cf98c124e1d93 100644 (file)
@@ -10,7 +10,7 @@
  * Author: Kevin Wells
  */
 
-#include <common.h>
+#include <config.h>
 #include <log.h>
 #include <nand.h>
 #include <linux/bug.h>
index dbdc5b0bca1c56788243c6eba7e843ec40f882ab..0750b38f70810d4c2a81b5675442b881e51f31de 100644 (file)
@@ -5,7 +5,7 @@
  * Copyright 2009 Ilya Yanok, <yanok@emcraft.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <log.h>
 #include <nand.h>
 #include <linux/delay.h>
index a855c9987f803e452b1c3469c2eeeb8e703c5a02..c5872848954edc78da662df177196e6895fd8c43 100644 (file)
@@ -10,7 +10,7 @@
  * Stefan Roese, DENX Software Engineering, sr at denx.de.
  */
 
-#include <common.h>
+#include <config.h>
 #include <hang.h>
 #include <nand.h>
 #include <system-constants.h>
index 6abdc24bd30c097c9588ef3300812164b699d9e0..0e54b5f69389549fbd951f81d6cbe667dd95270c 100644 (file)
@@ -6,7 +6,6 @@
  *     Zhengxun Li <zhengxunli@mxic.com.tw>
  */
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <malloc.h>
index fd65772af806691ab35047d94a487469831ba183..11b0247b2842b7b9c91f3826de8f58dedd7f3d36 100644 (file)
@@ -13,7 +13,6 @@
  * Copyright 2017-2019 NXP
  */
 
-#include <common.h>
 #include <clk.h>
 #include <cpu_func.h>
 #include <dm.h>
index f7d3f02f85a040cd0ceed0412276c295b8f2782d..c8e064347adad0956b7b66ab396c210583bca501 100644 (file)
@@ -4,7 +4,6 @@
  * Copyright 2019 NXP
  * Author: Tim Harvey <tharvey@gateworks.com>
  */
-#include <common.h>
 #include <log.h>
 #include <nand.h>
 #include <malloc.h>
index b591170346d04722c22c77a6131f9e5be77ef47b..36054492e18614c6bad97b3e384b11aa30485a1a 100644 (file)
@@ -5,7 +5,7 @@
  * Ladislav Michl <michl@2n.cz>
  */
 
-#include <common.h>
+#include <config.h>
 #include <nand.h>
 #include <errno.h>
 #include <linux/mtd/concat.h>
index 688d17ba3c2fc837a06957e7f2dd4fe84e81b54e..18b95caffeffdccef76410bfcc78da23efc00ab6 100644 (file)
@@ -28,7 +28,6 @@
  */
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
-#include <common.h>
 #include <log.h>
 #include <malloc.h>
 #include <watchdog.h>
index cd451870a6f90732590c73caf4e6e1c77d980f09..1fb8535ab054f8802d5bdc5d9f10ca3faa83ae0f 100644 (file)
@@ -57,7 +57,6 @@
  *
  */
 
-#include <common.h>
 #include <log.h>
 #include <malloc.h>
 #include <dm/devres.h>
index bb48ebbb96c76aa415ae05d324e0bded0373842a..f317cc26c9033744a449cebb0dc307dd8bcadf07 100644 (file)
@@ -7,7 +7,6 @@
  *
  */
 
-#include <common.h>
 #include <log.h>
 #include <dm/devres.h>
 #include <linux/printk.h>
index 2bc329be1a3b010334aa651a588419e7ec75f67a..0530ccb07226d1ed9d812a06ea5d1f34d3b53117 100644 (file)
@@ -22,7 +22,6 @@
  * this file might be covered by the GNU General Public License.
  */
 
-#include <common.h>
 
 #include <linux/errno.h>
 #include <linux/mtd/mtd.h>
index be60d6d9d9952f7a8b728ebb331b587a832a5da6..4f46378ffe10634738257ebe36e2ff049d052d7d 100644 (file)
@@ -6,7 +6,6 @@
  * published by the Free Software Foundation.
  *
  */
-#include <common.h>
 #include <linux/mtd/rawnand.h>
 #include <linux/sizes.h>
 
index 7ac9bf4d1206dc2fdd1e8d7d6ac134bc93aa2352..87af675c13916f2157d9f7f593214a05ebd32cf6 100644 (file)
@@ -4,7 +4,7 @@
  * Heiko Schocher, DENX Software Engineering, hs@denx.de.
  */
 
-#include <common.h>
+#include <config.h>
 #include <nand.h>
 
 /*
index 80d6e0e1e4efa27f451a003af6b8bb32771021ac..c0956ab0e491ef15b16dd7ae490f9edb8711c7be 100644 (file)
@@ -4,7 +4,7 @@
  * Stefan Roese, DENX Software Engineering, sr@denx.de.
  */
 
-#include <common.h>
+#include <config.h>
 #include <nand.h>
 #include <system-constants.h>
 #include <asm/io.h>
index e6aa79039131ce1e0c4c172dcaae0a8f9f87b929..c1bac1d01cc431666a1a4b94de3f415e895e255b 100644 (file)
@@ -8,7 +8,6 @@
  * published by the Free Software Foundation.
  *
  */
-#include <common.h>
 #include <linux/err.h>
 #include <linux/kernel.h>
 #include <linux/mtd/rawnand.h>
index 72cc24f40376eb95349c3984f0c32bb12ebb5a97..fda4239fa792dfc677367fcac632a2b239a282a4 100644 (file)
@@ -18,7 +18,6 @@
  * Copyright 2010 Freescale Semiconductor
  */
 
-#include <common.h>
 #include <command.h>
 #include <log.h>
 #include <watchdog.h>
index 015ec9bc2de0179c954e8097aec87a61cc3d76bd..61751b9ae2db043106178eccc29cca10cc5d80d5 100644 (file)
@@ -12,7 +12,6 @@
  *    sets in uboot
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <linux/errno.h>
 #include <asm/arch/hardware.h>
index 2f8fa7d73d21c97b0b81f72ce6b5352ce9ef3b11..92a92ad63a022223b7c262d03f1e78a297520ada 100644 (file)
@@ -4,7 +4,7 @@
  * Rohit Choraria <rohitkc@ti.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <log.h>
 #include <system-constants.h>
 #include <asm/io.h>
index 1d9a6d107b17925a89ef706b81210a4993153baf..17c5601bead0e0c635ac730755420051bc069d97 100644 (file)
@@ -6,7 +6,6 @@
  * Copyright Â© 2006 Marvell International Ltd.
  */
 
-#include <common.h>
 #include <malloc.h>
 #include <fdtdec.h>
 #include <nand.h>
index 088cc7fead24147ff30d50e25bf792e490af56a9..f730e15d04107fd1c9571c9a992f0f8a1e3ec637 100644 (file)
@@ -5,7 +5,6 @@
  * Author: Yifeng Zhao <yifeng.zhao@rock-chips.com>
  */
 
-#include <common.h>
 #include <asm/io.h>
 #include <clk.h>
 #include <dm.h>
index d284b8cbb123eb5939933e67c1908d5eec72f039..083ea4c5a74b782ba655e1b9eac87823be9cce4e 100644 (file)
@@ -6,7 +6,6 @@
 
 #define LOG_CATEGORY UCLASS_MTD
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <log.h>
index 0b5b74dc242d1b69fd39c6f820955679b4fef60d..34197bb09a19551655160112f3215e0c9da691ac 100644 (file)
@@ -25,7 +25,6 @@
  */
 
 #include <clk.h>
-#include <common.h>
 #include <dm.h>
 #include <malloc.h>
 #include <memalign.h>
index c9b8c78ed7523a53b6d0bb253af66a4c1a8dcc9b..040138e255925cbb27fee15ced5a3f35b303be07 100644 (file)
@@ -6,7 +6,6 @@
 
 #include <asm/arch/clock.h>
 #include <asm/io.h>
-#include <common.h>
 #include <config.h>
 #include <nand.h>
 #include <linux/bitops.h>
index 6086ecdfa3dbfba65219cf2c5e42534d7d7dc0b5..8285f87359e79ea061660ce8e7dec37f4b64aef5 100644 (file)
@@ -6,7 +6,6 @@
  * (C) Copyright 2006 DENX Software Engineering
  */
 
-#include <common.h>
 #include <log.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
index d2363a0662e274073679c1fcbac4a532acdb8b71..1026595036892b09e785cd1cdd1059a42ddd039d 100644 (file)
@@ -21,7 +21,7 @@
  * - HW ECC: Only 24 and 32-bit error correction implemented.
  */
 
-#include <common.h>
+#include <config.h>
 #include <malloc.h>
 #include <dm/device_compat.h>
 #include <linux/printk.h>
index bacaf13c570dcab868d93432e70194318d966920..5f90171a6fe3476e86e062507f45f55c034b4938 100644 (file)
@@ -6,7 +6,6 @@
  * This driver is based on plat_nand.c and mxc_nand.c drivers
  */
 
-#include <common.h>
 #include <log.h>
 #include <malloc.h>
 #include <asm/io.h>
index 62c28aa422d25049593774baf9694597f2e0ac1b..ef50237f10e6006da57b1fb94b4217c92fa1be5b 100644 (file)
@@ -21,7 +21,6 @@
 #include <linux/spi/spi.h>
 #include <linux/spi/spi-mem.h>
 #else
-#include <common.h>
 #include <errno.h>
 #include <watchdog.h>
 #include <spi.h>
index 9a316d1de397e6e60e9a89f4ef77e4f18eaabaa6..95dfa58def17a3fd7393b69992e9488aa1ab238e 100644 (file)
@@ -6,7 +6,6 @@
  *   Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #if CONFIG_IS_ENABLED(SANDBOX64)
index 0bd98d64275fa1a88f6e8841f0336826d12e84c3..229938db3806b0e0ad6ac0baf442b962c62936bb 100644 (file)
@@ -6,7 +6,6 @@
  *   Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <mapmem.h>
index 4d7471118a4c1394b6b510e6a05345c3ea143e9b..460887c7da343388569d6f1138e32e4e556d9333 100644 (file)
@@ -6,7 +6,6 @@
  *   Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <fdt_support.h>
 #include <linux/errno.h>
index 762b01c1b0f0953ea774974ef66a103f42673382..edecb841338f5781ca79d8aa8a2d661935140bc2 100644 (file)
@@ -19,7 +19,6 @@
  * published by the Free Software Foundation.
  */
 
-#include <common.h>
 #include <log.h>
 #include <watchdog.h>
 #include <dm/devres.h>
index cc1e449f4a72af4c6919a32dddb9e9e30b17feab..6af1cb2ec19ad8ace1a40693c2c0cb1d469a24ed 100644 (file)
@@ -14,7 +14,6 @@
  * published by the Free Software Foundation.
  */
 
-#include <common.h>
 #include <log.h>
 #include <linux/compat.h>
 #include <linux/mtd/mtd.h>
index 2699958a5de245ded105e1aa69a59c1911cbfa70..a9d54a243ade6bf00ed0a1329d056cefecbb7b12 100644 (file)
@@ -7,9 +7,10 @@
  *     Kyungmin Park <kyungmin.park@samsung.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/io.h>
 #include <linux/bitops.h>
+#include <linux/string.h>
 #include <linux/mtd/onenand_regs.h>
 #include <onenand_uboot.h>
 
index ecacabefadcfa7ac0498079c7893dc230ac719a4..db0ac6c1fb8f2454641c7920400856e2425fc0b2 100644 (file)
@@ -13,7 +13,7 @@
  * OneNAND initialization at U-Boot
  */
 
-#include <common.h>
+#include <config.h>
 #include <display_options.h>
 #include <linux/compat.h>
 #include <linux/mtd/mtd.h>
index c415e5149a019e99f4d69d7c9bfff0d229642a90..ccfdad4913e8916686297bc49d30fb46c3db3503 100644 (file)
@@ -9,7 +9,6 @@
  *     Emulate the pseudo BufferRAM
  */
 
-#include <common.h>
 #include <malloc.h>
 #include <linux/compat.h>
 #include <linux/mtd/mtd.h>
index 979b64d4a2f69de81592aba28a8f33993fbeacba..8dcffde9aa396403f64aae56d81c8878f5baf56c 100644 (file)
@@ -7,7 +7,6 @@
  * Copyright (C) 2017 Marek Vasut <marek.vasut@gmail.com>
  */
 
-#include <common.h>
 #include <malloc.h>
 #include <asm/io.h>
 #include <clk.h>
index cdbdbd6ea5810845aded4fc63e6784ac829f3d75..73eea922c33a75cb45b426f3099d4ecec58ed7d3 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 2013 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
+#include <config.h>
 #include <cpu_func.h>
 #include <hang.h>
 #include <spi_flash.h>
index 4fe547171a5f06705b3cedc4476720a76a36ba4c..2d5a16bf6a29a6ddd4240d47450224cda542c3d9 100644 (file)
@@ -10,7 +10,6 @@
 
 #define LOG_CATEGORY UCLASS_SPI_FLASH
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <malloc.h>
index 2da0cf0dcf9f4274118d8c4ed3eac1751126b902..a4d15bd64aa2e18bc020a7b15b7a93f514ecc977 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_SPI_FLASH
 
-#include <common.h>
 #include <bootdev.h>
 #include <dm.h>
 #include <log.h>
index d6b47b11ce451e430463a5a18d4469562b9f70de..017a74a3016fc6bd664ccfdd24270e2797a14787 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright 2022 Google LLC
  */
 
-#include <common.h>
 #include <bootdev.h>
 #include <bootflow.h>
 #include <bootmeth.h>
index 6a0d953a72904c91381ec517bdfabcad266c6ce0..6db24189c8eaa67338af162370b4af1d78834b1f 100644 (file)
@@ -6,7 +6,6 @@
  * Haikun Wang (haikun.wang@freescale.com)
  */
 
-#include <common.h>
 #include <display_options.h>
 #include <dm.h>
 #include <errno.h>
index 071b25ac67f2d4e14f8ea3cf846716cbe926df85..7342f26d88e0b50eb281cc14fff72369c41da5aa 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2012-2014 Daniel Schwierzeck, daniel.schwierzeck@gmail.com
  */
 
-#include <common.h>
 #include <malloc.h>
 #include <linux/errno.h>
 #include <linux/mtd/mtd.h>
index de6516f1065be9fb106e71894f22f5ff34b0f2f0..7100b64bf22aae56f74fb2588af8fa0440ab0d9e 100644 (file)
@@ -7,7 +7,6 @@
  * Copyright (C) 2013 Jagannadha Sutradharudu Teki, Xilinx Inc.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <linux/mtd/spi-nor.h>
index f86003ca8c06439e6871f1661be790f1fb4c0852..982dd251150dc5373dc96f0e2fd267f416fc1f08 100644 (file)
@@ -9,7 +9,6 @@
  * Synced from Linux v4.19
  */
 
-#include <common.h>
 #include <display_options.h>
 #include <log.h>
 #include <watchdog.h>
index 4e83b8c94c96ed6a9392ca88338d967448607402..684206ea07ddb6caf79f97b4cdfd287e68c4c1a0 100644 (file)
@@ -6,7 +6,6 @@
  * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
  */
 
-#include <common.h>
 #include <spi.h>
 #include <spi_flash.h>
 
index 0719fe845ca96f6812bc57f6c913b5a097da304b..5755c5eed297a9f756b939f5d0d2727b21b34693 100644 (file)
@@ -9,7 +9,6 @@
  * Synced from Linux v4.19
  */
 
-#include <common.h>
 #include <log.h>
 #include <dm/device_compat.h>
 #include <linux/err.h>
index 4523344ba6b02ac29fe215ad70a897a013d90e9a..ec83be6b51fd46603bcfebc91fe9e124eff5527a 100644 (file)
@@ -4,7 +4,7 @@
  * Kamil Lulko, <kamil.lulko@gmail.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <flash.h>
 #include <asm/io.h>
 #include <asm/arch/stm32.h>
index b58d8e8d5656c41dea1ea17fbde382a1db2f2384..90a7c4c6f9e08552d68a54afbe6d423a4a345de0 100644 (file)
@@ -7,7 +7,6 @@
  * Copyright (c) International Business Machines Corp., 2006
  */
 
-#include <common.h>
 #include <errno.h>
 #include <linux/bug.h>
 #include <u-boot/crc.h>