[U-Boot] [PATCH 0/3] spl: Convert MMC raw mode sector options to Kconfig

Sam Protsenko semen.protsenko at linaro.org
Thu Oct 27 18:25:53 CEST 2016


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. This command:

    $ ./tools/buildman/buildman -b master -sSdB

results in:

    Summary of 4 commits for 1216 boards (4 threads, 1 job per thread)
    01: travis-ci: Add test.py for various qemu platforms
           arm:  +   colibri_pxa270 snow smdk5250 spring
    02: spl: Convert CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR to Kconfig
    03: spl: Do not define U-Boot address on MMC if SPL is not defined
    04: spl: Remove CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS

So patchset doesn't break or alter any board.

Sam Protsenko (3):
  spl: Convert CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR to Kconfig
  spl: Do not define U-Boot address on MMC if SPL is not defined
  spl: Remove CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS

 README                                              |  5 -----
 common/spl/Kconfig                                  | 16 ++++++++++++++++
 common/spl/spl_mmc.c                                |  4 ++--
 configs/A10-OLinuXino-Lime_defconfig                |  2 ++
 configs/A10s-OLinuXino-M_defconfig                  |  2 ++
 configs/A13-OLinuXinoM_defconfig                    |  2 ++
 configs/A13-OLinuXino_defconfig                     |  2 ++
 configs/A20-OLinuXino-Lime2_defconfig               |  2 ++
 configs/A20-OLinuXino-Lime_defconfig                |  2 ++
 configs/A20-OLinuXino_MICRO_defconfig               |  2 ++
 configs/A20-Olimex-SOM-EVB_defconfig                |  2 ++
 configs/A33-OLinuXino_defconfig                     |  2 ++
 configs/Ainol_AW1_defconfig                         |  2 ++
 configs/Ampe_A76_defconfig                          |  2 ++
 configs/Auxtek-T003_defconfig                       |  2 ++
 configs/Auxtek-T004_defconfig                       |  2 ++
 configs/Bananapi_defconfig                          |  2 ++
 configs/Bananapro_defconfig                         |  2 ++
 configs/CHIP_defconfig                              |  2 ++
 configs/CSQ_CS908_defconfig                         |  2 ++
 configs/Chuwi_V7_CW0825_defconfig                   |  3 ++-
 configs/Colombus_defconfig                          |  2 ++
 configs/Cubieboard2_defconfig                       |  2 ++
 configs/Cubieboard_defconfig                        |  2 ++
 configs/Cubietruck_defconfig                        |  2 ++
 configs/Cubietruck_plus_defconfig                   |  2 ++
 configs/Empire_electronix_d709_defconfig            |  2 ++
 configs/Empire_electronix_m712_defconfig            |  2 ++
 configs/Hummingbird_A31_defconfig                   |  2 ++
 configs/Hyundai_A7HD_defconfig                      |  2 ++
 configs/Itead_Ibox_A20_defconfig                    |  2 ++
 configs/Lamobo_R1_defconfig                         |  2 ++
 configs/Linksprite_pcDuino3_Nano_defconfig          |  2 ++
 configs/Linksprite_pcDuino3_defconfig               |  2 ++
 configs/Linksprite_pcDuino_defconfig                |  2 ++
 configs/MK808C_defconfig                            |  2 ++
 configs/MSI_Primo73_defconfig                       |  2 ++
 configs/MSI_Primo81_defconfig                       |  3 ++-
 configs/Marsboard_A10_defconfig                     |  2 ++
 configs/Mele_A1000G_quad_defconfig                  |  2 ++
 configs/Mele_A1000_defconfig                        |  2 ++
 configs/Mele_I7_defconfig                           |  2 ++
 configs/Mele_M3_defconfig                           |  2 ++
 configs/Mele_M5_defconfig                           |  2 ++
 configs/Mele_M9_defconfig                           |  2 ++
 configs/Mini-X_defconfig                            |  2 ++
 configs/Orangepi_defconfig                          |  2 ++
 configs/Orangepi_mini_defconfig                     |  2 ++
 configs/Sinlinx_SinA31s_defconfig                   |  2 ++
 configs/Sinlinx_SinA33_defconfig                    |  2 ++
 configs/Sinovoip_BPI_M2_defconfig                   |  2 ++
 configs/Sinovoip_BPI_M3_defconfig                   |  2 ++
 configs/UTOO_P66_defconfig                          |  2 ++
 configs/Wexler_TAB7200_defconfig                    |  2 ++
 configs/Wits_Pro_A20_DKT_defconfig                  |  2 ++
 configs/Wobo_i5_defconfig                           |  2 ++
 configs/Yones_Toptech_BD1078_defconfig              |  2 ++
 configs/Yones_Toptech_BS1078_V2_defconfig           |  2 ++
 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              |  2 ++
 configs/at91sam9m10g45ek_nandflash_defconfig        |  2 ++
 configs/at91sam9n12ek_nandflash_defconfig           |  2 ++
 configs/at91sam9n12ek_spiflash_defconfig            |  2 ++
 configs/at91sam9x5ek_nandflash_defconfig            |  2 ++
 configs/at91sam9x5ek_spiflash_defconfig             |  2 ++
 configs/ba10_tv_box_defconfig                       |  2 ++
 configs/birdland_bav335a_defconfig                  |  1 +
 configs/birdland_bav335b_defconfig                  |  1 +
 configs/brppt1_mmc_defconfig                        |  1 +
 configs/brppt1_nand_defconfig                       |  1 +
 configs/brppt1_spi_defconfig                        |  1 +
 configs/brxre1_defconfig                            |  1 +
 configs/cairo_defconfig                             |  1 +
 configs/cgtqmx6eval_defconfig                       |  2 ++
 configs/chromebook_jerry_defconfig                  |  2 ++
 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                  |  2 ++
 configs/da850_am18xxevm_defconfig                   |  2 ++
 configs/da850evm_defconfig                          |  2 ++
 configs/db-88f6820-gp_defconfig                     |  2 ++
 configs/devkit8000_defconfig                        |  1 +
 configs/difrnce_dit4350_defconfig                   |  2 ++
 configs/dra7xx_evm_defconfig                        |  1 +
 configs/dra7xx_hs_evm_defconfig                     |  1 +
 configs/draco_defconfig                             |  1 +
 configs/dserve_dsrv9703c_defconfig                  |  2 ++
 configs/duovero_defconfig                           |  1 +
 configs/eco5pk_defconfig                            |  1 +
 configs/etamin_defconfig                            |  1 +
 configs/evb-rk3288_defconfig                        |  2 ++
 configs/fennec-rk3288_defconfig                     |  2 ++
 configs/firefly-rk3288_defconfig                    |  2 ++
 configs/ga10h_v1_1_defconfig                        |  2 ++
 configs/gt90h_v4_defconfig                          |  2 ++
 configs/gwventana_defconfig                         |  2 ++
 configs/h8_homlet_v2_defconfig                      |  2 ++
 configs/i12-tvbox_defconfig                         |  2 ++
 configs/iNet_3F_defconfig                           |  2 ++
 configs/iNet_3W_defconfig                           |  2 ++
 configs/iNet_86VS_defconfig                         |  2 ++
 configs/iNet_D978_rev2_defconfig                    |  2 ++
 configs/icnova-a20-swac_defconfig                   |  2 ++
 configs/igep0020_defconfig                          |  1 +
 configs/igep0030_defconfig                          |  1 +
 configs/igep0030_nand_defconfig                     |  1 +
 configs/igep0032_defconfig                          |  1 +
 configs/inet1_defconfig                             |  2 ++
 configs/inet86dz_defconfig                          |  2 ++
 configs/inet97fv2_defconfig                         |  2 ++
 configs/inet98v_rev2_defconfig                      |  2 ++
 configs/inet9f_rev03_defconfig                      |  2 ++
 configs/inet_q972_defconfig                         |  2 ++
 configs/jesurun_q5_defconfig                        |  2 ++
 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 ++
 configs/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                    |  2 ++
 configs/mixtile_loftq_defconfig                     |  2 ++
 configs/mk802_a10s_defconfig                        |  2 ++
 configs/mk802_defconfig                             |  2 ++
 configs/mk802ii_defconfig                           |  2 ++
 configs/mt_ventoux_defconfig                        |  1 +
 configs/mx6cuboxi_defconfig                         |  4 +++-
 configs/mx6sabresd_spl_defconfig                    |  2 ++
 configs/mx6slevk_spl_defconfig                      |  2 ++
 configs/mx6sxsabresd_spl_defconfig                  |  2 ++
 configs/mx6ul_14x14_evk_defconfig                   |  2 ++
 configs/mx6ul_9x9_evk_defconfig                     |  2 ++
 configs/nanopi_neo_defconfig                        |  2 ++
 configs/novena_defconfig                            |  2 ++
 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                        |  2 ++
 configs/orangepi_lite_defconfig                     |  2 ++
 configs/orangepi_one_defconfig                      |  2 ++
 configs/orangepi_pc_defconfig                       |  2 ++
 configs/orangepi_pc_plus_defconfig                  |  2 ++
 configs/orangepi_plus2e_defconfig                   |  2 ++
 configs/orangepi_plus_defconfig                     |  2 ++
 configs/ot1200_spl_defconfig                        |  2 ++
 configs/parrot_r16_defconfig                        |  2 ++
 configs/pcm051_rev1_defconfig                       |  1 +
 configs/pcm051_rev3_defconfig                       |  1 +
 configs/pcm058_defconfig                            |  2 ++
 configs/pengwyn_defconfig                           |  1 +
 configs/pepper_defconfig                            |  1 +
 configs/picosam9g45_defconfig                       |  2 ++
 configs/platinum_picon_defconfig                    |  2 ++
 configs/platinum_titanium_defconfig                 |  2 ++
 configs/polaroid_mid2407pxe03_defconfig             |  2 ++
 configs/polaroid_mid2809pxe04_defconfig             |  2 ++
 configs/popmetal-rk3288_defconfig                   |  2 ++
 configs/pov_protab2_ips9_defconfig                  |  2 ++
 configs/pxm2_defconfig                              |  1 +
 configs/q8_a13_tablet_defconfig                     |  2 ++
 configs/q8_a23_tablet_800x480_defconfig             |  2 ++
 configs/q8_a33_tablet_1024x600_defconfig            |  2 ++
 configs/q8_a33_tablet_800x480_defconfig             |  2 ++
 configs/r7-tv-dongle_defconfig                      |  2 ++
 configs/rastaban_defconfig                          |  1 +
 configs/rock2_defconfig                             |  2 ++
 configs/rut_defconfig                               |  1 +
 configs/sama5d2_xplained_mmc_defconfig              |  2 ++
 configs/sama5d2_xplained_spiflash_defconfig         |  2 ++
 configs/sama5d3_xplained_mmc_defconfig              |  2 ++
 configs/sama5d3_xplained_nandflash_defconfig        |  2 ++
 configs/sama5d3xek_mmc_defconfig                    |  2 ++
 configs/sama5d3xek_nandflash_defconfig              |  2 ++
 configs/sama5d3xek_spiflash_defconfig               |  2 ++
 configs/sama5d4_xplained_mmc_defconfig              |  2 ++
 configs/sama5d4_xplained_nandflash_defconfig        |  2 ++
 configs/sama5d4_xplained_spiflash_defconfig         |  2 ++
 configs/sama5d4ek_mmc_defconfig                     |  2 ++
 configs/sama5d4ek_nandflash_defconfig               |  2 ++
 configs/sama5d4ek_spiflash_defconfig                |  2 ++
 configs/socfpga_arria5_defconfig                    |  2 ++
 configs/socfpga_cyclone5_defconfig                  |  2 ++
 configs/socfpga_de0_nano_soc_defconfig              |  2 ++
 configs/socfpga_is1_defconfig                       |  2 ++
 configs/socfpga_mcvevk_defconfig                    |  2 ++
 configs/socfpga_sockit_defconfig                    |  2 ++
 configs/socfpga_socrates_defconfig                  |  2 ++
 configs/socfpga_sr1500_defconfig                    |  2 ++
 configs/socfpga_vining_fpga_defconfig               |  2 ++
 configs/sunxi_Gemei_G9_defconfig                    |  2 ++
 configs/tao3530_defconfig                           |  1 +
 configs/thuban_defconfig                            |  1 +
 configs/ti814x_evm_defconfig                        |  1 +
 configs/ti816x_evm_defconfig                        |  1 +
 configs/tricorder_defconfig                         |  1 +
 configs/tricorder_flash_defconfig                   |  1 +
 configs/twister_defconfig                           |  1 +
 configs/udoo_defconfig                              |  2 ++
 configs/uniphier_ld11_defconfig                     |  2 ++
 configs/uniphier_ld20_defconfig                     |  2 ++
 configs/uniphier_ld4_sld8_defconfig                 |  2 ++
 configs/uniphier_pro4_defconfig                     |  2 ++
 configs/uniphier_pxs2_ld6b_defconfig                |  2 ++
 configs/uniphier_sld3_defconfig                     |  2 ++
 configs/wandboard_defconfig                         |  2 ++
 configs/woodburn_sd_defconfig                       |  2 ++
 configs/xpress_spl_defconfig                        |  2 ++
 configs/zc5202_defconfig                            |  2 ++
 configs/zc5601_defconfig                            |  2 ++
 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 --
 314 files changed, 465 insertions(+), 112 deletions(-)

-- 
2.9.3



More information about the U-Boot mailing list