[0/2] sunxi: clean up defconfig files

Message ID 20200220175115.76632-1-andre.przywara@arm.com
Headers show
Series
  • sunxi: clean up defconfig files
Related show

Message

Andre Przywara Feb. 20, 2020, 5:51 p.m.
With some recent additions and some old cruft, there are some config
options that were defined in *almost* every board defconfig file for
Allwinner SoCs.
This "almost" seems to point to bugs, either those options were missed by
mistake or failed to properly synchronise (when a new board defconfig
comes into the tree and just missed some automatic update).

This series defines those common symbols in their respective Kconfig
files or in the ARCH_SUNXI definition, then removes them from all the
defconfigs.

This fixes those boards that suffered from a missing definition, also
cleans up all board defconfigs by moving not-board-specific options out
of there.

Rationale for why those options are generic are given in the commit
message of 1/2.

Cheers,
Andre

Andre Przywara (2):
  sunxi: Move common defconfig options to Kconfig
  sunxi: Remove no longer needed default options from defconfigs

 Kconfig                                        | 1 +
 arch/arm/Kconfig                               | 2 ++
 configs/A10-OLinuXino-Lime_defconfig           | 6 ------
 configs/A10s-OLinuXino-M_defconfig             | 6 ------
 configs/A13-OLinuXinoM_defconfig               | 6 ------
 configs/A13-OLinuXino_defconfig                | 5 -----
 configs/A20-OLinuXino-Lime2-eMMC_defconfig     | 5 -----
 configs/A20-OLinuXino-Lime2_defconfig          | 5 -----
 configs/A20-OLinuXino-Lime_defconfig           | 6 ------
 configs/A20-OLinuXino_MICRO-eMMC_defconfig     | 6 ------
 configs/A20-OLinuXino_MICRO_defconfig          | 6 ------
 configs/A20-Olimex-SOM-EVB_defconfig           | 6 ------
 configs/A20-Olimex-SOM204-EVB-eMMC_defconfig   | 5 -----
 configs/A20-Olimex-SOM204-EVB_defconfig        | 5 -----
 configs/A33-OLinuXino_defconfig                | 6 ------
 configs/Ainol_AW1_defconfig                    | 6 ------
 configs/Ampe_A76_defconfig                     | 6 ------
 configs/Auxtek-T003_defconfig                  | 6 ------
 configs/Auxtek-T004_defconfig                  | 6 ------
 configs/Bananapi_M2_Ultra_defconfig            | 4 ----
 configs/Bananapi_defconfig                     | 6 ------
 configs/Bananapi_m2m_defconfig                 | 4 ----
 configs/Bananapro_defconfig                    | 6 ------
 configs/CHIP_defconfig                         | 6 ------
 configs/CHIP_pro_defconfig                     | 4 ----
 configs/CSQ_CS908_defconfig                    | 6 ------
 configs/Chuwi_V7_CW0825_defconfig              | 6 ------
 configs/Colombus_defconfig                     | 6 ------
 configs/Cubieboard2_defconfig                  | 6 ------
 configs/Cubieboard4_defconfig                  | 6 ------
 configs/Cubieboard_defconfig                   | 6 ------
 configs/Cubietruck_defconfig                   | 5 -----
 configs/Cubietruck_plus_defconfig              | 6 ------
 configs/Empire_electronix_d709_defconfig       | 6 ------
 configs/Empire_electronix_m712_defconfig       | 6 ------
 configs/Hummingbird_A31_defconfig              | 6 ------
 configs/Hyundai_A7HD_defconfig                 | 6 ------
 configs/Itead_Ibox_A20_defconfig               | 6 ------
 configs/Lamobo_R1_defconfig                    | 6 ------
 configs/LicheePi_Zero_defconfig                | 6 ------
 configs/Linksprite_pcDuino3_Nano_defconfig     | 6 ------
 configs/Linksprite_pcDuino3_defconfig          | 6 ------
 configs/Linksprite_pcDuino_defconfig           | 6 ------
 configs/MK808C_defconfig                       | 6 ------
 configs/MSI_Primo73_defconfig                  | 6 ------
 configs/MSI_Primo81_defconfig                  | 6 ------
 configs/Marsboard_A10_defconfig                | 6 ------
 configs/Mele_A1000G_quad_defconfig             | 6 ------
 configs/Mele_A1000_defconfig                   | 6 ------
 configs/Mele_I7_defconfig                      | 6 ------
 configs/Mele_M3_defconfig                      | 6 ------
 configs/Mele_M5_defconfig                      | 6 ------
 configs/Mele_M9_defconfig                      | 6 ------
 configs/Merrii_A80_Optimus_defconfig           | 6 ------
 configs/Mini-X_defconfig                       | 6 ------
 configs/Nintendo_NES_Classic_Edition_defconfig | 6 ------
 configs/Orangepi_defconfig                     | 6 ------
 configs/Orangepi_mini_defconfig                | 6 ------
 configs/Sinlinx_SinA31s_defconfig              | 6 ------
 configs/Sinlinx_SinA33_defconfig               | 5 -----
 configs/Sinovoip_BPI_M2_defconfig              | 6 ------
 configs/Sinovoip_BPI_M3_defconfig              | 6 ------
 configs/Sunchip_CX-A99_defconfig               | 6 ------
 configs/UTOO_P66_defconfig                     | 6 ------
 configs/Wexler_TAB7200_defconfig               | 6 ------
 configs/Wits_Pro_A20_DKT_defconfig             | 6 ------
 configs/Wobo_i5_defconfig                      | 6 ------
 configs/Yones_Toptech_BD1078_defconfig         | 6 ------
 configs/Yones_Toptech_BS1078_V2_defconfig      | 6 ------
 configs/a64-olinuxino-emmc_defconfig           | 6 ------
 configs/a64-olinuxino_defconfig                | 6 ------
 configs/amarula_a64_relic_defconfig            | 6 ------
 configs/ba10_tv_box_defconfig                  | 6 ------
 configs/bananapi_m1_plus_defconfig             | 5 -----
 configs/bananapi_m2_berry_defconfig            | 4 ----
 configs/bananapi_m2_plus_h3_defconfig          | 6 ------
 configs/bananapi_m2_plus_h5_defconfig          | 6 ------
 configs/bananapi_m2_zero_defconfig             | 4 ----
 configs/bananapi_m64_defconfig                 | 6 ------
 configs/beelink_gs1_defconfig                  | 5 -----
 configs/beelink_x2_defconfig                   | 5 -----
 configs/colorfly_e708_q1_defconfig             | 6 ------
 configs/difrnce_dit4350_defconfig              | 6 ------
 configs/dserve_dsrv9703c_defconfig             | 6 ------
 configs/emlid_neutis_n5_devboard_defconfig     | 5 -----
 configs/ga10h_v1_1_defconfig                   | 6 ------
 configs/gt90h_v4_defconfig                     | 6 ------
 configs/h8_homlet_v2_defconfig                 | 6 ------
 configs/i12-tvbox_defconfig                    | 6 ------
 configs/iNet_3F_defconfig                      | 6 ------
 configs/iNet_3W_defconfig                      | 6 ------
 configs/iNet_86VS_defconfig                    | 6 ------
 configs/iNet_D978_rev2_defconfig               | 6 ------
 configs/icnova-a20-swac_defconfig              | 6 ------
 configs/inet1_defconfig                        | 6 ------
 configs/inet86dz_defconfig                     | 6 ------
 configs/inet97fv2_defconfig                    | 6 ------
 configs/inet98v_rev2_defconfig                 | 6 ------
 configs/inet9f_rev03_defconfig                 | 6 ------
 configs/inet_q972_defconfig                    | 6 ------
 configs/jesurun_q5_defconfig                   | 6 ------
 configs/libretech_all_h3_cc_h2_plus_defconfig  | 6 ------
 configs/libretech_all_h3_cc_h3_defconfig       | 6 ------
 configs/libretech_all_h3_cc_h5_defconfig       | 6 ------
 configs/libretech_all_h3_it_h5_defconfig       | 6 ------
 configs/libretech_all_h5_cc_h5_defconfig       | 6 ------
 configs/mixtile_loftq_defconfig                | 6 ------
 configs/mk802_a10s_defconfig                   | 6 ------
 configs/mk802_defconfig                        | 6 ------
 configs/mk802ii_defconfig                      | 6 ------
 configs/nanopi_a64_defconfig                   | 6 ------
 configs/nanopi_m1_defconfig                    | 6 ------
 configs/nanopi_m1_plus_defconfig               | 6 ------
 configs/nanopi_neo2_defconfig                  | 6 ------
 configs/nanopi_neo_air_defconfig               | 6 ------
 configs/nanopi_neo_defconfig                   | 6 ------
 configs/nanopi_neo_plus2_defconfig             | 5 -----
 configs/oceanic_5205_5inmfd_defconfig          | 6 ------
 configs/orangepi_2_defconfig                   | 6 ------
 configs/orangepi_lite2_defconfig               | 5 -----
 configs/orangepi_lite_defconfig                | 6 ------
 configs/orangepi_one_defconfig                 | 6 ------
 configs/orangepi_one_plus_defconfig            | 5 -----
 configs/orangepi_pc2_defconfig                 | 6 ------
 configs/orangepi_pc_defconfig                  | 6 ------
 configs/orangepi_pc_plus_defconfig             | 6 ------
 configs/orangepi_plus2e_defconfig              | 6 ------
 configs/orangepi_plus_defconfig                | 6 ------
 configs/orangepi_prime_defconfig               | 6 ------
 configs/orangepi_r1_defconfig                  | 4 ----
 configs/orangepi_win_defconfig                 | 6 ------
 configs/orangepi_zero_defconfig                | 4 ----
 configs/orangepi_zero_plus2_defconfig          | 6 ------
 configs/orangepi_zero_plus2_h3_defconfig       | 5 -----
 configs/orangepi_zero_plus_defconfig           | 6 ------
 configs/parrot_r16_defconfig                   | 5 -----
 configs/pine64-lts_defconfig                   | 6 ------
 configs/pine64_plus_defconfig                  | 6 ------
 configs/pine_h64_defconfig                     | 5 -----
 configs/pinebook_defconfig                     | 5 -----
 configs/polaroid_mid2407pxe03_defconfig        | 6 ------
 configs/polaroid_mid2809pxe04_defconfig        | 6 ------
 configs/pov_protab2_ips9_defconfig             | 6 ------
 configs/q8_a13_tablet_defconfig                | 6 ------
 configs/q8_a23_tablet_800x480_defconfig        | 6 ------
 configs/q8_a33_tablet_1024x600_defconfig       | 6 ------
 configs/q8_a33_tablet_800x480_defconfig        | 6 ------
 configs/r7-tv-dongle_defconfig                 | 6 ------
 configs/sopine_baseboard_defconfig             | 6 ------
 configs/sun8i_a23_evb_defconfig                | 6 ------
 configs/sunxi_Gemei_G9_defconfig               | 6 ------
 configs/tbs_a711_defconfig                     | 5 -----
 configs/teres_i_defconfig                      | 5 -----
 disk/Kconfig                                   | 2 ++
 drivers/usb/Kconfig                            | 1 +
 155 files changed, 6 insertions(+), 872 deletions(-)

Comments

Maxime Ripard Feb. 20, 2020, 5:58 p.m. | #1
On Thu, Feb 20, 2020 at 05:51:13PM +0000, Andre Przywara wrote:
> With some recent additions and some old cruft, there are some config
> options that were defined in *almost* every board defconfig file for
> Allwinner SoCs.
> This "almost" seems to point to bugs, either those options were missed by
> mistake or failed to properly synchronise (when a new board defconfig
> comes into the tree and just missed some automatic update).
>
> This series defines those common symbols in their respective Kconfig
> files or in the ARCH_SUNXI definition, then removes them from all the
> defconfigs.
>
> This fixes those boards that suffered from a missing definition, also
> cleans up all board defconfigs by moving not-board-specific options out
> of there.
>
> Rationale for why those options are generic are given in the commit
> message of 1/2.

defconfig handling really is a pain, thanks for taking care of this

Acked-by: Maxime Ripard <mripard at kernel.org>
Maxime
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200220/9106e6e5/attachment.sig>
Jagan Teki March 18, 2020, 12:51 p.m. | #2
On Thu, Feb 20, 2020 at 11:21 PM Andre Przywara <andre.przywara at arm.com> wrote:
>
> With some recent additions and some old cruft, there are some config
> options that were defined in *almost* every board defconfig file for
> Allwinner SoCs.
> This "almost" seems to point to bugs, either those options were missed by
> mistake or failed to properly synchronise (when a new board defconfig
> comes into the tree and just missed some automatic update).
>
> This series defines those common symbols in their respective Kconfig
> files or in the ARCH_SUNXI definition, then removes them from all the
> defconfigs.
>
> This fixes those boards that suffered from a missing definition, also
> cleans up all board defconfigs by moving not-board-specific options out
> of there.
>
> Rationale for why those options are generic are given in the commit
> message of 1/2.
>
> Cheers,
> Andre
>
> Andre Przywara (2):
>   sunxi: Move common defconfig options to Kconfig
>   sunxi: Remove no longer needed default options from defconfigs

Applied to u-boot-sunxi/master