This series accomplishes next:

  1. Convert CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR option to Kconfig
  2. Remove CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR from boards that
     don't build SPL
  3. Add CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR bool option, which
     can be tested with #ifdef
  4. Remove CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS option, as it's not used

All patches were tested with buildman tool, proving they are not breaking
or changing any board.

Changes in v4:
  - PATCH 1/2: remove TARGET_* from Kconfig default section
Changes in v3:
  - PATCH 1/2: add USE_SECTOR to missed boards (reported by buildman):
Changes in v2:
  - PATCH 1/2: merge "SPL dependency" patch
  - PATCH 1/2: add defaults for common architectures/targets

Sam Protsenko (2):
  spl: Convert CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR to Kconfig
  spl: Remove CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS

 README                                             |  5 ---
 common/spl/Kconfig                                 | 24 ++++++++++++
 common/spl/spl_mmc.c                               |  4 +-
 configs/A10-OLinuXino-Lime_defconfig               |  1 +
 configs/A10s-OLinuXino-M_defconfig                 |  1 +
 configs/A13-OLinuXinoM_defconfig                   |  1 +
 configs/A13-OLinuXino_defconfig                    |  1 +
 configs/A20-OLinuXino-Lime2_defconfig              |  1 +
 configs/A20-OLinuXino-Lime_defconfig               |  1 +
 configs/A20-OLinuXino_MICRO_defconfig              |  1 +
 configs/A20-Olimex-SOM-EVB_defconfig               |  1 +
 configs/A33-OLinuXino_defconfig                    |  1 +
 configs/Ainol_AW1_defconfig                        |  1 +
 configs/Ampe_A76_defconfig                         |  1 +
 configs/Auxtek-T003_defconfig                      |  1 +
 configs/Auxtek-T004_defconfig                      |  1 +
 configs/Bananapi_defconfig                         |  1 +
 configs/Bananapro_defconfig                        |  1 +
 configs/CHIP_defconfig                             |  1 +
 configs/CSQ_CS908_defconfig                        |  1 +
 configs/Chuwi_V7_CW0825_defconfig                  |  2 +-
 configs/Colombus_defconfig                         |  1 +
 configs/Cubieboard2_defconfig                      |  1 +
 configs/Cubieboard4_defconfig                      |  1 +
 configs/Cubieboard_defconfig                       |  1 +
 configs/Cubietruck_defconfig                       |  1 +
 configs/Cubietruck_plus_defconfig                  |  1 +
 configs/Empire_electronix_d709_defconfig           |  1 +
 configs/Empire_electronix_m712_defconfig           |  1 +
 configs/Hummingbird_A31_defconfig                  |  1 +
 configs/Hyundai_A7HD_defconfig                     |  1 +
 configs/Itead_Ibox_A20_defconfig                   |  1 +
 configs/Lamobo_R1_defconfig                        |  1 +
 configs/Linksprite_pcDuino3_Nano_defconfig         |  1 +
 configs/Linksprite_pcDuino3_defconfig              |  1 +
 configs/Linksprite_pcDuino_defconfig               |  1 +
 configs/MK808C_defconfig                           |  1 +
 configs/MSI_Primo73_defconfig                      |  1 +
 configs/MSI_Primo81_defconfig                      |  2 +-
 configs/Marsboard_A10_defconfig                    |  1 +
 configs/Mele_A1000G_quad_defconfig                 |  1 +
 configs/Mele_A1000_defconfig                       |  1 +
 configs/Mele_I7_defconfig                          |  1 +
 configs/Mele_M3_defconfig                          |  1 +
 configs/Mele_M5_defconfig                          |  1 +
 configs/Mele_M9_defconfig                          |  1 +
 configs/Merrii_A80_Optimus_defconfig               |  1 +
 configs/Mini-X_defconfig                           |  1 +
 configs/Orangepi_defconfig                         |  1 +
 configs/Orangepi_mini_defconfig                    |  1 +
 configs/Sinlinx_SinA31s_defconfig                  |  1 +
 configs/Sinlinx_SinA33_defconfig                   |  1 +
 configs/Sinovoip_BPI_M2_defconfig                  |  1 +
 configs/Sinovoip_BPI_M3_defconfig                  |  1 +
 configs/UTOO_P66_defconfig                         |  1 +
 configs/Wexler_TAB7200_defconfig                   |  1 +
 configs/Wits_Pro_A20_DKT_defconfig                 |  1 +
 configs/Wobo_i5_defconfig                          |  1 +
 configs/Yones_Toptech_BD1078_defconfig             |  1 +
 configs/Yones_Toptech_BS1078_V2_defconfig          |  1 +
 configs/am335x_baltos_defconfig                    |  1 +
 configs/am335x_boneblack_defconfig                 |  1 +
 configs/am335x_boneblack_vboot_defconfig           |  1 +
 configs/am335x_evm_defconfig                       |  1 +
 configs/am335x_evm_nor_defconfig                   |  1 +
 configs/am335x_evm_spiboot_defconfig               |  1 +
 configs/am335x_evm_usbspl_defconfig                |  1 +
 configs/am335x_igep0033_defconfig                  |  1 +
 configs/am335x_shc_defconfig                       |  1 +
 configs/am335x_shc_ict_defconfig                   |  1 +
 configs/am335x_shc_netboot_defconfig               |  1 +
 configs/am335x_shc_prompt_defconfig                |  1 +
 configs/am335x_shc_sdboot_defconfig                |  1 +
 configs/am335x_shc_sdboot_prompt_defconfig         |  1 +
 configs/am335x_sl50_defconfig                      |  1 +
 configs/am3517_crane_defconfig                     |  1 +
 configs/am3517_evm_defconfig                       |  1 +
 configs/am43xx_evm_defconfig                       |  1 +
 configs/am43xx_evm_ethboot_defconfig               |  1 +
 configs/am43xx_evm_usbhost_boot_defconfig          |  1 +
 configs/am43xx_hs_evm_defconfig                    |  1 +
 configs/am57xx_evm_defconfig                       |  1 +
 configs/am57xx_evm_nodt_defconfig                  |  1 +
 configs/am57xx_hs_evm_defconfig                    |  1 +
 configs/at91sam9m10g45ek_mmc_defconfig             |  1 +
 configs/at91sam9m10g45ek_nandflash_defconfig       |  1 +
 configs/at91sam9n12ek_nandflash_defconfig          |  1 +
 configs/at91sam9n12ek_spiflash_defconfig           |  1 +
 configs/at91sam9x5ek_nandflash_defconfig           |  1 +
 configs/at91sam9x5ek_spiflash_defconfig            |  1 +
 configs/ba10_tv_box_defconfig                      |  1 +
 configs/birdland_bav335a_defconfig                 |  1 +
 configs/birdland_bav335b_defconfig                 |  1 +
 configs/brppt1_mmc_defconfig                       |  2 +
 configs/brppt1_nand_defconfig                      |  2 +
 configs/brppt1_spi_defconfig                       |  2 +
 configs/brxre1_defconfig                           |  2 +
 configs/cairo_defconfig                            |  1 +
 configs/cgtqmx6eval_defconfig                      |  1 +
 configs/chromebook_jerry_defconfig                 |  1 +
 configs/clearfog_defconfig                         |  2 +
 configs/cm_fx6_defconfig                           |  2 +
 configs/cm_t335_defconfig                          |  1 +
 configs/cm_t35_defconfig                           |  1 +
 configs/cm_t43_defconfig                           |  2 +
 configs/cm_t54_defconfig                           |  2 +
 configs/colorfly_e708_q1_defconfig                 |  1 +
 configs/da850_am18xxevm_defconfig                  |  1 +
 configs/da850evm_defconfig                         |  1 +
 configs/db-88f6820-gp_defconfig                    |  1 +
 configs/devkit8000_defconfig                       |  1 +
 configs/difrnce_dit4350_defconfig                  |  1 +
 configs/dra7xx_evm_defconfig                       |  1 +
 configs/dra7xx_hs_evm_defconfig                    |  1 +
 configs/draco_defconfig                            |  2 +
 configs/dserve_dsrv9703c_defconfig                 |  1 +
 configs/duovero_defconfig                          |  1 +
 configs/eco5pk_defconfig                           |  1 +
 configs/etamin_defconfig                           |  2 +
 configs/evb-rk3288_defconfig                       |  1 +
 configs/fennec-rk3288_defconfig                    |  1 +
 configs/firefly-rk3288_defconfig                   |  1 +
 configs/ga10h_v1_1_defconfig                       |  1 +
 configs/gt90h_v4_defconfig                         |  1 +
 configs/gwventana_defconfig                        |  1 +
 configs/h8_homlet_v2_defconfig                     |  1 +
 configs/i12-tvbox_defconfig                        |  1 +
 configs/iNet_3F_defconfig                          |  1 +
 configs/iNet_3W_defconfig                          |  1 +
 configs/iNet_86VS_defconfig                        |  1 +
 configs/iNet_D978_rev2_defconfig                   |  1 +
 configs/icnova-a20-swac_defconfig                  |  1 +
 configs/igep0020_defconfig                         |  1 +
 configs/igep0030_defconfig                         |  1 +
 configs/igep0030_nand_defconfig                    |  1 +
 configs/igep0032_defconfig                         |  1 +
 configs/imx6qdl_icore_mmc_defconfig                | 44 ++++++++++------------
 configs/inet1_defconfig                            |  1 +
 configs/inet86dz_defconfig                         |  1 +
 configs/inet97fv2_defconfig                        |  1 +
 configs/inet98v_rev2_defconfig                     |  1 +
 configs/inet9f_rev03_defconfig                     |  1 +
 configs/inet_q972_defconfig                        |  1 +
 configs/jesurun_q5_defconfig                       |  1 +
 configs/k2e_evm_defconfig                          |  1 +
 configs/k2g_evm_defconfig                          |  1 +
 configs/k2hk_evm_defconfig                         |  1 +
 configs/k2l_evm_defconfig                          |  1 +
 configs/ls1021aqds_nand_defconfig                  |  2 +
 configs/ls1021aqds_sdcard_ifc_defconfig            |  2 +
 configs/ls1021aqds_sdcard_qspi_defconfig           |  2 +
 .../ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig    |  2 +
 configs/ls1021atwr_sdcard_ifc_defconfig            |  2 +
 configs/ls1021atwr_sdcard_qspi_defconfig           |  2 +
 configs/ls1043aqds_nand_defconfig                  |  2 +
 configs/ls1043aqds_sdcard_ifc_defconfig            |  2 +
 configs/ls1043aqds_sdcard_qspi_defconfig           |  2 +
 configs/ls1043ardb_nand_defconfig                  |  2 +
 configs/ls1043ardb_sdcard_defconfig                |  2 +
 configs/ls1046aqds_nand_defconfig                  |  2 +
 configs/ls1046aqds_sdcard_ifc_defconfig            |  2 +
 configs/ls1046aqds_sdcard_qspi_defconfig           |  2 +
 configs/ls1046ardb_emmc_defconfig                  |  2 +
 configs/ls1046ardb_sdcard_defconfig                |  2 +
 configs/mcx_defconfig                              |  1 +
 configs/miniarm-rk3288_defconfig                   |  1 +
 configs/mixtile_loftq_defconfig                    |  1 +
 configs/mk802_a10s_defconfig                       |  1 +
 configs/mk802_defconfig                            |  1 +
 configs/mk802ii_defconfig                          |  1 +
 configs/mt_ventoux_defconfig                       |  1 +
 configs/mx6cuboxi_defconfig                        |  3 +-
 configs/mx6sabresd_spl_defconfig                   |  1 +
 configs/mx6slevk_spl_defconfig                     |  1 +
 configs/mx6sxsabresd_spl_defconfig                 |  1 +
 configs/mx6ul_14x14_evk_defconfig                  |  1 +
 configs/mx6ul_9x9_evk_defconfig                    |  1 +
 configs/nanopi_neo_defconfig                       |  1 +
 configs/novena_defconfig                           |  1 +
 configs/omap3_beagle_defconfig                     |  1 +
 configs/omap3_evm_defconfig                        |  1 +
 configs/omap3_ha_defconfig                         |  1 +
 configs/omap3_logic_defconfig                      |  1 +
 configs/omap3_overo_defconfig                      |  1 +
 configs/omap4_panda_defconfig                      |  1 +
 configs/omap4_sdp4430_defconfig                    |  1 +
 configs/omap5_uevm_defconfig                       |  1 +
 configs/orangepi_2_defconfig                       |  1 +
 configs/orangepi_lite_defconfig                    |  1 +
 configs/orangepi_one_defconfig                     |  1 +
 configs/orangepi_pc_defconfig                      |  1 +
 configs/orangepi_pc_plus_defconfig                 |  1 +
 configs/orangepi_plus2e_defconfig                  |  1 +
 configs/orangepi_plus_defconfig                    |  1 +
 configs/ot1200_spl_defconfig                       |  1 +
 configs/parrot_r16_defconfig                       |  1 +
 configs/pcm051_rev1_defconfig                      |  1 +
 configs/pcm051_rev3_defconfig                      |  1 +
 configs/pcm058_defconfig                           |  1 +
 configs/pengwyn_defconfig                          |  1 +
 configs/pepper_defconfig                           |  1 +
 configs/picosam9g45_defconfig                      |  1 +
 configs/platinum_picon_defconfig                   |  1 +
 configs/platinum_titanium_defconfig                |  1 +
 configs/polaroid_mid2407pxe03_defconfig            |  1 +
 configs/polaroid_mid2809pxe04_defconfig            |  1 +
 configs/popmetal-rk3288_defconfig                  |  1 +
 configs/pov_protab2_ips9_defconfig                 |  1 +
 configs/pxm2_defconfig                             |  2 +
 configs/q8_a13_tablet_defconfig                    |  1 +
 configs/q8_a23_tablet_800x480_defconfig            |  1 +
 configs/q8_a33_tablet_1024x600_defconfig           |  1 +
 configs/q8_a33_tablet_800x480_defconfig            |  1 +
 configs/r7-tv-dongle_defconfig                     |  1 +
 configs/rastaban_defconfig                         |  2 +
 configs/rock2_defconfig                            |  1 +
 configs/rut_defconfig                              |  2 +
 configs/sama5d2_xplained_mmc_defconfig             |  9 ++---
 configs/sama5d2_xplained_spiflash_defconfig        |  7 ++--
 configs/sama5d3_xplained_mmc_defconfig             |  1 +
 configs/sama5d3_xplained_nandflash_defconfig       |  1 +
 configs/sama5d3xek_mmc_defconfig                   |  1 +
 configs/sama5d3xek_nandflash_defconfig             |  1 +
 configs/sama5d3xek_spiflash_defconfig              |  1 +
 configs/sama5d4_xplained_mmc_defconfig             |  1 +
 configs/sama5d4_xplained_nandflash_defconfig       |  1 +
 configs/sama5d4_xplained_spiflash_defconfig        |  1 +
 configs/sama5d4ek_mmc_defconfig                    |  1 +
 configs/sama5d4ek_nandflash_defconfig              |  1 +
 configs/sama5d4ek_spiflash_defconfig               |  1 +
 configs/socfpga_arria5_defconfig                   |  1 +
 configs/socfpga_cyclone5_defconfig                 |  1 +
 configs/socfpga_de0_nano_soc_defconfig             |  1 +
 configs/socfpga_is1_defconfig                      |  1 +
 configs/socfpga_mcvevk_defconfig                   |  1 +
 configs/socfpga_sockit_defconfig                   |  1 +
 configs/socfpga_socrates_defconfig                 |  1 +
 configs/socfpga_sr1500_defconfig                   |  1 +
 configs/socfpga_vining_fpga_defconfig              |  1 +
 configs/sunxi_Gemei_G9_defconfig                   |  1 +
 configs/tao3530_defconfig                          |  1 +
 configs/thuban_defconfig                           |  2 +
 configs/ti814x_evm_defconfig                       |  2 +
 configs/ti816x_evm_defconfig                       |  2 +
 configs/tricorder_defconfig                        |  1 +
 configs/tricorder_flash_defconfig                  |  1 +
 configs/twister_defconfig                          |  1 +
 configs/udoo_defconfig                             |  1 +
 configs/uniphier_ld11_defconfig                    |  1 +
 configs/uniphier_ld20_defconfig                    |  1 +
 configs/uniphier_ld4_sld8_defconfig                |  1 +
 configs/uniphier_pro4_defconfig                    |  1 +
 configs/uniphier_pxs2_ld6b_defconfig               |  1 +
 configs/uniphier_sld3_defconfig                    |  1 +
 configs/wandboard_defconfig                        |  1 +
 configs/woodburn_sd_defconfig                      |  2 +
 configs/xpress_spl_defconfig                       |  1 +
 configs/zc5202_defconfig                           |  3 +-
 configs/zc5601_defconfig                           |  3 +-
 configs/zynq_microzed_defconfig                    |  1 +
 configs/zynq_picozed_defconfig                     |  1 +
 configs/zynq_zc702_defconfig                       |  1 +
 configs/zynq_zc706_defconfig                       |  1 +
 configs/zynq_zc770_xm010_defconfig                 |  1 +
 configs/zynq_zc770_xm011_defconfig                 |  1 +
 configs/zynq_zc770_xm012_defconfig                 |  1 +
 configs/zynq_zc770_xm013_defconfig                 |  1 +
 configs/zynq_zed_defconfig                         |  1 +
 configs/zynq_zybo_defconfig                        |  1 +
 include/configs/am3517_crane.h                     |  2 -
 include/configs/am3517_evm.h                       |  2 -
 include/configs/at91sam9m10g45ek.h                 |  2 -
 include/configs/at91sam9n12ek.h                    |  2 -
 include/configs/at91sam9x5ek.h                     |  2 -
 include/configs/brppt1.h                           |  3 --
 include/configs/brxre1.h                           |  3 --
 include/configs/clearfog.h                         |  3 --
 include/configs/cm_fx6.h                           |  3 --
 include/configs/cm_t35.h                           |  2 -
 include/configs/cm_t43.h                           |  2 -
 include/configs/cm_t54.h                           |  7 ----
 include/configs/da850evm.h                         |  1 -
 include/configs/db-88f6820-gp.h                    |  2 -
 include/configs/draco.h                            |  2 -
 include/configs/etamin.h                           |  2 -
 include/configs/imx6_spl.h                         |  4 +-
 include/configs/ls1021aqds.h                       |  2 -
 include/configs/ls1021atwr.h                       |  7 +---
 include/configs/ls1043a_common.h                   |  2 -
 include/configs/ls1046a_common.h                   |  2 -
 include/configs/mcx.h                              |  1 -
 include/configs/omap3_evm.h                        |  2 -
 include/configs/picosam9g45.h                      |  2 -
 include/configs/pxm2.h                             |  2 -
 include/configs/rastaban.h                         |  2 -
 include/configs/rk3288_common.h                    |  1 -
 include/configs/rk3399_common.h                    |  1 -
 include/configs/rut.h                              |  2 -
 include/configs/sama5d2_xplained.h                 |  2 -
 include/configs/sama5d3_xplained.h                 |  2 -
 include/configs/sama5d3xek.h                       |  2 -
 include/configs/sama5d4_xplained.h                 |  2 -
 include/configs/sama5d4ek.h                        |  2 -
 include/configs/siemens-am33x-common.h             |  1 -
 include/configs/socfpga_common.h                   |  1 -
 include/configs/sunxi-common.h                     |  1 -
 include/configs/tam3517-common.h                   |  1 -
 include/configs/tao3530.h                          |  2 -
 include/configs/thuban.h                           |  2 -
 include/configs/ti814x_evm.h                       |  2 -
 include/configs/ti816x_evm.h                       |  2 -
 include/configs/ti_armv7_common.h                  |  4 --
 include/configs/tricorder.h                        |  1 -
 include/configs/uniphier.h                         |  1 -
 include/configs/woodburn_sd.h                      |  2 -
 include/configs/zynq-common.h                      |  2 -
 scripts/config_whitelist.txt                       |  2 -
 317 files changed, 354 insertions(+), 147 deletions(-)

-- 
2.9.3

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to