From patchwork Sun Jan 29 00:57:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1733387 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=iJi0f505; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4P4Cdc2DmKz1yhq for ; Sun, 29 Jan 2023 11:59:48 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 48CDA8574C; Sun, 29 Jan 2023 01:59:35 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="iJi0f505"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E0D49856DD; Sun, 29 Jan 2023 01:59:25 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 Received: from mail-il1-x135.google.com (mail-il1-x135.google.com [IPv6:2607:f8b0:4864:20::135]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id B6D098574E for ; Sun, 29 Jan 2023 01:59:11 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-il1-x135.google.com with SMTP id i1so3850048ilu.8 for ; Sat, 28 Jan 2023 16:59:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=1o5UNSfvmDJ5Fc0oBnkkx54k3Z6Eh/WYe9KK0bljP+c=; b=iJi0f505Pv95vXrl9Vy2dNDiQ/dbiVpcLY2PcHHwalIjfe1jR4FpfTI/lhELCTaNdE maKkraXsDfxGt8+9vpiFBx4HuFcRbgOCRrC76sB9etaE6YY7rlxBjBV+YwHRtOBibPTB WnzpSGI5qx0qeGcgX8IOPbQLzMoN2ITHbgJlk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=1o5UNSfvmDJ5Fc0oBnkkx54k3Z6Eh/WYe9KK0bljP+c=; b=NPR3sCauubbpSmVLVHQroIEmqwWUG8/nrwpqlGj2TjKnefLwcLNwy2aQa9XXa+2KI8 SfHbUqLXB4IQH9sXAYq5zL5nQIEJS2+fYz74AglExrOYRSbQGf5g3xjERLVeVhU3Ra9A eT3c0o63yTNud+SPXgSjJ5VuF7e1SZ4bguUmHCvDDSP7CkVyxEgLykPNevughVNvjpOx X1lcEnceN+ySX2QfmeDOdCEWI2WVkcIm8OlOivVjEZt6udIA/tAxm7jU/2Q1B4GD8K2U C35lFO+EoyAvTeBkCz00nQB8WgZ8SoKCN1hhIce1TFelzxGu1u+NEPjDUn/dcfoFpPos txJg== X-Gm-Message-State: AFqh2kpZHLV2bnGxfoWMf5micm8v48EBnfZXSYCqZsWvfep17p3Ms1EZ KuP0a7kIV+e+gvWFwJ/oSWPc4c743XjuFDIA X-Google-Smtp-Source: AMrXdXvHhD95N7pREbq97GMYbPuZ6HqmRtYXAz39Tht4+dTHRRGvtTsdlYf9iV6bdbeSN7WzD/dpOQ== X-Received: by 2002:a05:6e02:1302:b0:30f:4cb0:f9b6 with SMTP id g2-20020a056e02130200b0030f4cb0f9b6mr24176474ilr.15.1674953949705; Sat, 28 Jan 2023 16:59:09 -0800 (PST) Received: from sjg1.roam.corp.google.com (c-73-14-173-85.hsd1.co.comcast.net. [73.14.173.85]) by smtp.gmail.com with ESMTPSA id b5-20020a92c145000000b003024dd5c682sm568613ilh.71.2023.01.28.16.59.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 Jan 2023 16:59:09 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass , Albert Aribaud , Alexey Brodkin , Alison Wang , Anatolij Gustschin , =?utf-8?q?Andreas_Bie=C3=9Fmann?= , Andy Fleming , Angelo Dureghello , Heiko Schocher , Jeffy Chen , Jerry Van Baren , Joe Hershberger , Kever Yang , Lukasz Majewski , Marek Vasut , Mario Six , Masahiro Yamada , Minkyu Kang , Nobuhiro Iwamatsu , Philipp Tomsich , Priyanka Jain , Stefan Roese , Stefano Babic , Wolfgang Denk , huang lin Subject: [PATCH v2 00/87] Clean up of bad Kconfig options Date: Sat, 28 Jan 2023 17:57:36 -0700 Message-Id: <20230129005903.74918-1-sjg@chromium.org> X-Mailer: git-send-email 2.39.1.456.gfc5497dd1b-goog MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean This series adds source scanning to moveconfig.py so that it can look for Kconfig options mentioned in the source which do not appear in Kconfig, and vice versa. This tool is then used to clean up the unused or obsolete options mentioned in Makefiles, along with any attached source code. No functional change is intended. This should make it easier to move to the new kconfig approach. Changes in v2: - Just drop the reference - Drop patch "treewide: Correct invalid Kconfig syntax and warnings" Simon Glass (87): moveconfig: Add an option to compare Kconfig against source power: Drop fg_max77693 nand: Drop CONFIG_NAND_SPEAR power: Drop pmic_max77693.c gpio: Drop adi_gpio2 Makefile: Drop CONFIG_AIS_CONFIG_FILE misc: Drop ali512x sandbox: Drop reference to CONFIG_ARCH_DEVICE_TREE Rename ARCH_NPCM7xx arm: mvebu: Remove reference to ARMADA_370 arm: mvebu: Drop reference to CONFIG_ARMADA_39X ppc: Drop bat_rw rockchip: Correct a reference to CONFIG_BOOT_MODE_REG cmd: Add an option to enable the ini command cmd: Drop mfsl command Correct CONFIG_CONTROLCENTERDC Drop dataflash_mmc_mux command Drop CONFIG_DM644X_GPIO Makefile: Avoid use of invalid CONFIG_ option env: Drop ENV_IS_IN_SATA samsung: Drop CONFIG_EXYNOS_PWM_BL fpga: Add a LATTICE option fpga: Add a FPGA_STRATIX_II option misc: Drop mc9sdz60 driver freescale: Drop unused pixis code freescale: Drop unused ftpmu010 driver rcar: Drop timer i2c: Rename I2C_MUX_PCA954x imx: Drop unused CONFIG_IMX arm: Drop old kona code video: Drop unused lg4573 driver m68k: Drop unused CONFIG_M52277 m68k: Rename MCF5301x m68k: Rename MCF532x m68k: Rename MCF5441x m68k: Drop unused CONFIG_MACH_DAVINCI_DA830_EVM arm: Drop CONFIG_MMU arc: Drop CONFIG_MMU ppc: Rename MPC83xx gpio: Drop unused mpc83xx_gpio driver ppc: Rename MPC85xx powerpc: Rename MPC86xx imx: Rename CONFIG_MXS to CFG_MXS nand: Drop unused actl_nand driver mtd: Drop unused fsl_upm driver mtd: Drop unused fsmc_nand driver mtd: Drop unused kb9202_nand driver mtd: Drop unused nand_plat driver Makefile: Drop CONFIG_OF_EARLY_FLATTREE omap: Drop unused CONFIG_OMAP_USB_PHY mtd: Drop unused CONFIG_ONENAND_U_BOOT ppc: Drop unused CONFIG_P2020DS gpio: Drop unused pca9698 driver samsung: Rename PINCTRL_EXYNOS78x0 power: Drop unused bat_trats driver and battery code power: Drop unused fg_max17042 driver and fuel gauge code power: Drop unused muic_max77693 driver and mfd code power: Drop unused muic_max8997 driver freescale: Drop unused pq-mds-pib driver rmobile: Drop CONFIG_RMOBILE rtc: Drop old and unused drivers mtd: Drop unused CONFIG_S32V234 mtd: Drop unused scf0403_lcd driver rmobile: Drop CONFIG_SH73A0 and associated code sh4: Drop unused pci_sh7780 driver Drop ubsha1 tool arm: Rename STM32MP13x arm: Rename STM32MP15x sysreset: at91: Correct Makefile rule for SYSRESET_AT91 gdsys: Drop unused fpga file sh4: Drop unused kona_i2c driver compulab: Drop CONFIG_TARGET_MCM_IMX8M_MINI freescale: Drop CONFIG_TARGET_MPC8536DS et al sh4: Drop unused twl6030 driver ppc: Makefile: Drop unused ppc4xx code armada: usb: net: Drop unused USB drivers usb: Drop unused ehci-faraday driver usb: Drop unused fotg210 gadget rmobile: Drop unused ehci-rmobile driver usb: Drop unused ehci-vct driver usb: Drop unused sl811-hcd driver imx: Drop CONFIG_USE_PLUGIN freescale: Drop unused vsc3316_3308 driver watchdog: Rename WDT_MPC8xx tools: Drop xway-swap-bytes tool freescale: Drop unused zm7300 driver fdt: Drop use of non-existent OF_PLATDATA option Kconfig | 2 +- Makefile | 24 +- README | 7 - api/api_platform-powerpc.c | 4 +- arch/Kconfig | 2 +- arch/Kconfig.nxp | 6 +- arch/arc/config.mk | 4 - arch/arc/lib/ints_low.S | 5 - arch/arm/cpu/arm920t/Makefile | 2 - arch/arm/cpu/armv7/Makefile | 2 - arch/arm/cpu/armv7/kona-common/Makefile | 8 - arch/arm/cpu/armv7/kona-common/clk-stubs.c | 25 - .../arm/cpu/armv7/kona-common/hwinit-common.c | 17 - arch/arm/cpu/armv7/kona-common/reset.S | 25 - arch/arm/cpu/armv7/kona-common/s_init.c | 11 - arch/arm/cpu/armv8/Makefile | 1 - arch/arm/dts/Makefile | 6 +- arch/arm/dts/stm32mp15-u-boot.dtsi | 2 +- arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi | 4 +- arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi | 4 +- arch/arm/lib/debug.S | 21 - arch/arm/mach-exynos/Kconfig | 6 +- arch/arm/mach-mvebu/Kconfig | 2 +- arch/arm/mach-mvebu/Makefile | 4 +- arch/arm/mach-npcm/Kconfig | 4 +- arch/arm/mach-npcm/Makefile | 2 +- arch/arm/mach-npcm/npcm7xx/Kconfig | 2 +- arch/arm/mach-rmobile/Makefile | 2 - arch/arm/mach-rmobile/cpu_info-sh73a0.c | 43 - arch/arm/mach-rmobile/cpu_info.c | 1 - .../mach-rmobile/include/mach/ehci-rmobile.h | 146 - arch/arm/mach-rmobile/include/mach/gpio.h | 5 +- arch/arm/mach-rmobile/include/mach/rmobile.h | 5 +- .../mach-rmobile/include/mach/sh73a0-gpio.h | 553 ---- arch/arm/mach-rmobile/include/mach/sh73a0.h | 289 -- arch/arm/mach-rmobile/pfc-sh73a0.c | 2807 ----------------- arch/arm/mach-rmobile/timer.c | 87 - arch/arm/mach-rockchip/Makefile | 2 +- arch/arm/mach-stm32mp/Kconfig | 8 +- arch/arm/mach-stm32mp/Kconfig.13x | 4 +- arch/arm/mach-stm32mp/Kconfig.15x | 6 +- arch/arm/mach-stm32mp/Makefile | 4 +- arch/arm/mach-stm32mp/cmd_stm32key.c | 20 +- .../cmd_stm32prog/cmd_stm32prog.c | 2 +- .../mach-stm32mp/cmd_stm32prog/stm32prog.c | 4 +- .../mach-stm32mp/cmd_stm32prog/stm32prog.h | 6 +- arch/arm/mach-stm32mp/fdt.c | 12 +- arch/arm/mach-stm32mp/include/mach/stm32.h | 16 +- .../arm/mach-stm32mp/include/mach/stm32prog.h | 2 +- arch/m68k/Kconfig | 14 +- arch/m68k/Makefile | 9 +- arch/m68k/cpu/mcf532x/cpu.c | 4 +- arch/m68k/cpu/mcf532x/cpu_init.c | 8 +- arch/m68k/cpu/mcf532x/speed.c | 28 +- arch/m68k/cpu/mcf532x/start.S | 2 +- arch/m68k/cpu/mcf5445x/cpu_init.c | 12 +- arch/m68k/cpu/mcf5445x/dspi.c | 4 +- arch/m68k/cpu/mcf5445x/speed.c | 4 +- arch/m68k/cpu/mcf5445x/start.S | 8 +- arch/m68k/include/asm/cache.h | 8 +- arch/m68k/include/asm/coldfire/skha.h | 2 +- arch/m68k/include/asm/global_data.h | 2 +- arch/m68k/include/asm/immap.h | 2 +- arch/m68k/include/asm/immap_5301x.h | 2 +- arch/m68k/include/asm/immap_5441x.h | 2 +- arch/mips/mach-octeon/octeon_fdt.c | 43 +- arch/powerpc/Kconfig | 14 +- arch/powerpc/Makefile | 2 +- arch/powerpc/cpu/Makefile | 6 +- arch/powerpc/cpu/mpc83xx/Kconfig | 4 +- arch/powerpc/cpu/mpc83xx/cpu.c | 4 +- arch/powerpc/cpu/mpc83xx/start.S | 2 +- arch/powerpc/cpu/mpc85xx/Kconfig | 16 +- arch/powerpc/cpu/mpc85xx/bsc9132_serdes.c | 6 +- arch/powerpc/cpu/mpc85xx/c29x_serdes.c | 6 +- arch/powerpc/cpu/mpc85xx/cpu.c | 10 +- arch/powerpc/cpu/mpc85xx/cpu_init.c | 34 +- arch/powerpc/cpu/mpc85xx/cpu_init_early.c | 14 +- arch/powerpc/cpu/mpc85xx/fdt.c | 6 +- .../powerpc/cpu/mpc85xx/fsl_corenet2_serdes.c | 4 +- arch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.c | 10 +- arch/powerpc/cpu/mpc85xx/interrupts.c | 8 +- arch/powerpc/cpu/mpc85xx/mp.c | 32 +- arch/powerpc/cpu/mpc85xx/mpc8536_serdes.c | 8 +- arch/powerpc/cpu/mpc85xx/mpc8544_serdes.c | 10 +- arch/powerpc/cpu/mpc85xx/mpc8548_serdes.c | 6 +- arch/powerpc/cpu/mpc85xx/p1010_serdes.c | 6 +- arch/powerpc/cpu/mpc85xx/p1021_serdes.c | 8 +- arch/powerpc/cpu/mpc85xx/p1023_serdes.c | 6 +- arch/powerpc/cpu/mpc85xx/p2020_serdes.c | 6 +- arch/powerpc/cpu/mpc85xx/qe_io.c | 2 +- arch/powerpc/cpu/mpc85xx/speed.c | 14 +- arch/powerpc/cpu/mpc85xx/spl_minimal.c | 6 +- arch/powerpc/cpu/mpc85xx/start.S | 28 +- arch/powerpc/cpu/mpc8xxx/Makefile | 4 +- arch/powerpc/cpu/mpc8xxx/cpu.c | 14 +- arch/powerpc/cpu/mpc8xxx/fdt.c | 4 +- arch/powerpc/cpu/mpc8xxx/fsl_lbc.c | 6 +- arch/powerpc/cpu/mpc8xxx/law.c | 2 +- arch/powerpc/cpu/mpc8xxx/srio.c | 20 +- arch/powerpc/include/asm/config.h | 4 +- arch/powerpc/include/asm/config_mpc85xx.h | 8 +- arch/powerpc/include/asm/fsl_dma.h | 4 +- arch/powerpc/include/asm/fsl_lbc.h | 6 +- arch/powerpc/include/asm/fsl_liodn.h | 26 +- arch/powerpc/include/asm/fsl_pci.h | 4 +- arch/powerpc/include/asm/global_data.h | 12 +- arch/powerpc/include/asm/immap_83xx.h | 14 +- arch/powerpc/include/asm/immap_85xx.h | 728 ++--- arch/powerpc/include/asm/mpc85xx_gpio.h | 4 +- arch/powerpc/include/asm/ppc.h | 20 +- arch/powerpc/include/asm/processor.h | 18 +- arch/powerpc/lib/Makefile | 1 - arch/powerpc/lib/bat_rw.c | 244 -- arch/powerpc/lib/bdinfo.c | 4 +- arch/powerpc/lib/bootm.c | 4 +- arch/powerpc/lib/ppccache.S | 4 +- arch/powerpc/lib/stack.c | 2 +- arch/sandbox/config.mk | 2 - arch/sh/include/asm/pci.h | 2 - .../compulab/imx8mm-cl-iot-gate/ddr/Makefile | 4 - board/davinci/da8xxevm/Makefile | 1 - board/freescale/common/Makefile | 8 - board/freescale/common/fsl_chain_of_trust.c | 12 +- board/freescale/common/fsl_validate.c | 8 +- board/freescale/common/mpc85xx_sleep.c | 6 +- board/freescale/common/pixis.c | 470 --- board/freescale/common/pixis.h | 54 - board/freescale/common/pq-mds-pib.c | 60 - board/freescale/common/pq-mds-pib.h | 9 - board/freescale/common/via.h | 4 +- board/freescale/common/vid.c | 2 +- board/freescale/common/vsc3316_3308.c | 530 ---- board/freescale/common/zm7300.c | 232 -- board/freescale/common/zm7300.h | 21 - board/freescale/m53017evb/README | 6 +- board/freescale/m5373evb/README | 2 +- board/freescale/mpc837xerdb/README | 2 +- board/freescale/mpc8548cds/mpc8548cds.c | 6 +- board/freescale/mx7ulp_evk/Makefile | 4 - board/freescale/p1010rdb/p1010rdb.c | 28 +- board/freescale/p1010rdb/spl.c | 6 +- board/freescale/p1010rdb/spl_minimal.c | 4 +- board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c | 20 +- board/freescale/p1_p2_rdb_pc/spl.c | 8 +- board/freescale/p1_p2_rdb_pc/spl_minimal.c | 4 +- board/freescale/p2041rdb/p2041rdb.c | 4 +- board/freescale/t102xrdb/eth_t102xrdb.c | 2 +- board/freescale/t102xrdb/spl.c | 6 +- board/freescale/t102xrdb/t102xrdb.c | 16 +- board/freescale/t104xrdb/spl.c | 2 +- board/freescale/t104xrdb/t104xrdb.c | 2 +- board/freescale/t208xqds/eth_t208xqds.c | 6 +- board/freescale/t208xqds/spl.c | 2 +- board/freescale/t208xqds/t208xqds.c | 2 +- board/freescale/t208xrdb/spl.c | 2 +- board/freescale/t4rdb/eth.c | 2 +- board/freescale/t4rdb/spl.c | 2 +- board/gdsys/a38x/hre.c | 1 - board/gdsys/common/Makefile | 3 +- board/gdsys/common/fpga.c | 28 - board/keymile/Kconfig | 8 +- board/keymile/km83xx/Kconfig | 2 +- board/keymile/kmcent2/kmcent2.c | 6 +- board/socrates/socrates.c | 6 +- board/st/common/Kconfig | 14 +- board/st/common/stm32mp_mtdparts.c | 18 +- board/st/stm32mp1/Kconfig | 4 +- board/st/stm32mp1/stm32mp1.c | 6 +- board/xes/common/Makefile | 7 +- board/xes/common/actl_nand.c | 49 - board/xes/common/fsl_8xxx_clk.c | 10 +- board/xes/common/fsl_8xxx_misc.c | 6 +- boot/Kconfig | 4 +- cmd/Kconfig | 7 + cmd/Makefile | 2 - cmd/dataflash_mmc_mux.c | 48 - cmd/mfsl.c | 387 --- cmd/nvedit.c | 1 - common/Kconfig | 2 +- common/board_r.c | 2 +- common/memsize.c | 2 +- common/usb_hub.c | 18 - configs/MPC837XERDB_defconfig | 2 +- configs/MPC8548CDS_36BIT_defconfig | 2 +- configs/MPC8548CDS_defconfig | 2 +- configs/MPC8548CDS_legacy_defconfig | 2 +- configs/P1010RDB-PA_36BIT_NAND_defconfig | 2 +- configs/P1010RDB-PA_36BIT_NOR_defconfig | 2 +- configs/P1010RDB-PA_36BIT_SDCARD_defconfig | 2 +- configs/P1010RDB-PA_36BIT_SPIFLASH_defconfig | 2 +- configs/P1010RDB-PA_NAND_defconfig | 2 +- configs/P1010RDB-PA_NOR_defconfig | 2 +- configs/P1010RDB-PA_SDCARD_defconfig | 2 +- configs/P1010RDB-PA_SPIFLASH_defconfig | 2 +- configs/P1010RDB-PB_36BIT_NAND_defconfig | 2 +- configs/P1010RDB-PB_36BIT_NOR_defconfig | 2 +- configs/P1010RDB-PB_36BIT_SDCARD_defconfig | 2 +- configs/P1010RDB-PB_36BIT_SPIFLASH_defconfig | 2 +- configs/P1010RDB-PB_NAND_defconfig | 2 +- configs/P1010RDB-PB_NOR_defconfig | 2 +- configs/P1010RDB-PB_SDCARD_defconfig | 2 +- configs/P1010RDB-PB_SPIFLASH_defconfig | 2 +- configs/P1020RDB-PC_36BIT_NAND_defconfig | 2 +- configs/P1020RDB-PC_36BIT_SDCARD_defconfig | 2 +- configs/P1020RDB-PC_36BIT_SPIFLASH_defconfig | 2 +- configs/P1020RDB-PC_36BIT_defconfig | 2 +- configs/P1020RDB-PC_NAND_defconfig | 2 +- configs/P1020RDB-PC_SDCARD_defconfig | 2 +- configs/P1020RDB-PC_SPIFLASH_defconfig | 2 +- configs/P1020RDB-PC_defconfig | 2 +- configs/P1020RDB-PD_NAND_defconfig | 2 +- configs/P1020RDB-PD_SDCARD_defconfig | 2 +- configs/P1020RDB-PD_SPIFLASH_defconfig | 2 +- configs/P1020RDB-PD_defconfig | 2 +- configs/P2020RDB-PC_36BIT_NAND_defconfig | 2 +- configs/P2020RDB-PC_36BIT_SDCARD_defconfig | 2 +- configs/P2020RDB-PC_36BIT_SPIFLASH_defconfig | 2 +- configs/P2020RDB-PC_36BIT_defconfig | 2 +- configs/P2020RDB-PC_NAND_defconfig | 2 +- configs/P2020RDB-PC_SDCARD_defconfig | 2 +- configs/P2020RDB-PC_SPIFLASH_defconfig | 2 +- configs/P2020RDB-PC_defconfig | 2 +- configs/P2041RDB_NAND_defconfig | 2 +- configs/P2041RDB_SDCARD_defconfig | 2 +- configs/P2041RDB_SPIFLASH_defconfig | 2 +- configs/P2041RDB_defconfig | 2 +- configs/SBx81LIFKW_defconfig | 2 +- configs/SBx81LIFXCAT_defconfig | 2 +- configs/T1024RDB_NAND_defconfig | 2 +- configs/T1024RDB_SDCARD_defconfig | 2 +- configs/T1024RDB_SPIFLASH_defconfig | 2 +- configs/T1024RDB_defconfig | 2 +- configs/T1042D4RDB_NAND_defconfig | 2 +- configs/T1042D4RDB_SDCARD_defconfig | 2 +- configs/T1042D4RDB_SPIFLASH_defconfig | 2 +- configs/T1042D4RDB_defconfig | 2 +- configs/T2080QDS_NAND_defconfig | 2 +- configs/T2080QDS_SDCARD_defconfig | 2 +- configs/T2080QDS_SECURE_BOOT_defconfig | 2 +- configs/T2080QDS_SPIFLASH_defconfig | 2 +- configs/T2080QDS_SRIO_PCIE_BOOT_defconfig | 2 +- configs/T2080QDS_defconfig | 2 +- configs/T2080RDB_NAND_defconfig | 2 +- configs/T2080RDB_SDCARD_defconfig | 2 +- configs/T2080RDB_SPIFLASH_defconfig | 2 +- configs/T2080RDB_defconfig | 2 +- configs/T2080RDB_revD_NAND_defconfig | 2 +- configs/T2080RDB_revD_SDCARD_defconfig | 2 +- configs/T2080RDB_revD_SPIFLASH_defconfig | 2 +- configs/T2080RDB_revD_defconfig | 2 +- configs/T4240RDB_SDCARD_defconfig | 2 +- configs/T4240RDB_defconfig | 2 +- configs/cgtqmx8_defconfig | 2 +- configs/gazerbeam_defconfig | 2 +- configs/ge_bx50v3_defconfig | 2 +- configs/imx8qm_mek_defconfig | 2 +- configs/imx8qm_rom7720_a1_4G_defconfig | 2 +- configs/imx8qxp_mek_defconfig | 2 +- configs/kmcent2_defconfig | 4 +- configs/kmcoge5ne_defconfig | 4 +- configs/kmeter1_defconfig | 4 +- configs/kmopti2_defconfig | 4 +- configs/kmsupx5_defconfig | 4 +- configs/kmtepr2_defconfig | 4 +- configs/ls1028aqds_tfa_SECURE_BOOT_defconfig | 2 +- configs/ls1028aqds_tfa_defconfig | 2 +- configs/ls1028aqds_tfa_lpuart_defconfig | 2 +- configs/ls1028ardb_tfa_SECURE_BOOT_defconfig | 2 +- configs/ls1028ardb_tfa_defconfig | 2 +- configs/ls1088aqds_tfa_defconfig | 2 +- configs/ls1088ardb_tfa_SECURE_BOOT_defconfig | 2 +- configs/ls1088ardb_tfa_defconfig | 2 +- configs/ls2088aqds_tfa_defconfig | 2 +- configs/ls2088ardb_tfa_SECURE_BOOT_defconfig | 2 +- configs/ls2088ardb_tfa_defconfig | 2 +- configs/lx2160aqds_tfa_SECURE_BOOT_defconfig | 2 +- configs/lx2160aqds_tfa_defconfig | 2 +- configs/lx2162aqds_tfa_SECURE_BOOT_defconfig | 2 +- configs/lx2162aqds_tfa_defconfig | 2 +- .../lx2162aqds_tfa_verified_boot_defconfig | 2 +- configs/mvebu_puzzle-m801-88f8040_defconfig | 2 +- configs/mx53ppd_defconfig | 2 +- configs/octeontx2_96xx_defconfig | 2 +- configs/qemu-ppce500_defconfig | 2 +- configs/socrates_defconfig | 2 +- configs/stm32mp13_defconfig | 4 +- configs/stm32mp15_basic_defconfig | 2 +- configs/stm32mp15_defconfig | 2 +- configs/stm32mp15_trusted_defconfig | 4 +- configs/tuge1_defconfig | 4 +- configs/tuxx1_defconfig | 4 +- configs/x530_defconfig | 2 +- configs/xilinx_versal_net_virt_defconfig | 2 +- configs/xilinx_versal_virt_defconfig | 2 +- configs/xilinx_zynq_virt_defconfig | 2 +- configs/xilinx_zynqmp_virt_defconfig | 2 +- drivers/Makefile | 1 - drivers/ata/fsl_sata.c | 2 +- drivers/clk/Kconfig | 4 +- drivers/clk/mpc83xx_clk.c | 4 +- drivers/clk/mpc83xx_clk.h | 20 +- drivers/clk/nuvoton/Makefile | 2 +- drivers/clk/stm32/Kconfig | 4 +- drivers/cpu/Kconfig | 6 +- drivers/cpu/mpc83xx_cpu.c | 14 +- drivers/cpu/mpc83xx_cpu.h | 8 +- drivers/ddr/fsl/Kconfig | 10 +- drivers/ddr/fsl/ctrl_regs.c | 2 +- drivers/ddr/fsl/main.c | 2 +- drivers/ddr/fsl/mpc85xx_ddr_gen2.c | 4 +- drivers/ddr/fsl/mpc85xx_ddr_gen3.c | 2 +- drivers/dma/fsl_dma.c | 28 +- drivers/fpga/Kconfig | 12 + drivers/gpio/Makefile | 5 - drivers/gpio/adi_gpio2.c | 425 --- drivers/gpio/kona_gpio.c | 141 - drivers/gpio/mpc83xx_gpio.c | 183 -- drivers/gpio/pca9698.c | 127 - drivers/i2c/Kconfig | 2 +- drivers/i2c/Makefile | 1 - drivers/i2c/kona_i2c.c | 728 ----- drivers/i2c/muxes/Kconfig | 2 +- drivers/i2c/muxes/Makefile | 2 +- drivers/i2c/sh_i2c.c | 5 - drivers/input/Makefile | 1 - drivers/input/twl6030.c | 47 - drivers/misc/Kconfig | 4 +- drivers/misc/Makefile | 2 - drivers/misc/ali512x.c | 401 --- drivers/misc/mc9sdz60.c | 34 - drivers/misc/mpc83xx_serdes.c | 4 +- drivers/misc/npcm_otp.c | 2 +- drivers/mmc/fsl_esdhc_imx.c | 12 +- drivers/mtd/nand/raw/Makefile | 5 - drivers/mtd/nand/raw/fsl_elbc_spl.c | 2 +- drivers/mtd/nand/raw/fsl_upm.c | 187 -- drivers/mtd/nand/raw/fsmc_nand.c | 470 --- drivers/mtd/nand/raw/kb9202_nand.c | 134 - drivers/mtd/nand/raw/nand_plat.c | 65 - drivers/net/fm/b4860.c | 8 +- drivers/net/fm/p1023.c | 18 +- drivers/net/fm/p4080.c | 8 +- drivers/net/fm/p5020.c | 8 +- drivers/net/fm/p5040.c | 8 +- drivers/net/fm/t1024.c | 6 +- drivers/net/fm/t1040.c | 2 +- drivers/net/fm/t2080.c | 6 +- drivers/net/fm/t4240.c | 8 +- drivers/pci/Kconfig | 4 +- drivers/pci/Makefile | 1 - drivers/pci/pci_sh7780.c | 92 - drivers/pinctrl/exynos/Kconfig | 2 +- drivers/pinctrl/exynos/Makefile | 2 +- drivers/pinctrl/nuvoton/Kconfig | 2 +- drivers/power/Makefile | 4 - drivers/power/battery/Makefile | 7 - drivers/power/battery/bat_trats.c | 91 - drivers/power/battery/bat_trats2.c | 65 - drivers/power/ftpmu010.c | 87 - drivers/power/fuel_gauge/Makefile | 6 - drivers/power/fuel_gauge/fg_max17042.c | 287 -- drivers/power/mfd/Makefile | 8 - drivers/power/mfd/fg_max77693.c | 137 - drivers/power/mfd/muic_max77693.c | 77 - drivers/power/mfd/pmic_max77693.c | 96 - drivers/power/pmic/Makefile | 1 - drivers/power/pmic/muic_max8997.c | 74 - drivers/qe/qe.c | 14 +- drivers/ram/Kconfig | 2 +- drivers/ram/mpc83xx_sdram.c | 2 +- drivers/rtc/Makefile | 14 - drivers/rtc/at91sam9_rtt.c | 78 - drivers/rtc/ds1302.c | 329 -- drivers/rtc/ds1306.c | 438 --- drivers/rtc/ftrtc010.c | 122 - drivers/rtc/imxdi.c | 223 -- drivers/rtc/max6900.c | 105 - drivers/rtc/mk48t59.c | 175 - drivers/rtc/mx27rtc.c | 64 - drivers/rtc/rs5c372.c | 256 -- drivers/rtc/s3c24x0_rtc.c | 149 - drivers/rtc/x1205.c | 161 - drivers/serial/serial_sh.h | 10 +- drivers/spi/fsl_espi.c | 2 +- drivers/spi/mpc8xxx_spi.c | 2 +- drivers/sysreset/Kconfig | 4 +- drivers/sysreset/Makefile | 2 +- drivers/timer/Kconfig | 4 +- drivers/timer/mpc83xx_timer.c | 2 +- drivers/usb/gadget/Makefile | 3 +- drivers/usb/gadget/fotg210.c | 964 ------ drivers/usb/gadget/gadget_chips.h | 8 - drivers/usb/host/Kconfig | 2 +- drivers/usb/host/Makefile | 5 - drivers/usb/host/ehci-armada100.c | 48 - drivers/usb/host/ehci-faraday.c | 144 - drivers/usb/host/ehci-hcd.c | 5 - drivers/usb/host/ehci-rmobile.c | 129 - drivers/usb/host/ehci-vct.c | 44 - drivers/usb/host/sl811-hcd.c | 714 ----- drivers/usb/host/sl811.h | 104 - drivers/usb/host/utmi-armada100.c | 80 - drivers/video/Makefile | 2 - drivers/video/exynos/Makefile | 1 - drivers/video/lg4573.c | 331 -- drivers/video/scf0403_lcd.c | 297 -- drivers/watchdog/Kconfig | 6 +- drivers/watchdog/Makefile | 2 +- dts/Kconfig | 4 +- env/Kconfig | 4 +- env/Makefile | 1 - env/env.c | 3 - env/sata.c | 122 - include/asm-generic/u-boot.h | 4 +- include/configs/MPC837XERDB.h | 2 +- include/configs/P1010RDB.h | 2 +- include/configs/P2041RDB.h | 2 +- include/configs/T102xRDB.h | 2 +- include/configs/T104xRDB.h | 2 +- include/configs/T208xQDS.h | 2 +- include/configs/T208xRDB.h | 2 +- include/configs/T4240RDB.h | 2 +- include/configs/p1_p2_rdb_pc.h | 2 +- include/configs/socrates.h | 2 +- include/e500.h | 2 +- include/faraday/ftpmu010.h | 234 -- include/fsl_ddr_sdram.h | 2 +- include/fsl_fman.h | 2 +- include/ioports.h | 2 +- include/linux/immap_qe.h | 2 +- include/linux/mtd/fsl_upm.h | 44 - include/linux/mtd/fsmc_nand.h | 84 - include/mpc85xx.h | 6 +- include/mpc86xx.h | 8 +- include/netdev.h | 1 - include/pca9698.h | 17 - include/pci.h | 2 +- include/post.h | 4 +- include/power/fg_battery_cell_params.h | 73 - include/scf0403_lcd.h | 10 - include/serial.h | 4 +- include/usb/fotg210.h | 362 --- include/usb/fusbh200.h | 59 - include/watchdog.h | 2 +- lib/efi_loader/Kconfig | 2 +- post/Makefile | 2 +- tools/.gitignore | 1 - tools/Makefile | 14 +- tools/moveconfig.py | 334 ++ tools/mxsimage.c | 2 +- tools/ubsha1.c | 83 - tools/xway-swap-bytes.c | 38 - 453 files changed, 1508 insertions(+), 17591 deletions(-) delete mode 100644 arch/arm/cpu/armv7/kona-common/Makefile delete mode 100644 arch/arm/cpu/armv7/kona-common/clk-stubs.c delete mode 100644 arch/arm/cpu/armv7/kona-common/hwinit-common.c delete mode 100644 arch/arm/cpu/armv7/kona-common/reset.S delete mode 100644 arch/arm/cpu/armv7/kona-common/s_init.c delete mode 100644 arch/arm/mach-rmobile/cpu_info-sh73a0.c delete mode 100644 arch/arm/mach-rmobile/include/mach/ehci-rmobile.h delete mode 100644 arch/arm/mach-rmobile/include/mach/sh73a0-gpio.h delete mode 100644 arch/arm/mach-rmobile/include/mach/sh73a0.h delete mode 100644 arch/arm/mach-rmobile/pfc-sh73a0.c delete mode 100644 arch/arm/mach-rmobile/timer.c delete mode 100644 arch/powerpc/lib/bat_rw.c delete mode 100644 board/freescale/common/pixis.c delete mode 100644 board/freescale/common/pixis.h delete mode 100644 board/freescale/common/pq-mds-pib.c delete mode 100644 board/freescale/common/pq-mds-pib.h delete mode 100644 board/freescale/common/vsc3316_3308.c delete mode 100644 board/freescale/common/zm7300.c delete mode 100644 board/freescale/common/zm7300.h delete mode 100644 board/gdsys/common/fpga.c delete mode 100644 board/xes/common/actl_nand.c delete mode 100644 cmd/dataflash_mmc_mux.c delete mode 100644 cmd/mfsl.c delete mode 100644 drivers/gpio/adi_gpio2.c delete mode 100644 drivers/gpio/kona_gpio.c delete mode 100644 drivers/gpio/mpc83xx_gpio.c delete mode 100644 drivers/gpio/pca9698.c delete mode 100644 drivers/i2c/kona_i2c.c delete mode 100644 drivers/input/twl6030.c delete mode 100644 drivers/misc/ali512x.c delete mode 100644 drivers/misc/mc9sdz60.c delete mode 100644 drivers/mtd/nand/raw/fsl_upm.c delete mode 100644 drivers/mtd/nand/raw/fsmc_nand.c delete mode 100644 drivers/mtd/nand/raw/kb9202_nand.c delete mode 100644 drivers/mtd/nand/raw/nand_plat.c delete mode 100644 drivers/pci/pci_sh7780.c delete mode 100644 drivers/power/battery/Makefile delete mode 100644 drivers/power/battery/bat_trats.c delete mode 100644 drivers/power/battery/bat_trats2.c delete mode 100644 drivers/power/ftpmu010.c delete mode 100644 drivers/power/fuel_gauge/Makefile delete mode 100644 drivers/power/fuel_gauge/fg_max17042.c delete mode 100644 drivers/power/mfd/Makefile delete mode 100644 drivers/power/mfd/fg_max77693.c delete mode 100644 drivers/power/mfd/muic_max77693.c delete mode 100644 drivers/power/mfd/pmic_max77693.c delete mode 100644 drivers/power/pmic/muic_max8997.c delete mode 100644 drivers/rtc/at91sam9_rtt.c delete mode 100644 drivers/rtc/ds1302.c delete mode 100644 drivers/rtc/ds1306.c delete mode 100644 drivers/rtc/ftrtc010.c delete mode 100644 drivers/rtc/imxdi.c delete mode 100644 drivers/rtc/max6900.c delete mode 100644 drivers/rtc/mk48t59.c delete mode 100644 drivers/rtc/mx27rtc.c delete mode 100644 drivers/rtc/rs5c372.c delete mode 100644 drivers/rtc/s3c24x0_rtc.c delete mode 100644 drivers/rtc/x1205.c delete mode 100644 drivers/usb/gadget/fotg210.c delete mode 100644 drivers/usb/host/ehci-armada100.c delete mode 100644 drivers/usb/host/ehci-faraday.c delete mode 100644 drivers/usb/host/ehci-rmobile.c delete mode 100644 drivers/usb/host/ehci-vct.c delete mode 100644 drivers/usb/host/sl811-hcd.c delete mode 100644 drivers/usb/host/sl811.h delete mode 100644 drivers/usb/host/utmi-armada100.c delete mode 100644 drivers/video/lg4573.c delete mode 100644 drivers/video/scf0403_lcd.c delete mode 100644 env/sata.c delete mode 100644 include/faraday/ftpmu010.h delete mode 100644 include/linux/mtd/fsl_upm.h delete mode 100644 include/linux/mtd/fsmc_nand.h delete mode 100644 include/pca9698.h delete mode 100644 include/power/fg_battery_cell_params.h delete mode 100644 include/scf0403_lcd.h delete mode 100644 include/usb/fotg210.h delete mode 100644 include/usb/fusbh200.h delete mode 100644 tools/ubsha1.c delete mode 100644 tools/xway-swap-bytes.c