diff mbox

[v2,1/2] spl: Convert CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR to Kconfig

Message ID 20161031173911.9442-2-semen.protsenko@linaro.org
State Superseded
Headers show

Commit Message

Sam Protsenko Oct. 31, 2016, 5:39 p.m. UTC
Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>

---
Changes in v2:
  - merge "SPL dependency" patch
  - add defaults for common architectures/targets

 README                                             |  5 ++--
 common/spl/Kconfig                                 | 30 ++++++++++++++++++++++
 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/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/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                       |  1 +
 configs/brppt1_nand_defconfig                      |  1 +
 configs/brppt1_spi_defconfig                       |  1 +
 configs/brxre1_defconfig                           |  1 +
 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                            |  1 +
 configs/dserve_dsrv9703c_defconfig                 |  1 +
 configs/duovero_defconfig                          |  1 +
 configs/eco5pk_defconfig                           |  1 +
 configs/etamin_defconfig                           |  1 +
 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/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                  |  1 +
 configs/ls1021aqds_sdcard_ifc_defconfig            |  1 +
 configs/ls1021aqds_sdcard_qspi_defconfig           |  1 +
 .../ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig    |  1 +
 configs/ls1021atwr_sdcard_ifc_defconfig            |  1 +
 configs/ls1021atwr_sdcard_qspi_defconfig           |  1 +
 configs/ls1043aqds_nand_defconfig                  |  1 +
 configs/ls1043aqds_sdcard_ifc_defconfig            |  1 +
 configs/ls1043aqds_sdcard_qspi_defconfig           |  1 +
 configs/ls1043ardb_nand_defconfig                  |  1 +
 configs/ls1043ardb_sdcard_defconfig                |  1 +
 configs/ls1046aqds_nand_defconfig                  |  1 +
 configs/ls1046aqds_sdcard_ifc_defconfig            |  1 +
 configs/ls1046aqds_sdcard_qspi_defconfig           |  1 +
 configs/ls1046ardb_emmc_defconfig                  |  1 +
 configs/ls1046ardb_sdcard_defconfig                |  1 +
 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                             |  1 +
 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                         |  1 +
 configs/rock2_defconfig                            |  1 +
 configs/rut_defconfig                              |  1 +
 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                           |  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                             |  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                      |  1 +
 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                     |  1 -
 include/configs/am3517_evm.h                       |  1 -
 include/configs/at91sam9m10g45ek.h                 |  1 -
 include/configs/at91sam9n12ek.h                    |  1 -
 include/configs/at91sam9x5ek.h                     |  1 -
 include/configs/brppt1.h                           |  1 -
 include/configs/brxre1.h                           |  1 -
 include/configs/clearfog.h                         |  2 --
 include/configs/cm_fx6.h                           |  2 --
 include/configs/cm_t35.h                           |  1 -
 include/configs/cm_t43.h                           |  2 --
 include/configs/cm_t54.h                           |  2 --
 include/configs/da850evm.h                         |  1 -
 include/configs/db-88f6820-gp.h                    |  1 -
 include/configs/imx6_spl.h                         |  1 -
 include/configs/ls1021aqds.h                       |  1 -
 include/configs/ls1021atwr.h                       |  1 -
 include/configs/ls1043a_common.h                   |  1 -
 include/configs/ls1046a_common.h                   |  1 -
 include/configs/mcx.h                              |  1 -
 include/configs/omap3_evm.h                        |  1 -
 include/configs/picosam9g45.h                      |  1 -
 include/configs/rk3288_common.h                    |  1 -
 include/configs/rk3399_common.h                    |  1 -
 include/configs/sama5d2_xplained.h                 |  1 -
 include/configs/sama5d3_xplained.h                 |  1 -
 include/configs/sama5d3xek.h                       |  1 -
 include/configs/sama5d4_xplained.h                 |  1 -
 include/configs/sama5d4ek.h                        |  1 -
 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                          |  1 -
 include/configs/ti814x_evm.h                       |  1 -
 include/configs/ti816x_evm.h                       |  1 -
 include/configs/ti_armv7_common.h                  |  1 -
 include/configs/tricorder.h                        |  1 -
 include/configs/uniphier.h                         |  1 -
 include/configs/woodburn_sd.h                      |  1 -
 include/configs/zynq-common.h                      |  1 -
 scripts/config_whitelist.txt                       |  1 -
 308 files changed, 309 insertions(+), 65 deletions(-)

-- 
2.9.3

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

Comments

Sam Protsenko Nov. 1, 2016, 1:50 p.m. UTC | #1
Please see v3 of this patch.

On Mon, Oct 31, 2016 at 7:39 PM, Sam Protsenko
<semen.protsenko@linaro.org> wrote:
> Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>

> ---

> Changes in v2:

>   - merge "SPL dependency" patch

>   - add defaults for common architectures/targets

>

>  README                                             |  5 ++--

>  common/spl/Kconfig                                 | 30 ++++++++++++++++++++++

>  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/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/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                       |  1 +

>  configs/brppt1_nand_defconfig                      |  1 +

>  configs/brppt1_spi_defconfig                       |  1 +

>  configs/brxre1_defconfig                           |  1 +

>  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                            |  1 +

>  configs/dserve_dsrv9703c_defconfig                 |  1 +

>  configs/duovero_defconfig                          |  1 +

>  configs/eco5pk_defconfig                           |  1 +

>  configs/etamin_defconfig                           |  1 +

>  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/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                  |  1 +

>  configs/ls1021aqds_sdcard_ifc_defconfig            |  1 +

>  configs/ls1021aqds_sdcard_qspi_defconfig           |  1 +

>  .../ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig    |  1 +

>  configs/ls1021atwr_sdcard_ifc_defconfig            |  1 +

>  configs/ls1021atwr_sdcard_qspi_defconfig           |  1 +

>  configs/ls1043aqds_nand_defconfig                  |  1 +

>  configs/ls1043aqds_sdcard_ifc_defconfig            |  1 +

>  configs/ls1043aqds_sdcard_qspi_defconfig           |  1 +

>  configs/ls1043ardb_nand_defconfig                  |  1 +

>  configs/ls1043ardb_sdcard_defconfig                |  1 +

>  configs/ls1046aqds_nand_defconfig                  |  1 +

>  configs/ls1046aqds_sdcard_ifc_defconfig            |  1 +

>  configs/ls1046aqds_sdcard_qspi_defconfig           |  1 +

>  configs/ls1046ardb_emmc_defconfig                  |  1 +

>  configs/ls1046ardb_sdcard_defconfig                |  1 +

>  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                             |  1 +

>  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                         |  1 +

>  configs/rock2_defconfig                            |  1 +

>  configs/rut_defconfig                              |  1 +

>  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                           |  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                             |  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                      |  1 +

>  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                     |  1 -

>  include/configs/am3517_evm.h                       |  1 -

>  include/configs/at91sam9m10g45ek.h                 |  1 -

>  include/configs/at91sam9n12ek.h                    |  1 -

>  include/configs/at91sam9x5ek.h                     |  1 -

>  include/configs/brppt1.h                           |  1 -

>  include/configs/brxre1.h                           |  1 -

>  include/configs/clearfog.h                         |  2 --

>  include/configs/cm_fx6.h                           |  2 --

>  include/configs/cm_t35.h                           |  1 -

>  include/configs/cm_t43.h                           |  2 --

>  include/configs/cm_t54.h                           |  2 --

>  include/configs/da850evm.h                         |  1 -

>  include/configs/db-88f6820-gp.h                    |  1 -

>  include/configs/imx6_spl.h                         |  1 -

>  include/configs/ls1021aqds.h                       |  1 -

>  include/configs/ls1021atwr.h                       |  1 -

>  include/configs/ls1043a_common.h                   |  1 -

>  include/configs/ls1046a_common.h                   |  1 -

>  include/configs/mcx.h                              |  1 -

>  include/configs/omap3_evm.h                        |  1 -

>  include/configs/picosam9g45.h                      |  1 -

>  include/configs/rk3288_common.h                    |  1 -

>  include/configs/rk3399_common.h                    |  1 -

>  include/configs/sama5d2_xplained.h                 |  1 -

>  include/configs/sama5d3_xplained.h                 |  1 -

>  include/configs/sama5d3xek.h                       |  1 -

>  include/configs/sama5d4_xplained.h                 |  1 -

>  include/configs/sama5d4ek.h                        |  1 -

>  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                          |  1 -

>  include/configs/ti814x_evm.h                       |  1 -

>  include/configs/ti816x_evm.h                       |  1 -

>  include/configs/ti_armv7_common.h                  |  1 -

>  include/configs/tricorder.h                        |  1 -

>  include/configs/uniphier.h                         |  1 -

>  include/configs/woodburn_sd.h                      |  1 -

>  include/configs/zynq-common.h                      |  1 -

>  scripts/config_whitelist.txt                       |  1 -

>  308 files changed, 309 insertions(+), 65 deletions(-)

>

> diff --git a/README b/README

> index 39a3042..d838b9e 100644

> --- a/README

> +++ b/README

> @@ -3338,9 +3338,8 @@ FIT uImage format:

>                 CONFIG_SPL_INIT_MINIMAL

>                 Arch init code should be built for a very small image

>

> -               CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR,

> -               CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS,

> -               Address and partition on the MMC to load U-Boot from

> +               CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS

> +               Size of partition on the MMC to load U-Boot from

>                 when the MMC is being used in raw mode.

>

>                 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION

> diff --git a/common/spl/Kconfig b/common/spl/Kconfig

> index bb99f1f..1ecc6ff 100644

> --- a/common/spl/Kconfig

> +++ b/common/spl/Kconfig

> @@ -70,6 +70,36 @@ config SPL_DISPLAY_PRINT

>           banner ("U-Boot SPL ..."). This function should be provided by

>           the board.

>

> +config SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR

> +       bool "MMC raw mode: by sector"

> +       depends on SPL

> +       default n

> +       help

> +         Use sector number for specifying U-Boot location on MMC/SD in

> +         raw mode.

> +

> +config SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR

> +       hex "Address on the MMC to load U-Boot from"

> +       depends on SPL && SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR

> +       default 0x50 if ARCH_SUNXI

> +       default 0x75 if ARCH_DAVINCI

> +       default 0x80 if ARCH_UNIPHIER

> +       default 0x8a if ARCH_MX6

> +       default 0xe8 if TARGET_LS1021AQDS || TARGET_LS1021ATWR

> +       default 0xf0 if TARGET_LS1043AQDS || TARGET_LS1043ARDB

> +       default 0x100 if ARCH_ROCKCHIP || TARGET_WOODBURN_SD

> +       default 0x110 if TARGET_LS1046AQDS || TARGET_LS1046ARDB

> +       default 0x140 if ARCH_MVEBU

> +       default 0x200 if ARCH_SOCFPGA || ARCH_AT91

> +       default 0x300 if ARCH_ZYNQ || ARCH_KEYSTONE || OMAP34XX || OMAP44XX || \

> +                        OMAP54XX || AM33XX || AM43XX || TARGET_BRPPT1 || \

> +                        TARGET_BRXRE1 || TARGET_DRACO || TARGET_ETAMIN || \

> +                        TARGET_PXM2 || TARGET_RASTABAN || TARGET_RUT || \

> +                        TARGET_THUBAN || TARGET_TI814X_EVM || TARGET_TI816X_EVM

> +       help

> +         Address on the MMC to load U-Boot from, when the MMC is being used

> +         in raw mode. Units: MMC sectors (1 sector = 512 bytes).

> +

>  config TPL

>         bool

>         depends on SPL && SUPPORT_TPL

> diff --git a/common/spl/spl_mmc.c b/common/spl/spl_mmc.c

> index c674e61..0b681c2 100644

> --- a/common/spl/spl_mmc.c

> +++ b/common/spl/spl_mmc.c

> @@ -165,7 +165,7 @@ static int mmc_load_image_raw_partition(struct spl_image_info *spl_image,

>                 return -1;

>         }

>

> -#ifdef CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR

> +#ifdef CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR

>         return mmc_load_image_raw_sector(spl_image, mmc,

>                         info.start + CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR);

>  #else

> @@ -327,7 +327,7 @@ static int spl_mmc_load_image(struct spl_image_info *spl_image,

>                         CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION);

>                 if (!err)

>                         return err;

> -#if defined(CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR)

> +#ifdef CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR

>                 err = mmc_load_image_raw_sector(spl_image, mmc,

>                         CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR);

>                 if (!err)

> diff --git a/configs/A10-OLinuXino-Lime_defconfig b/configs/A10-OLinuXino-Lime_defconfig

> index 04b720d..c800700 100644

> --- a/configs/A10-OLinuXino-Lime_defconfig

> +++ b/configs/A10-OLinuXino-Lime_defconfig

> @@ -10,6 +10,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-olinuxino-lime"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SYS_EXTRA_OPTIONS="SUNXI_EMAC,AHCI,SATAPWR=SUNXI_GPC(3)"

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/A10s-OLinuXino-M_defconfig b/configs/A10s-OLinuXino-M_defconfig

> index e2bebf8..1be578a 100644

> --- a/configs/A10s-OLinuXino-M_defconfig

> +++ b/configs/A10s-OLinuXino-M_defconfig

> @@ -11,6 +11,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun5i-a10s-olinuxino-micro"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SYS_EXTRA_OPTIONS="SUNXI_EMAC"

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/A13-OLinuXinoM_defconfig b/configs/A13-OLinuXinoM_defconfig

> index 361d90a..d377035 100644

> --- a/configs/A13-OLinuXinoM_defconfig

> +++ b/configs/A13-OLinuXinoM_defconfig

> @@ -14,6 +14,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun5i-a13-olinuxino-micro"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=2"

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/A13-OLinuXino_defconfig b/configs/A13-OLinuXino_defconfig

> index 3191098..b8818c8 100644

> --- a/configs/A13-OLinuXino_defconfig

> +++ b/configs/A13-OLinuXino_defconfig

> @@ -17,6 +17,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun5i-a13-olinuxino"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=2"

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  CONFIG_CMD_DFU=y

> diff --git a/configs/A20-OLinuXino-Lime2_defconfig b/configs/A20-OLinuXino-Lime2_defconfig

> index 4751fe0..210ca29 100644

> --- a/configs/A20-OLinuXino-Lime2_defconfig

> +++ b/configs/A20-OLinuXino-Lime2_defconfig

> @@ -10,6 +10,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-olinuxino-lime2"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,RGMII,AHCI,SATAPWR=SUNXI_GPC(3)"

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  CONFIG_CMD_DFU=y

> diff --git a/configs/A20-OLinuXino-Lime_defconfig b/configs/A20-OLinuXino-Lime_defconfig

> index 024dc2d..7dfd4f2 100644

> --- a/configs/A20-OLinuXino-Lime_defconfig

> +++ b/configs/A20-OLinuXino-Lime_defconfig

> @@ -8,6 +8,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-olinuxino-lime"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,AHCI,SATAPWR=SUNXI_GPC(3)"

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/A20-OLinuXino_MICRO_defconfig b/configs/A20-OLinuXino_MICRO_defconfig

> index 5809345..2c43204 100644

> --- a/configs/A20-OLinuXino_MICRO_defconfig

> +++ b/configs/A20-OLinuXino_MICRO_defconfig

> @@ -11,6 +11,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-olinuxino-micro"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,AHCI,SATAPWR=SUNXI_GPB(8)"

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/A20-Olimex-SOM-EVB_defconfig b/configs/A20-Olimex-SOM-EVB_defconfig

> index 3f4e90d..a64d89d 100644

> --- a/configs/A20-Olimex-SOM-EVB_defconfig

> +++ b/configs/A20-Olimex-SOM-EVB_defconfig

> @@ -13,6 +13,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-olimex-som-evb"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,RGMII,AHCI,SATAPWR=SUNXI_GPC(3)"

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/A33-OLinuXino_defconfig b/configs/A33-OLinuXino_defconfig

> index 2909987..1508a8b 100644

> --- a/configs/A33-OLinuXino_defconfig

> +++ b/configs/A33-OLinuXino_defconfig

> @@ -16,6 +16,7 @@ CONFIG_VIDEO_LCD_BL_PWM="PH0"

>  CONFIG_DEFAULT_DEVICE_TREE="sun8i-a33-olinuxino"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/Ainol_AW1_defconfig b/configs/Ainol_AW1_defconfig

> index 46c5309..b98bbac 100644

> --- a/configs/Ainol_AW1_defconfig

> +++ b/configs/Ainol_AW1_defconfig

> @@ -15,6 +15,7 @@ CONFIG_VIDEO_LCD_BL_PWM="PB2"

>  CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-ainol-aw1"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/Ampe_A76_defconfig b/configs/Ampe_A76_defconfig

> index 5020724..0f7faa1 100644

> --- a/configs/Ampe_A76_defconfig

> +++ b/configs/Ampe_A76_defconfig

> @@ -17,6 +17,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun5i-a13-ampe-a76"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=2"

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/Auxtek-T003_defconfig b/configs/Auxtek-T003_defconfig

> index 1e248a7..2e10a81 100644

> --- a/configs/Auxtek-T003_defconfig

> +++ b/configs/Auxtek-T003_defconfig

> @@ -9,6 +9,7 @@ CONFIG_VIDEO_COMPOSITE=y

>  CONFIG_DEFAULT_DEVICE_TREE="sun5i-a10s-auxtek-t003"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/Auxtek-T004_defconfig b/configs/Auxtek-T004_defconfig

> index 55f956e..6b97397 100644

> --- a/configs/Auxtek-T004_defconfig

> +++ b/configs/Auxtek-T004_defconfig

> @@ -7,6 +7,7 @@ CONFIG_USB1_VBUS_PIN="PG13"

>  CONFIG_DEFAULT_DEVICE_TREE="sun5i-a10s-auxtek-t004"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/Bananapi_defconfig b/configs/Bananapi_defconfig

> index 366ef24..753d09c 100644

> --- a/configs/Bananapi_defconfig

> +++ b/configs/Bananapi_defconfig

> @@ -9,6 +9,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-bananapi"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,RGMII,MACPWR=SUNXI_GPH(23),AHCI"

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/Bananapro_defconfig b/configs/Bananapro_defconfig

> index 9b39124..ba97e3e 100644

> --- a/configs/Bananapro_defconfig

> +++ b/configs/Bananapro_defconfig

> @@ -11,6 +11,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-bananapro"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,RGMII,MACPWR=SUNXI_GPH(23),AHCI"

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/CHIP_defconfig b/configs/CHIP_defconfig

> index 65d0c98..e67970d 100644

> --- a/configs/CHIP_defconfig

> +++ b/configs/CHIP_defconfig

> @@ -10,6 +10,7 @@ CONFIG_VIDEO_COMPOSITE=y

>  CONFIG_DEFAULT_DEVICE_TREE="sun5i-r8-chip"

>  CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=2"

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  CONFIG_CMD_DFU=y

>  CONFIG_CMD_USB_MASS_STORAGE=y

> diff --git a/configs/CSQ_CS908_defconfig b/configs/CSQ_CS908_defconfig

> index 448ce95..19364b5 100644

> --- a/configs/CSQ_CS908_defconfig

> +++ b/configs/CSQ_CS908_defconfig

> @@ -8,6 +8,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun6i-a31s-cs908"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC"

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/Chuwi_V7_CW0825_defconfig b/configs/Chuwi_V7_CW0825_defconfig

> index a67038b..9e84042 100644

> --- a/configs/Chuwi_V7_CW0825_defconfig

> +++ b/configs/Chuwi_V7_CW0825_defconfig

> @@ -15,6 +15,7 @@ CONFIG_VIDEO_LCD_PANEL_HITACHI_TX18D42VM=y

>  CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-chuwi-v7-cw0825"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> @@ -22,4 +23,3 @@ CONFIG_USB_MUSB_HOST=y

>  CONFIG_VIDEO_LCD_SPI_CS="PA0"

>  CONFIG_VIDEO_LCD_SPI_SCLK="PA1"

>  CONFIG_VIDEO_LCD_SPI_MOSI="PA2"

> -CONFIG_CFB_CONSOLE=y

> diff --git a/configs/Colombus_defconfig b/configs/Colombus_defconfig

> index d8272c5..e9df3d0 100644

> --- a/configs/Colombus_defconfig

> +++ b/configs/Colombus_defconfig

> @@ -18,6 +18,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun6i-a31-colombus"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,RGMII"

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/Cubieboard2_defconfig b/configs/Cubieboard2_defconfig

> index ad6eb62..8f5b679 100644

> --- a/configs/Cubieboard2_defconfig

> +++ b/configs/Cubieboard2_defconfig

> @@ -8,6 +8,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-cubieboard2"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,AHCI,SATAPWR=SUNXI_GPB(8)"

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/Cubieboard_defconfig b/configs/Cubieboard_defconfig

> index 9b4f483..a2dce68 100644

> --- a/configs/Cubieboard_defconfig

> +++ b/configs/Cubieboard_defconfig

> @@ -8,6 +8,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-cubieboard"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SYS_EXTRA_OPTIONS="SUNXI_EMAC,AHCI,SATAPWR=SUNXI_GPB(8)"

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/Cubietruck_defconfig b/configs/Cubietruck_defconfig

> index 927ccd4..0c835fe 100644

> --- a/configs/Cubietruck_defconfig

> +++ b/configs/Cubietruck_defconfig

> @@ -13,6 +13,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-cubietruck"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,RGMII,AHCI,SATAPWR=SUNXI_GPH(12)"

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  CONFIG_CMD_DFU=y

> diff --git a/configs/Cubietruck_plus_defconfig b/configs/Cubietruck_plus_defconfig

> index dbe3336..58eb3a4 100644

> --- a/configs/Cubietruck_plus_defconfig

> +++ b/configs/Cubietruck_plus_defconfig

> @@ -15,6 +15,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun8i-a83t-cubietruck-plus"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_CONSOLE_MUX=y

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/Empire_electronix_d709_defconfig b/configs/Empire_electronix_d709_defconfig

> index 831949a..ea50e3c 100644

> --- a/configs/Empire_electronix_d709_defconfig

> +++ b/configs/Empire_electronix_d709_defconfig

> @@ -18,6 +18,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun5i-a13-empire-electronix-d709"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=2"

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/Empire_electronix_m712_defconfig b/configs/Empire_electronix_m712_defconfig

> index 4b51380..f161a2a 100644

> --- a/configs/Empire_electronix_m712_defconfig

> +++ b/configs/Empire_electronix_m712_defconfig

> @@ -17,6 +17,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun5i-a13-empire-electronix-m712"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=2"

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/Hummingbird_A31_defconfig b/configs/Hummingbird_A31_defconfig

> index dc4133d..7749822 100644

> --- a/configs/Hummingbird_A31_defconfig

> +++ b/configs/Hummingbird_A31_defconfig

> @@ -10,6 +10,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun6i-a31-hummingbird"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,RGMII"

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/Hyundai_A7HD_defconfig b/configs/Hyundai_A7HD_defconfig

> index 41cb877..6ccfbef 100644

> --- a/configs/Hyundai_A7HD_defconfig

> +++ b/configs/Hyundai_A7HD_defconfig

> @@ -16,6 +16,7 @@ CONFIG_VIDEO_LCD_PANEL_LVDS=y

>  CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-hyundai-a7hd"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/Itead_Ibox_A20_defconfig b/configs/Itead_Ibox_A20_defconfig

> index 1a8fad7..03b683e 100644

> --- a/configs/Itead_Ibox_A20_defconfig

> +++ b/configs/Itead_Ibox_A20_defconfig

> @@ -8,6 +8,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-itead-ibox"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,AHCI,SATAPWR=SUNXI_GPB(8)"

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/Lamobo_R1_defconfig b/configs/Lamobo_R1_defconfig

> index c2fc2b3..0768db6 100644

> --- a/configs/Lamobo_R1_defconfig

> +++ b/configs/Lamobo_R1_defconfig

> @@ -9,6 +9,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-lamobo-r1"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,RGMII,MACPWR=SUNXI_GPH(23),AHCI,SATAPWR=SUNXI_GPB(3)"

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/Linksprite_pcDuino3_Nano_defconfig b/configs/Linksprite_pcDuino3_Nano_defconfig

> index a916e5d..abc0dad 100644

> --- a/configs/Linksprite_pcDuino3_Nano_defconfig

> +++ b/configs/Linksprite_pcDuino3_Nano_defconfig

> @@ -10,6 +10,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-pcduino3-nano"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,RGMII,AHCI,SATAPWR=SUNXI_GPH(2)"

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/Linksprite_pcDuino3_defconfig b/configs/Linksprite_pcDuino3_defconfig

> index 8eea214..c503623 100644

> --- a/configs/Linksprite_pcDuino3_defconfig

> +++ b/configs/Linksprite_pcDuino3_defconfig

> @@ -8,6 +8,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-pcduino3"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,AHCI,SATAPWR=SUNXI_GPH(2)"

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/Linksprite_pcDuino_defconfig b/configs/Linksprite_pcDuino_defconfig

> index ab094a6..30e703e 100644

> --- a/configs/Linksprite_pcDuino_defconfig

> +++ b/configs/Linksprite_pcDuino_defconfig

> @@ -8,6 +8,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-pcduino"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SYS_EXTRA_OPTIONS="SUNXI_EMAC"

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/MK808C_defconfig b/configs/MK808C_defconfig

> index 1e8f9db..ef0e48f 100644

> --- a/configs/MK808C_defconfig

> +++ b/configs/MK808C_defconfig

> @@ -6,6 +6,7 @@ CONFIG_DRAM_CLK=384

>  CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-mk808c"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/MSI_Primo73_defconfig b/configs/MSI_Primo73_defconfig

> index 87fd3b9..932b2ef 100644

> --- a/configs/MSI_Primo73_defconfig

> +++ b/configs/MSI_Primo73_defconfig

> @@ -11,6 +11,7 @@ CONFIG_VIDEO_LCD_BL_PWM="PB2"

>  CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-primo73"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/MSI_Primo81_defconfig b/configs/MSI_Primo81_defconfig

> index e9d5be4..597370f 100644

> --- a/configs/MSI_Primo81_defconfig

> +++ b/configs/MSI_Primo81_defconfig

> @@ -13,6 +13,7 @@ CONFIG_VIDEO_LCD_PANEL_MIPI_4_LANE_513_MBPS_VIA_SSD2828=y

>  CONFIG_DEFAULT_DEVICE_TREE="sun6i-a31s-primo81"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> @@ -25,4 +26,3 @@ CONFIG_VIDEO_LCD_SPI_CS="PH9"

>  CONFIG_VIDEO_LCD_SPI_SCLK="PH10"

>  CONFIG_VIDEO_LCD_SPI_MOSI="PH11"

>  CONFIG_VIDEO_LCD_SPI_MISO="PH12"

> -CONFIG_CFB_CONSOLE=y

> diff --git a/configs/Marsboard_A10_defconfig b/configs/Marsboard_A10_defconfig

> index b1d6b23..6b5848f 100644

> --- a/configs/Marsboard_A10_defconfig

> +++ b/configs/Marsboard_A10_defconfig

> @@ -5,6 +5,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-marsboard"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SYS_EXTRA_OPTIONS="SUNXI_EMAC,AHCI"

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/Mele_A1000G_quad_defconfig b/configs/Mele_A1000G_quad_defconfig

> index 4097e5b..0ae8d3c 100644

> --- a/configs/Mele_A1000G_quad_defconfig

> +++ b/configs/Mele_A1000G_quad_defconfig

> @@ -9,6 +9,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun6i-a31-mele-a1000g-quad"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC"

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/Mele_A1000_defconfig b/configs/Mele_A1000_defconfig

> index eae5ead..cb61b74 100644

> --- a/configs/Mele_A1000_defconfig

> +++ b/configs/Mele_A1000_defconfig

> @@ -8,6 +8,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-a1000"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SYS_EXTRA_OPTIONS="SUNXI_EMAC,MACPWR=SUNXI_GPH(15),AHCI"

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/Mele_I7_defconfig b/configs/Mele_I7_defconfig

> index eb3c74c..ee54749 100644

> --- a/configs/Mele_I7_defconfig

> +++ b/configs/Mele_I7_defconfig

> @@ -8,6 +8,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun6i-a31-i7"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC"

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/Mele_M3_defconfig b/configs/Mele_M3_defconfig

> index 037e768..334d344 100644

> --- a/configs/Mele_M3_defconfig

> +++ b/configs/Mele_M3_defconfig

> @@ -11,6 +11,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-m3"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC"

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/Mele_M5_defconfig b/configs/Mele_M5_defconfig

> index 124dc22..d1f9d08 100644

> --- a/configs/Mele_M5_defconfig

> +++ b/configs/Mele_M5_defconfig

> @@ -10,6 +10,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-m5"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,AHCI,STATUSLED=234"

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/Mele_M9_defconfig b/configs/Mele_M9_defconfig

> index c4e5993..df7aed5 100644

> --- a/configs/Mele_M9_defconfig

> +++ b/configs/Mele_M9_defconfig

> @@ -8,6 +8,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun6i-a31-m9"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC"

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/Mini-X_defconfig b/configs/Mini-X_defconfig

> index 87fac82..d8888e6 100644

> --- a/configs/Mini-X_defconfig

> +++ b/configs/Mini-X_defconfig

> @@ -7,6 +7,7 @@ CONFIG_VIDEO_COMPOSITE=y

>  CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-mini-xplus"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/Orangepi_defconfig b/configs/Orangepi_defconfig

> index c3eaae2..e16a218 100644

> --- a/configs/Orangepi_defconfig

> +++ b/configs/Orangepi_defconfig

> @@ -12,6 +12,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-orangepi"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,RGMII,MACPWR=SUNXI_GPH(23),AHCI"

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/Orangepi_mini_defconfig b/configs/Orangepi_mini_defconfig

> index 2903d83..913b17c 100644

> --- a/configs/Orangepi_mini_defconfig

> +++ b/configs/Orangepi_mini_defconfig

> @@ -14,6 +14,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-orangepi-mini"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,RGMII,MACPWR=SUNXI_GPH(23),AHCI"

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/Sinlinx_SinA31s_defconfig b/configs/Sinlinx_SinA31s_defconfig

> index 9ac8912..1b1365f 100644

> --- a/configs/Sinlinx_SinA31s_defconfig

> +++ b/configs/Sinlinx_SinA31s_defconfig

> @@ -12,6 +12,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun6i-a31s-sina31s"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC"

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/Sinlinx_SinA33_defconfig b/configs/Sinlinx_SinA33_defconfig

> index 2a5f985..a3ccb77 100644

> --- a/configs/Sinlinx_SinA33_defconfig

> +++ b/configs/Sinlinx_SinA33_defconfig

> @@ -8,6 +8,7 @@ CONFIG_USB0_ID_DET="PH8"

>  CONFIG_DEFAULT_DEVICE_TREE="sun8i-a33-sinlinx-sina33"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  CONFIG_CMD_DFU=y

> diff --git a/configs/Sinovoip_BPI_M2_defconfig b/configs/Sinovoip_BPI_M2_defconfig

> index 267aaf8..14b1486 100644

> --- a/configs/Sinovoip_BPI_M2_defconfig

> +++ b/configs/Sinovoip_BPI_M2_defconfig

> @@ -8,6 +8,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun6i-a31s-sinovoip-bpi-m2"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,RGMII"

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/Sinovoip_BPI_M3_defconfig b/configs/Sinovoip_BPI_M3_defconfig

> index d15ac20..7001720 100644

> --- a/configs/Sinovoip_BPI_M3_defconfig

> +++ b/configs/Sinovoip_BPI_M3_defconfig

> @@ -16,6 +16,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun8i-a83t-sinovoip-bpi-m3"

>  CONFIG_SYS_EXTRA_OPTIONS="SATAPWR=SUNXI_GPD(25)"

>  CONFIG_CONSOLE_MUX=y

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/UTOO_P66_defconfig b/configs/UTOO_P66_defconfig

> index 205c9e2..5b9aacf 100644

> --- a/configs/UTOO_P66_defconfig

> +++ b/configs/UTOO_P66_defconfig

> @@ -21,6 +21,7 @@ CONFIG_VIDEO_LCD_TL059WV5C0=y

>  CONFIG_DEFAULT_DEVICE_TREE="sun5i-a13-utoo-p66"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/Wexler_TAB7200_defconfig b/configs/Wexler_TAB7200_defconfig

> index ecde5db..6171b80 100644

> --- a/configs/Wexler_TAB7200_defconfig

> +++ b/configs/Wexler_TAB7200_defconfig

> @@ -14,6 +14,7 @@ CONFIG_VIDEO_LCD_BL_PWM="PB2"

>  CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-wexler-tab7200"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/Wits_Pro_A20_DKT_defconfig b/configs/Wits_Pro_A20_DKT_defconfig

> index d83cee7..88004a8 100644

> --- a/configs/Wits_Pro_A20_DKT_defconfig

> +++ b/configs/Wits_Pro_A20_DKT_defconfig

> @@ -13,6 +13,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-wits-pro-a20-dkt"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,RGMII,AHCI"

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/Wobo_i5_defconfig b/configs/Wobo_i5_defconfig

> index 907afe5..27a95a6 100644

> --- a/configs/Wobo_i5_defconfig

> +++ b/configs/Wobo_i5_defconfig

> @@ -8,6 +8,7 @@ CONFIG_USB1_VBUS_PIN="PG12"

>  CONFIG_DEFAULT_DEVICE_TREE="sun5i-a10s-wobo-i5"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/Yones_Toptech_BD1078_defconfig b/configs/Yones_Toptech_BD1078_defconfig

> index 1e42a68..0be294a 100644

> --- a/configs/Yones_Toptech_BD1078_defconfig

> +++ b/configs/Yones_Toptech_BD1078_defconfig

> @@ -20,6 +20,7 @@ CONFIG_VIDEO_LCD_PANEL_LVDS=y

>  CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-yones-toptech-bd1078"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/Yones_Toptech_BS1078_V2_defconfig b/configs/Yones_Toptech_BS1078_V2_defconfig

> index 958104e..0e87196 100644

> --- a/configs/Yones_Toptech_BS1078_V2_defconfig

> +++ b/configs/Yones_Toptech_BS1078_V2_defconfig

> @@ -16,6 +16,7 @@ CONFIG_VIDEO_LCD_PANEL_LVDS=y

>  CONFIG_DEFAULT_DEVICE_TREE="sun6i-a31s-yones-toptech-bs1078-v2"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/am335x_baltos_defconfig b/configs/am335x_baltos_defconfig

> index afef344..fdebc46 100644

> --- a/configs/am335x_baltos_defconfig

> +++ b/configs/am335x_baltos_defconfig

> @@ -23,6 +23,7 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y

>  CONFIG_VERSION_VARIABLE=y

>  CONFIG_SPL=y

>  CONFIG_SPL_STACK_R=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_MTD_SUPPORT=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

> diff --git a/configs/am335x_boneblack_defconfig b/configs/am335x_boneblack_defconfig

> index 2e5e047..96be58b 100644

> --- a/configs/am335x_boneblack_defconfig

> +++ b/configs/am335x_boneblack_defconfig

> @@ -9,6 +9,7 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y

>  CONFIG_VERSION_VARIABLE=y

>  CONFIG_SPL=y

>  CONFIG_SPL_STACK_R=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_MUSB_NEW_SUPPORT=y

>  CONFIG_SPL_OS_BOOT=y

>  CONFIG_HUSH_PARSER=y

> diff --git a/configs/am335x_boneblack_vboot_defconfig b/configs/am335x_boneblack_vboot_defconfig

> index 07e73fe..b755aac 100644

> --- a/configs/am335x_boneblack_vboot_defconfig

> +++ b/configs/am335x_boneblack_vboot_defconfig

> @@ -12,6 +12,7 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y

>  CONFIG_VERSION_VARIABLE=y

>  CONFIG_SPL=y

>  CONFIG_SPL_STACK_R=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_MUSB_NEW_SUPPORT=y

>  CONFIG_SPL_OS_BOOT=y

>  CONFIG_HUSH_PARSER=y

> diff --git a/configs/am335x_evm_defconfig b/configs/am335x_evm_defconfig

> index e5a1696..2a9f6fb 100644

> --- a/configs/am335x_evm_defconfig

> +++ b/configs/am335x_evm_defconfig

> @@ -10,6 +10,7 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y

>  CONFIG_VERSION_VARIABLE=y

>  CONFIG_SPL=y

>  CONFIG_SPL_STACK_R=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_MTD_SUPPORT=y

>  CONFIG_SPL_MUSB_NEW_SUPPORT=y

>  CONFIG_SPL_OS_BOOT=y

> diff --git a/configs/am335x_evm_nor_defconfig b/configs/am335x_evm_nor_defconfig

> index 484286b..ffcf00f 100644

> --- a/configs/am335x_evm_nor_defconfig

> +++ b/configs/am335x_evm_nor_defconfig

> @@ -9,6 +9,7 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y

>  CONFIG_VERSION_VARIABLE=y

>  CONFIG_SPL=y

>  CONFIG_SPL_STACK_R=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_MTD_SUPPORT=y

>  CONFIG_SPL_MUSB_NEW_SUPPORT=y

>  CONFIG_SPL_OS_BOOT=y

> diff --git a/configs/am335x_evm_spiboot_defconfig b/configs/am335x_evm_spiboot_defconfig

> index b239209..352a6a8 100644

> --- a/configs/am335x_evm_spiboot_defconfig

> +++ b/configs/am335x_evm_spiboot_defconfig

> @@ -12,6 +12,7 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y

>  CONFIG_VERSION_VARIABLE=y

>  CONFIG_SPL=y

>  CONFIG_SPL_STACK_R=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_MUSB_NEW_SUPPORT=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

> diff --git a/configs/am335x_evm_usbspl_defconfig b/configs/am335x_evm_usbspl_defconfig

> index 8c28e28..240fec9 100644

> --- a/configs/am335x_evm_usbspl_defconfig

> +++ b/configs/am335x_evm_usbspl_defconfig

> @@ -8,6 +8,7 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y

>  CONFIG_VERSION_VARIABLE=y

>  CONFIG_SPL=y

>  CONFIG_SPL_STACK_R=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_MTD_SUPPORT=y

>  CONFIG_SPL_MUSB_NEW_SUPPORT=y

>  CONFIG_SPL_NET_SUPPORT=y

> diff --git a/configs/am335x_igep0033_defconfig b/configs/am335x_igep0033_defconfig

> index 6149beb..8573d5a 100644

> --- a/configs/am335x_igep0033_defconfig

> +++ b/configs/am335x_igep0033_defconfig

> @@ -19,6 +19,7 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y

>  CONFIG_VERSION_VARIABLE=y

>  CONFIG_SPL=y

>  CONFIG_SPL_STACK_R=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_MTD_SUPPORT=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

> diff --git a/configs/am335x_shc_defconfig b/configs/am335x_shc_defconfig

> index 9b73f46..70d4cfe 100644

> --- a/configs/am335x_shc_defconfig

> +++ b/configs/am335x_shc_defconfig

> @@ -20,6 +20,7 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y

>  CONFIG_VERSION_VARIABLE=y

>  CONFIG_SPL=y

>  CONFIG_SPL_STACK_R=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_OS_BOOT=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_SYS_PROMPT="U-Boot# "

> diff --git a/configs/am335x_shc_ict_defconfig b/configs/am335x_shc_ict_defconfig

> index ff70580..53ebeb6 100644

> --- a/configs/am335x_shc_ict_defconfig

> +++ b/configs/am335x_shc_ict_defconfig

> @@ -21,6 +21,7 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y

>  CONFIG_VERSION_VARIABLE=y

>  CONFIG_SPL=y

>  CONFIG_SPL_STACK_R=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_OS_BOOT=y

>  CONFIG_SYS_PROMPT="U-Boot# "

>  CONFIG_AUTOBOOT_KEYED=y

> diff --git a/configs/am335x_shc_netboot_defconfig b/configs/am335x_shc_netboot_defconfig

> index 520d17c..a18f2e4 100644

> --- a/configs/am335x_shc_netboot_defconfig

> +++ b/configs/am335x_shc_netboot_defconfig

> @@ -22,6 +22,7 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y

>  CONFIG_VERSION_VARIABLE=y

>  CONFIG_SPL=y

>  CONFIG_SPL_STACK_R=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_OS_BOOT=y

>  CONFIG_SYS_PROMPT="U-Boot# "

>  CONFIG_AUTOBOOT_KEYED=y

> diff --git a/configs/am335x_shc_prompt_defconfig b/configs/am335x_shc_prompt_defconfig

> index d6cc315..09ab331 100644

> --- a/configs/am335x_shc_prompt_defconfig

> +++ b/configs/am335x_shc_prompt_defconfig

> @@ -20,6 +20,7 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y

>  CONFIG_VERSION_VARIABLE=y

>  CONFIG_SPL=y

>  CONFIG_SPL_STACK_R=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_OS_BOOT=y

>  CONFIG_AUTOBOOT_KEYED=y

>  CONFIG_AUTOBOOT_PROMPT="Enter 'shc' to enter prompt (times out) %d \nEnter 'noautoboot' to enter prompt without timeout\n"

> diff --git a/configs/am335x_shc_sdboot_defconfig b/configs/am335x_shc_sdboot_defconfig

> index b4e36b5..d7f3e5c 100644

> --- a/configs/am335x_shc_sdboot_defconfig

> +++ b/configs/am335x_shc_sdboot_defconfig

> @@ -21,6 +21,7 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y

>  CONFIG_VERSION_VARIABLE=y

>  CONFIG_SPL=y

>  CONFIG_SPL_STACK_R=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_OS_BOOT=y

>  CONFIG_SYS_PROMPT="U-Boot# "

>  CONFIG_AUTOBOOT_KEYED=y

> diff --git a/configs/am335x_shc_sdboot_prompt_defconfig b/configs/am335x_shc_sdboot_prompt_defconfig

> index b4e36b5..d7f3e5c 100644

> --- a/configs/am335x_shc_sdboot_prompt_defconfig

> +++ b/configs/am335x_shc_sdboot_prompt_defconfig

> @@ -21,6 +21,7 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y

>  CONFIG_VERSION_VARIABLE=y

>  CONFIG_SPL=y

>  CONFIG_SPL_STACK_R=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_OS_BOOT=y

>  CONFIG_SYS_PROMPT="U-Boot# "

>  CONFIG_AUTOBOOT_KEYED=y

> diff --git a/configs/am335x_sl50_defconfig b/configs/am335x_sl50_defconfig

> index f49407e..6904475 100644

> --- a/configs/am335x_sl50_defconfig

> +++ b/configs/am335x_sl50_defconfig

> @@ -21,6 +21,7 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y

>  CONFIG_VERSION_VARIABLE=y

>  CONFIG_SPL=y

>  CONFIG_SPL_STACK_R=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_OS_BOOT=y

>  CONFIG_HUSH_PARSER=y

>  # CONFIG_AUTOBOOT is not set

> diff --git a/configs/am3517_crane_defconfig b/configs/am3517_crane_defconfig

> index 08902b8..c8d028f 100644

> --- a/configs/am3517_crane_defconfig

> +++ b/configs/am3517_crane_defconfig

> @@ -5,6 +5,7 @@ CONFIG_OMAP34XX=y

>  CONFIG_TARGET_AM3517_CRANE=y

>  CONFIG_BOOTDELAY=10

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_SYS_PROMPT="AM3517_CRANE # "

>  # CONFIG_CMD_IMI is not set

> diff --git a/configs/am3517_evm_defconfig b/configs/am3517_evm_defconfig

> index 291f570..e689d0b 100644

> --- a/configs/am3517_evm_defconfig

> +++ b/configs/am3517_evm_defconfig

> @@ -8,6 +8,7 @@ CONFIG_SYS_EXTRA_OPTIONS="NAND"

>  CONFIG_BOOTDELAY=10

>  CONFIG_VERSION_VARIABLE=y

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_MTD_SUPPORT=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_SYS_PROMPT="AM3517_EVM # "

> diff --git a/configs/am43xx_evm_defconfig b/configs/am43xx_evm_defconfig

> index 443e1fb..ff43b21 100644

> --- a/configs/am43xx_evm_defconfig

> +++ b/configs/am43xx_evm_defconfig

> @@ -11,6 +11,7 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y

>  CONFIG_VERSION_VARIABLE=y

>  CONFIG_SPL=y

>  CONFIG_SPL_STACK_R=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_MTD_SUPPORT=y

>  CONFIG_SPL_OS_BOOT=y

>  CONFIG_HUSH_PARSER=y

> diff --git a/configs/am43xx_evm_ethboot_defconfig b/configs/am43xx_evm_ethboot_defconfig

> index 7090fd1..89477c8 100644

> --- a/configs/am43xx_evm_ethboot_defconfig

> +++ b/configs/am43xx_evm_ethboot_defconfig

> @@ -6,6 +6,7 @@ CONFIG_SYS_EXTRA_OPTIONS="SERIAL1,CONS_INDEX=1,NAND"

>  CONFIG_SYS_CONSOLE_INFO_QUIET=y

>  CONFIG_VERSION_VARIABLE=y

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_ETH_SUPPORT=y

>  CONFIG_SPL_MTD_SUPPORT=y

>  CONFIG_SPL_NET_SUPPORT=y

> diff --git a/configs/am43xx_evm_usbhost_boot_defconfig b/configs/am43xx_evm_usbhost_boot_defconfig

> index 6a881dd..63c7d44 100644

> --- a/configs/am43xx_evm_usbhost_boot_defconfig

> +++ b/configs/am43xx_evm_usbhost_boot_defconfig

> @@ -12,6 +12,7 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y

>  CONFIG_VERSION_VARIABLE=y

>  CONFIG_SPL=y

>  CONFIG_SPL_STACK_R=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_MTD_SUPPORT=y

>  CONFIG_SPL_OS_BOOT=y

>  CONFIG_SPL_USB_HOST_SUPPORT=y

> diff --git a/configs/am43xx_hs_evm_defconfig b/configs/am43xx_hs_evm_defconfig

> index 1c53877..c2a147e 100644

> --- a/configs/am43xx_hs_evm_defconfig

> +++ b/configs/am43xx_hs_evm_defconfig

> @@ -15,6 +15,7 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y

>  CONFIG_VERSION_VARIABLE=y

>  CONFIG_SPL=y

>  CONFIG_SPL_STACK_R=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_MTD_SUPPORT=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

> diff --git a/configs/am57xx_evm_defconfig b/configs/am57xx_evm_defconfig

> index 06f7f76..2ed6def 100644

> --- a/configs/am57xx_evm_defconfig

> +++ b/configs/am57xx_evm_defconfig

> @@ -14,6 +14,7 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y

>  CONFIG_VERSION_VARIABLE=y

>  CONFIG_SPL=y

>  CONFIG_SPL_STACK_R=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_DMA_SUPPORT=y

>  CONFIG_SPL_OS_BOOT=y

>  CONFIG_HUSH_PARSER=y

> diff --git a/configs/am57xx_evm_nodt_defconfig b/configs/am57xx_evm_nodt_defconfig

> index c3cdb20..dce13c1 100644

> --- a/configs/am57xx_evm_nodt_defconfig

> +++ b/configs/am57xx_evm_nodt_defconfig

> @@ -7,6 +7,7 @@ CONFIG_SPL_SPI_SUPPORT=y

>  CONFIG_SYS_CONSOLE_INFO_QUIET=y

>  CONFIG_VERSION_VARIABLE=y

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_DMA_SUPPORT=y

>  CONFIG_SPL_OS_BOOT=y

>  CONFIG_HUSH_PARSER=y

> diff --git a/configs/am57xx_hs_evm_defconfig b/configs/am57xx_hs_evm_defconfig

> index 6631bb2..4238ad6 100644

> --- a/configs/am57xx_hs_evm_defconfig

> +++ b/configs/am57xx_hs_evm_defconfig

> @@ -16,6 +16,7 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y

>  CONFIG_VERSION_VARIABLE=y

>  CONFIG_SPL=y

>  CONFIG_SPL_STACK_R=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_DMA_SUPPORT=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

> diff --git a/configs/at91sam9m10g45ek_mmc_defconfig b/configs/at91sam9m10g45ek_mmc_defconfig

> index 7a18ef8..74f3ab3 100644

> --- a/configs/at91sam9m10g45ek_mmc_defconfig

> +++ b/configs/at91sam9m10g45ek_mmc_defconfig

> @@ -14,6 +14,7 @@ CONFIG_BOOTDELAY=3

>  CONFIG_SYS_CONSOLE_IS_IN_ENV=y

>  # CONFIG_DISPLAY_BOARDINFO is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_SYS_PROMPT="U-Boot> "

>  # CONFIG_CMD_BDI is not set

> diff --git a/configs/at91sam9m10g45ek_nandflash_defconfig b/configs/at91sam9m10g45ek_nandflash_defconfig

> index 819fe10..9a53cf6 100644

> --- a/configs/at91sam9m10g45ek_nandflash_defconfig

> +++ b/configs/at91sam9m10g45ek_nandflash_defconfig

> @@ -12,6 +12,7 @@ CONFIG_BOOTDELAY=3

>  CONFIG_SYS_CONSOLE_IS_IN_ENV=y

>  # CONFIG_DISPLAY_BOARDINFO is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_SYS_PROMPT="U-Boot> "

>  # CONFIG_CMD_BDI is not set

> diff --git a/configs/at91sam9n12ek_nandflash_defconfig b/configs/at91sam9n12ek_nandflash_defconfig

> index da0ea60..4c0fc05 100644

> --- a/configs/at91sam9n12ek_nandflash_defconfig

> +++ b/configs/at91sam9n12ek_nandflash_defconfig

> @@ -12,6 +12,7 @@ CONFIG_BOOTDELAY=3

>  CONFIG_SYS_CONSOLE_IS_IN_ENV=y

>  # CONFIG_DISPLAY_BOARDINFO is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_SYS_PROMPT="U-Boot> "

>  CONFIG_CMD_BOOTZ=y

> diff --git a/configs/at91sam9n12ek_spiflash_defconfig b/configs/at91sam9n12ek_spiflash_defconfig

> index 4e5d102..ce265fa 100644

> --- a/configs/at91sam9n12ek_spiflash_defconfig

> +++ b/configs/at91sam9n12ek_spiflash_defconfig

> @@ -13,6 +13,7 @@ CONFIG_BOOTDELAY=3

>  CONFIG_SYS_CONSOLE_IS_IN_ENV=y

>  # CONFIG_DISPLAY_BOARDINFO is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_SYS_PROMPT="U-Boot> "

>  CONFIG_CMD_BOOTZ=y

> diff --git a/configs/at91sam9x5ek_nandflash_defconfig b/configs/at91sam9x5ek_nandflash_defconfig

> index 05907b7..2fdfb9e 100644

> --- a/configs/at91sam9x5ek_nandflash_defconfig

> +++ b/configs/at91sam9x5ek_nandflash_defconfig

> @@ -12,6 +12,7 @@ CONFIG_BOOTDELAY=3

>  CONFIG_SYS_CONSOLE_IS_IN_ENV=y

>  # CONFIG_DISPLAY_BOARDINFO is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_SYS_PROMPT="U-Boot> "

>  CONFIG_CMD_BOOTZ=y

> diff --git a/configs/at91sam9x5ek_spiflash_defconfig b/configs/at91sam9x5ek_spiflash_defconfig

> index 5fc512b..19620e6 100644

> --- a/configs/at91sam9x5ek_spiflash_defconfig

> +++ b/configs/at91sam9x5ek_spiflash_defconfig

> @@ -13,6 +13,7 @@ CONFIG_BOOTDELAY=3

>  CONFIG_SYS_CONSOLE_IS_IN_ENV=y

>  # CONFIG_DISPLAY_BOARDINFO is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_SYS_PROMPT="U-Boot> "

>  CONFIG_CMD_BOOTZ=y

> diff --git a/configs/ba10_tv_box_defconfig b/configs/ba10_tv_box_defconfig

> index c60766c..17a9a61 100644

> --- a/configs/ba10_tv_box_defconfig

> +++ b/configs/ba10_tv_box_defconfig

> @@ -11,6 +11,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-ba10-tvbox"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SYS_EXTRA_OPTIONS="SUNXI_EMAC"

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/birdland_bav335a_defconfig b/configs/birdland_bav335a_defconfig

> index 5e1af1c..b151ce8 100644

> --- a/configs/birdland_bav335a_defconfig

> +++ b/configs/birdland_bav335a_defconfig

> @@ -19,6 +19,7 @@ CONFIG_SYS_EXTRA_OPTIONS="SERIAL1,CONS_INDEX=1"

>  CONFIG_SYS_CONSOLE_INFO_QUIET=y

>  CONFIG_VERSION_VARIABLE=y

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_MUSB_NEW_SUPPORT=y

>  CONFIG_SPL_OS_BOOT=y

>  CONFIG_HUSH_PARSER=y

> diff --git a/configs/birdland_bav335b_defconfig b/configs/birdland_bav335b_defconfig

> index f3771bb..32905e2 100644

> --- a/configs/birdland_bav335b_defconfig

> +++ b/configs/birdland_bav335b_defconfig

> @@ -19,6 +19,7 @@ CONFIG_SYS_EXTRA_OPTIONS="SERIAL1,CONS_INDEX=1"

>  CONFIG_SYS_CONSOLE_INFO_QUIET=y

>  CONFIG_VERSION_VARIABLE=y

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_MUSB_NEW_SUPPORT=y

>  CONFIG_SPL_OS_BOOT=y

>  CONFIG_HUSH_PARSER=y

> diff --git a/configs/brppt1_mmc_defconfig b/configs/brppt1_mmc_defconfig

> index 78f3093..4a119b4 100644

> --- a/configs/brppt1_mmc_defconfig

> +++ b/configs/brppt1_mmc_defconfig

> @@ -20,6 +20,7 @@ CONFIG_VERSION_VARIABLE=y

>  # CONFIG_DISPLAY_CPUINFO is not set

>  # CONFIG_DISPLAY_BOARDINFO is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

>  # CONFIG_CMD_IMI is not set

> diff --git a/configs/brppt1_nand_defconfig b/configs/brppt1_nand_defconfig

> index 8e5325e..0644f08 100644

> --- a/configs/brppt1_nand_defconfig

> +++ b/configs/brppt1_nand_defconfig

> @@ -20,6 +20,7 @@ CONFIG_VERSION_VARIABLE=y

>  # CONFIG_DISPLAY_CPUINFO is not set

>  # CONFIG_DISPLAY_BOARDINFO is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

>  # CONFIG_CMD_IMI is not set

> diff --git a/configs/brppt1_spi_defconfig b/configs/brppt1_spi_defconfig

> index 9a5ed65..75bd4fc 100644

> --- a/configs/brppt1_spi_defconfig

> +++ b/configs/brppt1_spi_defconfig

> @@ -23,6 +23,7 @@ CONFIG_VERSION_VARIABLE=y

>  # CONFIG_DISPLAY_CPUINFO is not set

>  # CONFIG_DISPLAY_BOARDINFO is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

>  # CONFIG_CMD_IMI is not set

> diff --git a/configs/brxre1_defconfig b/configs/brxre1_defconfig

> index 1641533..04fcefd 100644

> --- a/configs/brxre1_defconfig

> +++ b/configs/brxre1_defconfig

> @@ -18,6 +18,7 @@ CONFIG_VERSION_VARIABLE=y

>  # CONFIG_DISPLAY_CPUINFO is not set

>  # CONFIG_DISPLAY_BOARDINFO is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  # CONFIG_CMD_BOOTD is not set

>  # CONFIG_CMD_BOOTM is not set

> diff --git a/configs/cairo_defconfig b/configs/cairo_defconfig

> index 67d6b61..f030f61 100644

> --- a/configs/cairo_defconfig

> +++ b/configs/cairo_defconfig

> @@ -5,6 +5,7 @@ CONFIG_BOOTDELAY=-2

>  CONFIG_SYS_CONSOLE_INFO_QUIET=y

>  CONFIG_VERSION_VARIABLE=y

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_MTD_SUPPORT=y

>  CONFIG_SPL_OS_BOOT=y

>  CONFIG_HUSH_PARSER=y

> diff --git a/configs/cgtqmx6eval_defconfig b/configs/cgtqmx6eval_defconfig

> index 1392f7e..b979fa9 100644

> --- a/configs/cgtqmx6eval_defconfig

> +++ b/configs/cgtqmx6eval_defconfig

> @@ -20,6 +20,7 @@ CONFIG_SYS_CONSOLE_IS_IN_ENV=y

>  CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y

>  # CONFIG_SYS_STDIO_DEREGISTER is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_SYS_PROMPT="CGT-QMX6-Quad U-Boot > "

>  CONFIG_CMD_BOOTZ=y

> diff --git a/configs/chromebook_jerry_defconfig b/configs/chromebook_jerry_defconfig

> index 876adc4..85a3e44 100644

> --- a/configs/chromebook_jerry_defconfig

> +++ b/configs/chromebook_jerry_defconfig

> @@ -15,6 +15,7 @@ CONFIG_SILENT_CONSOLE=y

>  # CONFIG_DISPLAY_CPUINFO is not set

>  CONFIG_SPL_STACK_R=y

>  CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x2000

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

>  # CONFIG_CMD_IMLS is not set

> diff --git a/configs/clearfog_defconfig b/configs/clearfog_defconfig

> index 0891b91..298dcc8 100644

> --- a/configs/clearfog_defconfig

> +++ b/configs/clearfog_defconfig

> @@ -13,6 +13,8 @@ CONFIG_BOOTDELAY=3

>  CONFIG_SYS_CONSOLE_INFO_QUIET=y

>  # CONFIG_DISPLAY_BOARDINFO is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x141

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

>  # CONFIG_CMD_IMLS is not set

> diff --git a/configs/cm_fx6_defconfig b/configs/cm_fx6_defconfig

> index 9c3a6ec..1058962 100644

> --- a/configs/cm_fx6_defconfig

> +++ b/configs/cm_fx6_defconfig

> @@ -15,6 +15,8 @@ CONFIG_OF_BOARD_SETUP=y

>  CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,MX6QDL,SPL"

>  CONFIG_BOOTDELAY=3

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x80

>  CONFIG_HUSH_PARSER=y

>  CONFIG_SYS_PROMPT="CM-FX6 # "

>  CONFIG_CMD_BOOTZ=y

> diff --git a/configs/cm_t335_defconfig b/configs/cm_t335_defconfig

> index 36905fd..3b55b64 100644

> --- a/configs/cm_t335_defconfig

> +++ b/configs/cm_t335_defconfig

> @@ -16,6 +16,7 @@ CONFIG_SPL_WATCHDOG_SUPPORT=y

>  CONFIG_SYS_CONSOLE_INFO_QUIET=y

>  CONFIG_VERSION_VARIABLE=y

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_MTD_SUPPORT=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_SYS_PROMPT="CM-T335 # "

> diff --git a/configs/cm_t35_defconfig b/configs/cm_t35_defconfig

> index 56b78c1..515288c 100644

> --- a/configs/cm_t35_defconfig

> +++ b/configs/cm_t35_defconfig

> @@ -6,6 +6,7 @@ CONFIG_BOOTDELAY=3

>  # CONFIG_CONSOLE_MUX is not set

>  CONFIG_SYS_CONSOLE_IS_IN_ENV=y

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_SYS_PROMPT="CM-T3x # "

>  CONFIG_CMD_BOOTZ=y

> diff --git a/configs/cm_t43_defconfig b/configs/cm_t43_defconfig

> index d359fab..2d78841 100644

> --- a/configs/cm_t43_defconfig

> +++ b/configs/cm_t43_defconfig

> @@ -16,6 +16,8 @@ CONFIG_VERSION_VARIABLE=y

>  # CONFIG_DISPLAY_CPUINFO is not set

>  # CONFIG_DISPLAY_BOARDINFO is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x480

>  CONFIG_SPL_MTD_SUPPORT=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_SYS_PROMPT="CM-T43 # "

> diff --git a/configs/cm_t54_defconfig b/configs/cm_t54_defconfig

> index c30ee0b..924158d 100644

> --- a/configs/cm_t54_defconfig

> +++ b/configs/cm_t54_defconfig

> @@ -7,6 +7,8 @@ CONFIG_BOOTDELAY=3

>  CONFIG_SYS_CONSOLE_INFO_QUIET=y

>  CONFIG_VERSION_VARIABLE=y

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x200

>  CONFIG_SPL_SATA_SUPPORT=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_SYS_PROMPT="CM-T54 # "

> diff --git a/configs/colorfly_e708_q1_defconfig b/configs/colorfly_e708_q1_defconfig

> index ae67c37..293d62d 100644

> --- a/configs/colorfly_e708_q1_defconfig

> +++ b/configs/colorfly_e708_q1_defconfig

> @@ -16,6 +16,7 @@ CONFIG_VIDEO_LCD_PANEL_LVDS=y

>  CONFIG_DEFAULT_DEVICE_TREE="sun6i-a31s-colorfly-e708-q1"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/da850_am18xxevm_defconfig b/configs/da850_am18xxevm_defconfig

> index 25fcff1..8f3131b 100644

> --- a/configs/da850_am18xxevm_defconfig

> +++ b/configs/da850_am18xxevm_defconfig

> @@ -12,6 +12,7 @@ CONFIG_VERSION_VARIABLE=y

>  # CONFIG_DISPLAY_CPUINFO is not set

>  # CONFIG_DISPLAY_BOARDINFO is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  # CONFIG_CMD_IMLS is not set

>  CONFIG_CMD_ASKENV=y

> diff --git a/configs/da850evm_defconfig b/configs/da850evm_defconfig

> index e2512ff..0240b79 100644

> --- a/configs/da850evm_defconfig

> +++ b/configs/da850evm_defconfig

> @@ -12,6 +12,7 @@ CONFIG_VERSION_VARIABLE=y

>  # CONFIG_DISPLAY_CPUINFO is not set

>  # CONFIG_DISPLAY_BOARDINFO is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_SYS_PROMPT="U-Boot > "

>  CONFIG_CMD_BOOTZ=y

> diff --git a/configs/db-88f6820-gp_defconfig b/configs/db-88f6820-gp_defconfig

> index 3547d84..177726d 100644

> --- a/configs/db-88f6820-gp_defconfig

> +++ b/configs/db-88f6820-gp_defconfig

> @@ -13,6 +13,7 @@ CONFIG_BOOTDELAY=3

>  CONFIG_SYS_CONSOLE_INFO_QUIET=y

>  # CONFIG_DISPLAY_BOARDINFO is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  CONFIG_CMD_MMC=y

> diff --git a/configs/devkit8000_defconfig b/configs/devkit8000_defconfig

> index e603310..68b79ec 100644

> --- a/configs/devkit8000_defconfig

> +++ b/configs/devkit8000_defconfig

> @@ -4,6 +4,7 @@ CONFIG_TARGET_DEVKIT8000=y

>  CONFIG_SYS_CONSOLE_INFO_QUIET=y

>  CONFIG_VERSION_VARIABLE=y

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_OS_BOOT=y

>  CONFIG_HUSH_PARSER=y

>  # CONFIG_CMD_IMI is not set

> diff --git a/configs/difrnce_dit4350_defconfig b/configs/difrnce_dit4350_defconfig

> index 6149c94..8ff5c2e 100644

> --- a/configs/difrnce_dit4350_defconfig

> +++ b/configs/difrnce_dit4350_defconfig

> @@ -17,6 +17,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun5i-a13-difrnce-dit4350"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=2"

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/dra7xx_evm_defconfig b/configs/dra7xx_evm_defconfig

> index 18a5e7a..ef6a527 100644

> --- a/configs/dra7xx_evm_defconfig

> +++ b/configs/dra7xx_evm_defconfig

> @@ -14,6 +14,7 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y

>  CONFIG_VERSION_VARIABLE=y

>  CONFIG_SPL=y

>  CONFIG_SPL_STACK_R=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_DMA_SUPPORT=y

>  CONFIG_SPL_OS_BOOT=y

>  CONFIG_HUSH_PARSER=y

> diff --git a/configs/dra7xx_hs_evm_defconfig b/configs/dra7xx_hs_evm_defconfig

> index 838de5c..b1f4b97 100644

> --- a/configs/dra7xx_hs_evm_defconfig

> +++ b/configs/dra7xx_hs_evm_defconfig

> @@ -17,6 +17,7 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y

>  CONFIG_VERSION_VARIABLE=y

>  CONFIG_SPL=y

>  CONFIG_SPL_STACK_R=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_DMA_SUPPORT=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_FASTBOOT=y

> diff --git a/configs/draco_defconfig b/configs/draco_defconfig

> index 5212fac..f73ae7e 100644

> --- a/configs/draco_defconfig

> +++ b/configs/draco_defconfig

> @@ -19,6 +19,7 @@ CONFIG_BOOTDELAY=3

>  CONFIG_SYS_CONSOLE_INFO_QUIET=y

>  # CONFIG_DISPLAY_BOARDINFO is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_SYS_PROMPT="U-Boot# "

>  CONFIG_AUTOBOOT_KEYED=y

> diff --git a/configs/dserve_dsrv9703c_defconfig b/configs/dserve_dsrv9703c_defconfig

> index ebcfe58..74a5283 100644

> --- a/configs/dserve_dsrv9703c_defconfig

> +++ b/configs/dserve_dsrv9703c_defconfig

> @@ -15,6 +15,7 @@ CONFIG_VIDEO_LCD_PANEL_LVDS=y

>  CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-dserve-dsrv9703c"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/duovero_defconfig b/configs/duovero_defconfig

> index 4fb5ed6..f334c76 100644

> --- a/configs/duovero_defconfig

> +++ b/configs/duovero_defconfig

> @@ -7,6 +7,7 @@ CONFIG_SYS_CONSOLE_IS_IN_ENV=y

>  CONFIG_SYS_CONSOLE_INFO_QUIET=y

>  CONFIG_VERSION_VARIABLE=y

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_SYS_PROMPT="duovero # "

>  CONFIG_CMD_BOOTZ=y

> diff --git a/configs/eco5pk_defconfig b/configs/eco5pk_defconfig

> index 77f3cd5..a363995 100644

> --- a/configs/eco5pk_defconfig

> +++ b/configs/eco5pk_defconfig

> @@ -5,6 +5,7 @@ CONFIG_TARGET_ECO5PK=y

>  CONFIG_FIT=y

>  CONFIG_BOOTDELAY=10

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_SYS_PROMPT="ECO5-PK # "

>  # CONFIG_CMD_IMLS is not set

> diff --git a/configs/etamin_defconfig b/configs/etamin_defconfig

> index 4e5baac..5b16791 100644

> --- a/configs/etamin_defconfig

> +++ b/configs/etamin_defconfig

> @@ -19,6 +19,7 @@ CONFIG_BOOTDELAY=3

>  CONFIG_SYS_CONSOLE_INFO_QUIET=y

>  # CONFIG_DISPLAY_BOARDINFO is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_SYS_PROMPT="U-Boot# "

>  CONFIG_AUTOBOOT_KEYED=y

> diff --git a/configs/evb-rk3288_defconfig b/configs/evb-rk3288_defconfig

> index fd8afe7..adf16f6 100644

> --- a/configs/evb-rk3288_defconfig

> +++ b/configs/evb-rk3288_defconfig

> @@ -10,6 +10,7 @@ CONFIG_CONSOLE_MUX=y

>  # CONFIG_DISPLAY_CPUINFO is not set

>  CONFIG_SPL_STACK_R=y

>  CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x2000

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

>  # CONFIG_CMD_IMLS is not set

> diff --git a/configs/fennec-rk3288_defconfig b/configs/fennec-rk3288_defconfig

> index 5b4d0f1..00ce078 100644

> --- a/configs/fennec-rk3288_defconfig

> +++ b/configs/fennec-rk3288_defconfig

> @@ -10,6 +10,7 @@ CONFIG_CONSOLE_MUX=y

>  # CONFIG_DISPLAY_CPUINFO is not set

>  CONFIG_SPL_STACK_R=y

>  CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x2000

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

>  # CONFIG_CMD_IMLS is not set

> diff --git a/configs/firefly-rk3288_defconfig b/configs/firefly-rk3288_defconfig

> index 4910c80..7fa3f01 100644

> --- a/configs/firefly-rk3288_defconfig

> +++ b/configs/firefly-rk3288_defconfig

> @@ -9,6 +9,7 @@ CONFIG_SILENT_CONSOLE=y

>  # CONFIG_DISPLAY_CPUINFO is not set

>  CONFIG_SPL_STACK_R=y

>  CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x2000

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

>  # CONFIG_CMD_IMLS is not set

> diff --git a/configs/ga10h_v1_1_defconfig b/configs/ga10h_v1_1_defconfig

> index 02a8a78..36d8333 100644

> --- a/configs/ga10h_v1_1_defconfig

> +++ b/configs/ga10h_v1_1_defconfig

> @@ -18,6 +18,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun8i-a33-ga10h-v1.1"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=5"

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/gt90h_v4_defconfig b/configs/gt90h_v4_defconfig

> index 913a763..9d0ef2e 100644

> --- a/configs/gt90h_v4_defconfig

> +++ b/configs/gt90h_v4_defconfig

> @@ -17,6 +17,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun8i-a23-gt90h-v4"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=5"

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/gwventana_defconfig b/configs/gwventana_defconfig

> index 0819a22..7fa2e10 100644

> --- a/configs/gwventana_defconfig

> +++ b/configs/gwventana_defconfig

> @@ -21,6 +21,7 @@ CONFIG_BOOTDELAY=3

>  # CONFIG_DISPLAY_BOARDINFO is not set

>  CONFIG_SPL=y

>  CONFIG_SPL_STACK_R=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_DMA_SUPPORT=y

>  CONFIG_SPL_OS_BOOT=y

>  CONFIG_HUSH_PARSER=y

> diff --git a/configs/h8_homlet_v2_defconfig b/configs/h8_homlet_v2_defconfig

> index 76dd833..1def5f3 100644

> --- a/configs/h8_homlet_v2_defconfig

> +++ b/configs/h8_homlet_v2_defconfig

> @@ -11,6 +11,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun8i-a83t-allwinner-h8homlet-v2"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_CONSOLE_MUX=y

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/i12-tvbox_defconfig b/configs/i12-tvbox_defconfig

> index 8012c07..6017886 100644

> --- a/configs/i12-tvbox_defconfig

> +++ b/configs/i12-tvbox_defconfig

> @@ -8,6 +8,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-i12-tvbox"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,MACPWR=SUNXI_GPH(21)"

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/iNet_3F_defconfig b/configs/iNet_3F_defconfig

> index 052454d..c2ee8ea 100644

> --- a/configs/iNet_3F_defconfig

> +++ b/configs/iNet_3F_defconfig

> @@ -15,6 +15,7 @@ CONFIG_VIDEO_LCD_PANEL_LVDS=y

>  CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-inet-3f"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/iNet_3W_defconfig b/configs/iNet_3W_defconfig

> index 03d7ec9..c7e973e 100644

> --- a/configs/iNet_3W_defconfig

> +++ b/configs/iNet_3W_defconfig

> @@ -15,6 +15,7 @@ CONFIG_VIDEO_LCD_BL_PWM="PB2"

>  CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-inet-3w"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/iNet_86VS_defconfig b/configs/iNet_86VS_defconfig

> index 1901125..7776a49 100644

> --- a/configs/iNet_86VS_defconfig

> +++ b/configs/iNet_86VS_defconfig

> @@ -14,6 +14,7 @@ CONFIG_VIDEO_LCD_BL_PWM="PB2"

>  CONFIG_DEFAULT_DEVICE_TREE="sun5i-a13-inet-86vs"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/iNet_D978_rev2_defconfig b/configs/iNet_D978_rev2_defconfig

> index d5e6309..c317f55 100644

> --- a/configs/iNet_D978_rev2_defconfig

> +++ b/configs/iNet_D978_rev2_defconfig

> @@ -18,6 +18,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun8i-a33-inet-d978-rev2"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=5"

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/icnova-a20-swac_defconfig b/configs/icnova-a20-swac_defconfig

> index 78cc3bb..c89f480 100644

> --- a/configs/icnova-a20-swac_defconfig

> +++ b/configs/icnova-a20-swac_defconfig

> @@ -15,6 +15,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-icnova-swac"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_GMAC,CMD_BMP,CMD_UNZIP"

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/igep0020_defconfig b/configs/igep0020_defconfig

> index 9c247d7..654cb42 100644

> --- a/configs/igep0020_defconfig

> +++ b/configs/igep0020_defconfig

> @@ -8,6 +8,7 @@ CONFIG_SYS_CONSOLE_IS_IN_ENV=y

>  CONFIG_SYS_CONSOLE_INFO_QUIET=y

>  CONFIG_VERSION_VARIABLE=y

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_MTD_SUPPORT=y

>  CONFIG_SPL_ONENAND_SUPPORT=y

>  CONFIG_SPL_OS_BOOT=y

> diff --git a/configs/igep0030_defconfig b/configs/igep0030_defconfig

> index 1312ddb..2053e08 100644

> --- a/configs/igep0030_defconfig

> +++ b/configs/igep0030_defconfig

> @@ -7,6 +7,7 @@ CONFIG_SYS_CONSOLE_IS_IN_ENV=y

>  CONFIG_SYS_CONSOLE_INFO_QUIET=y

>  CONFIG_VERSION_VARIABLE=y

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_MTD_SUPPORT=y

>  CONFIG_SPL_ONENAND_SUPPORT=y

>  CONFIG_SPL_OS_BOOT=y

> diff --git a/configs/igep0030_nand_defconfig b/configs/igep0030_nand_defconfig

> index dda1a7b..4e9624e 100644

> --- a/configs/igep0030_nand_defconfig

> +++ b/configs/igep0030_nand_defconfig

> @@ -7,6 +7,7 @@ CONFIG_SYS_CONSOLE_IS_IN_ENV=y

>  CONFIG_SYS_CONSOLE_INFO_QUIET=y

>  CONFIG_VERSION_VARIABLE=y

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_MTD_SUPPORT=y

>  CONFIG_SPL_ONENAND_SUPPORT=y

>  CONFIG_SPL_OS_BOOT=y

> diff --git a/configs/igep0032_defconfig b/configs/igep0032_defconfig

> index 37e46b0..51b2115 100644

> --- a/configs/igep0032_defconfig

> +++ b/configs/igep0032_defconfig

> @@ -7,6 +7,7 @@ CONFIG_SYS_CONSOLE_IS_IN_ENV=y

>  CONFIG_SYS_CONSOLE_INFO_QUIET=y

>  CONFIG_VERSION_VARIABLE=y

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_MTD_SUPPORT=y

>  CONFIG_SPL_ONENAND_SUPPORT=y

>  CONFIG_SPL_OS_BOOT=y

> diff --git a/configs/inet1_defconfig b/configs/inet1_defconfig

> index 4fcd2d4..1738b56 100644

> --- a/configs/inet1_defconfig

> +++ b/configs/inet1_defconfig

> @@ -15,6 +15,7 @@ CONFIG_VIDEO_LCD_PANEL_LVDS=y

>  CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-inet1"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/inet86dz_defconfig b/configs/inet86dz_defconfig

> index 4ed94dc..fd15ac7 100644

> --- a/configs/inet86dz_defconfig

> +++ b/configs/inet86dz_defconfig

> @@ -17,6 +17,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun8i-a23-inet86dz"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=5"

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/inet97fv2_defconfig b/configs/inet97fv2_defconfig

> index bef3cd8..0a6b8b2 100644

> --- a/configs/inet97fv2_defconfig

> +++ b/configs/inet97fv2_defconfig

> @@ -14,6 +14,7 @@ CONFIG_VIDEO_LCD_BL_PWM="PB2"

>  CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-inet97fv2"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/inet98v_rev2_defconfig b/configs/inet98v_rev2_defconfig

> index 7c306f8..9ad0e3c 100644

> --- a/configs/inet98v_rev2_defconfig

> +++ b/configs/inet98v_rev2_defconfig

> @@ -17,6 +17,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun5i-a13-inet-98v-rev2"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=2"

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/inet9f_rev03_defconfig b/configs/inet9f_rev03_defconfig

> index cc051bd..35812af 100644

> --- a/configs/inet9f_rev03_defconfig

> +++ b/configs/inet9f_rev03_defconfig

> @@ -14,6 +14,7 @@ CONFIG_VIDEO_LCD_BL_PWM="PB2"

>  CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-inet9f-rev03"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/inet_q972_defconfig b/configs/inet_q972_defconfig

> index dcaaae4..15fb591 100644

> --- a/configs/inet_q972_defconfig

> +++ b/configs/inet_q972_defconfig

> @@ -15,6 +15,7 @@ CONFIG_VIDEO_LCD_BL_PWM="PH13"

>  CONFIG_DEFAULT_DEVICE_TREE="sun6i-a31s-inet-q972"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/jesurun_q5_defconfig b/configs/jesurun_q5_defconfig

> index 6e4e6ca..2e4e799 100644

> --- a/configs/jesurun_q5_defconfig

> +++ b/configs/jesurun_q5_defconfig

> @@ -9,6 +9,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-jesurun-q5"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SYS_EXTRA_OPTIONS="SUNXI_EMAC,MACPWR=SUNXI_GPH(19)"

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/k2e_evm_defconfig b/configs/k2e_evm_defconfig

> index ffa1c4a..bc06f94 100644

> --- a/configs/k2e_evm_defconfig

> +++ b/configs/k2e_evm_defconfig

> @@ -13,6 +13,7 @@ CONFIG_OF_BOARD_SETUP=y

>  CONFIG_SYS_CONSOLE_INFO_QUIET=y

>  CONFIG_VERSION_VARIABLE=y

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_SYS_PROMPT="K2E EVM # "

>  CONFIG_CMD_BOOTZ=y

> diff --git a/configs/k2g_evm_defconfig b/configs/k2g_evm_defconfig

> index 97f7187..0e4c033 100644

> --- a/configs/k2g_evm_defconfig

> +++ b/configs/k2g_evm_defconfig

> @@ -13,6 +13,7 @@ CONFIG_OF_BOARD_SETUP=y

>  CONFIG_SYS_CONSOLE_INFO_QUIET=y

>  CONFIG_VERSION_VARIABLE=y

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

>  # CONFIG_CMD_IMLS is not set

> diff --git a/configs/k2hk_evm_defconfig b/configs/k2hk_evm_defconfig

> index 8b0e00f..be3be6f 100644

> --- a/configs/k2hk_evm_defconfig

> +++ b/configs/k2hk_evm_defconfig

> @@ -13,6 +13,7 @@ CONFIG_OF_BOARD_SETUP=y

>  CONFIG_SYS_CONSOLE_INFO_QUIET=y

>  CONFIG_VERSION_VARIABLE=y

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_SYS_PROMPT="K2HK EVM # "

>  CONFIG_CMD_BOOTZ=y

> diff --git a/configs/k2l_evm_defconfig b/configs/k2l_evm_defconfig

> index 6424ec7..caa50de 100644

> --- a/configs/k2l_evm_defconfig

> +++ b/configs/k2l_evm_defconfig

> @@ -13,6 +13,7 @@ CONFIG_OF_BOARD_SETUP=y

>  CONFIG_SYS_CONSOLE_INFO_QUIET=y

>  CONFIG_VERSION_VARIABLE=y

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_SYS_PROMPT="K2L EVM # "

>  CONFIG_CMD_BOOTZ=y

> diff --git a/configs/ls1021aqds_nand_defconfig b/configs/ls1021aqds_nand_defconfig

> index 2bdc723..cf3cb2a 100644

> --- a/configs/ls1021aqds_nand_defconfig

> +++ b/configs/ls1021aqds_nand_defconfig

> @@ -21,6 +21,7 @@ CONFIG_SILENT_CONSOLE=y

>  # CONFIG_CONSOLE_MUX is not set

>  CONFIG_SYS_CONSOLE_IS_IN_ENV=y

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

> diff --git a/configs/ls1021aqds_sdcard_ifc_defconfig b/configs/ls1021aqds_sdcard_ifc_defconfig

> index 402cce7..385733d 100644

> --- a/configs/ls1021aqds_sdcard_ifc_defconfig

> +++ b/configs/ls1021aqds_sdcard_ifc_defconfig

> @@ -20,6 +20,7 @@ CONFIG_SILENT_CONSOLE=y

>  # CONFIG_CONSOLE_MUX is not set

>  CONFIG_SYS_CONSOLE_IS_IN_ENV=y

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

> diff --git a/configs/ls1021aqds_sdcard_qspi_defconfig b/configs/ls1021aqds_sdcard_qspi_defconfig

> index 6f3588e..8b8eb58 100644

> --- a/configs/ls1021aqds_sdcard_qspi_defconfig

> +++ b/configs/ls1021aqds_sdcard_qspi_defconfig

> @@ -20,6 +20,7 @@ CONFIG_SILENT_CONSOLE=y

>  # CONFIG_CONSOLE_MUX is not set

>  CONFIG_SYS_CONSOLE_IS_IN_ENV=y

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

> diff --git a/configs/ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig b/configs/ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig

> index 8178e8a..6c98eba 100644

> --- a/configs/ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig

> +++ b/configs/ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig

> @@ -19,6 +19,7 @@ CONFIG_SILENT_CONSOLE=y

>  # CONFIG_CONSOLE_MUX is not set

>  CONFIG_SYS_CONSOLE_IS_IN_ENV=y

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_CRYPTO_SUPPORT=y

>  CONFIG_SPL_HASH_SUPPORT=y

>  CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT=y

> diff --git a/configs/ls1021atwr_sdcard_ifc_defconfig b/configs/ls1021atwr_sdcard_ifc_defconfig

> index eef1c1c..f349e74 100644

> --- a/configs/ls1021atwr_sdcard_ifc_defconfig

> +++ b/configs/ls1021atwr_sdcard_ifc_defconfig

> @@ -19,6 +19,7 @@ CONFIG_SILENT_CONSOLE=y

>  # CONFIG_CONSOLE_MUX is not set

>  CONFIG_SYS_CONSOLE_IS_IN_ENV=y

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

> diff --git a/configs/ls1021atwr_sdcard_qspi_defconfig b/configs/ls1021atwr_sdcard_qspi_defconfig

> index 3f6fb17..12d19fe 100644

> --- a/configs/ls1021atwr_sdcard_qspi_defconfig

> +++ b/configs/ls1021atwr_sdcard_qspi_defconfig

> @@ -20,6 +20,7 @@ CONFIG_SILENT_CONSOLE=y

>  # CONFIG_CONSOLE_MUX is not set

>  CONFIG_SYS_CONSOLE_IS_IN_ENV=y

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

> diff --git a/configs/ls1043aqds_nand_defconfig b/configs/ls1043aqds_nand_defconfig

> index dbdb416..1138520 100644

> --- a/configs/ls1043aqds_nand_defconfig

> +++ b/configs/ls1043aqds_nand_defconfig

> @@ -17,6 +17,7 @@ CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,SPL_FSL_PBL,NAND_BOOT"

>  CONFIG_NAND_BOOT=y

>  CONFIG_BOOTDELAY=10

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

> diff --git a/configs/ls1043aqds_sdcard_ifc_defconfig b/configs/ls1043aqds_sdcard_ifc_defconfig

> index 24220ed..5c90d9c 100644

> --- a/configs/ls1043aqds_sdcard_ifc_defconfig

> +++ b/configs/ls1043aqds_sdcard_ifc_defconfig

> @@ -17,6 +17,7 @@ CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,SPL_FSL_PBL,SD_BOOT"

>  CONFIG_SD_BOOT=y

>  CONFIG_BOOTDELAY=10

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

> diff --git a/configs/ls1043aqds_sdcard_qspi_defconfig b/configs/ls1043aqds_sdcard_qspi_defconfig

> index fdcbf8a..33f6557 100644

> --- a/configs/ls1043aqds_sdcard_qspi_defconfig

> +++ b/configs/ls1043aqds_sdcard_qspi_defconfig

> @@ -17,6 +17,7 @@ CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,SPL_FSL_PBL,SD_BOOT,SD_BOOT_QSPI"

>  CONFIG_SD_BOOT=y

>  CONFIG_BOOTDELAY=10

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

> diff --git a/configs/ls1043ardb_nand_defconfig b/configs/ls1043ardb_nand_defconfig

> index b21f47e..ac95e15 100644

> --- a/configs/ls1043ardb_nand_defconfig

> +++ b/configs/ls1043ardb_nand_defconfig

> @@ -17,6 +17,7 @@ CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,SPL_FSL_PBL,NAND_BOOT"

>  CONFIG_NAND_BOOT=y

>  CONFIG_BOOTDELAY=10

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_MMC=y

> diff --git a/configs/ls1043ardb_sdcard_defconfig b/configs/ls1043ardb_sdcard_defconfig

> index 12ac648..ee307be 100644

> --- a/configs/ls1043ardb_sdcard_defconfig

> +++ b/configs/ls1043ardb_sdcard_defconfig

> @@ -17,6 +17,7 @@ CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,SPL_FSL_PBL,SD_BOOT"

>  CONFIG_SD_BOOT=y

>  CONFIG_BOOTDELAY=10

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_MMC=y

> diff --git a/configs/ls1046aqds_nand_defconfig b/configs/ls1046aqds_nand_defconfig

> index 01140b9..68f4f22 100644

> --- a/configs/ls1046aqds_nand_defconfig

> +++ b/configs/ls1046aqds_nand_defconfig

> @@ -8,6 +8,7 @@ CONFIG_SYS_EXTRA_OPTIONS="SYS_FSL_DDR4,RAMBOOT_PBL,SPL_FSL_PBL"

>  CONFIG_NAND_BOOT=y

>  CONFIG_BOOTDELAY=10

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

>  CONFIG_CMD_GREPENV=y

> diff --git a/configs/ls1046aqds_sdcard_ifc_defconfig b/configs/ls1046aqds_sdcard_ifc_defconfig

> index e6eeadd..595d757 100644

> --- a/configs/ls1046aqds_sdcard_ifc_defconfig

> +++ b/configs/ls1046aqds_sdcard_ifc_defconfig

> @@ -8,6 +8,7 @@ CONFIG_SYS_EXTRA_OPTIONS="SYS_FSL_DDR4,RAMBOOT_PBL,SPL_FSL_PBL"

>  CONFIG_SD_BOOT=y

>  CONFIG_BOOTDELAY=10

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

>  CONFIG_CMD_GREPENV=y

> diff --git a/configs/ls1046aqds_sdcard_qspi_defconfig b/configs/ls1046aqds_sdcard_qspi_defconfig

> index 8a14862..72d4e46 100644

> --- a/configs/ls1046aqds_sdcard_qspi_defconfig

> +++ b/configs/ls1046aqds_sdcard_qspi_defconfig

> @@ -8,6 +8,7 @@ CONFIG_SYS_EXTRA_OPTIONS="SYS_FSL_DDR4,RAMBOOT_PBL,SPL_FSL_PBL,SD_BOOT_QSPI"

>  CONFIG_SD_BOOT=y

>  CONFIG_BOOTDELAY=10

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

>  # CONFIG_CMD_IMLS is not set

> diff --git a/configs/ls1046ardb_emmc_defconfig b/configs/ls1046ardb_emmc_defconfig

> index ba28047..b31c2e4 100644

> --- a/configs/ls1046ardb_emmc_defconfig

> +++ b/configs/ls1046ardb_emmc_defconfig

> @@ -8,6 +8,7 @@ CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,SPL_FSL_PBL,SYS_FSL_DDR4,EMMC_BOOT"

>  CONFIG_SD_BOOT=y

>  CONFIG_BOOTDELAY=10

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  # CONFIG_CMD_IMLS is not set

>  CONFIG_CMD_MMC=y

> diff --git a/configs/ls1046ardb_sdcard_defconfig b/configs/ls1046ardb_sdcard_defconfig

> index 01e6397..6d5d231 100644

> --- a/configs/ls1046ardb_sdcard_defconfig

> +++ b/configs/ls1046ardb_sdcard_defconfig

> @@ -8,6 +8,7 @@ CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,SPL_FSL_PBL,SYS_FSL_DDR4"

>  CONFIG_SD_BOOT=y

>  CONFIG_BOOTDELAY=10

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  # CONFIG_CMD_IMLS is not set

>  CONFIG_CMD_MMC=y

> diff --git a/configs/mcx_defconfig b/configs/mcx_defconfig

> index 9dc3c5a..e333940 100644

> --- a/configs/mcx_defconfig

> +++ b/configs/mcx_defconfig

> @@ -9,6 +9,7 @@ CONFIG_BOOTDELAY=3

>  # CONFIG_CONSOLE_MUX is not set

>  CONFIG_SYS_CONSOLE_IS_IN_ENV=y

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_SYS_PROMPT="mcx # "

>  # CONFIG_CMD_IMI is not set

> diff --git a/configs/miniarm-rk3288_defconfig b/configs/miniarm-rk3288_defconfig

> index 394e4aa..9566a3f 100644

> --- a/configs/miniarm-rk3288_defconfig

> +++ b/configs/miniarm-rk3288_defconfig

> @@ -10,6 +10,7 @@ CONFIG_CONSOLE_MUX=y

>  # CONFIG_DISPLAY_CPUINFO is not set

>  CONFIG_SPL_STACK_R=y

>  CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x2000

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

>  # CONFIG_CMD_IMLS is not set

> diff --git a/configs/mixtile_loftq_defconfig b/configs/mixtile_loftq_defconfig

> index 8ca8467..c5048c0 100644

> --- a/configs/mixtile_loftq_defconfig

> +++ b/configs/mixtile_loftq_defconfig

> @@ -9,6 +9,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun6i-a31-mixtile-loftq"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,RGMII,MACPWR=SUNXI_GPA(21)"

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/mk802_a10s_defconfig b/configs/mk802_a10s_defconfig

> index bfd591a..f325ded 100644

> --- a/configs/mk802_a10s_defconfig

> +++ b/configs/mk802_a10s_defconfig

> @@ -8,6 +8,7 @@ CONFIG_USB1_VBUS_PIN="PB10"

>  CONFIG_DEFAULT_DEVICE_TREE="sun5i-a10s-mk802"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/mk802_defconfig b/configs/mk802_defconfig

> index 47bbf62..ea00a02 100644

> --- a/configs/mk802_defconfig

> +++ b/configs/mk802_defconfig

> @@ -6,6 +6,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-mk802"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SYS_EXTRA_OPTIONS="USB_EHCI"

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/mk802ii_defconfig b/configs/mk802ii_defconfig

> index f9516d1..22e6ead 100644

> --- a/configs/mk802ii_defconfig

> +++ b/configs/mk802ii_defconfig

> @@ -5,6 +5,7 @@ CONFIG_MACH_SUN4I=y

>  CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-mk802ii"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/mt_ventoux_defconfig b/configs/mt_ventoux_defconfig

> index 9e330a7..896a14d 100644

> --- a/configs/mt_ventoux_defconfig

> +++ b/configs/mt_ventoux_defconfig

> @@ -8,6 +8,7 @@ CONFIG_BOOTDELAY=10

>  # CONFIG_CONSOLE_MUX is not set

>  CONFIG_SYS_CONSOLE_IS_IN_ENV=y

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_SYS_PROMPT="mt_ventoux => "

>  # CONFIG_CMD_IMLS is not set

> diff --git a/configs/mx6cuboxi_defconfig b/configs/mx6cuboxi_defconfig

> index 22173cc..f16a892 100644

> --- a/configs/mx6cuboxi_defconfig

> +++ b/configs/mx6cuboxi_defconfig

> @@ -14,6 +14,7 @@ CONFIG_VIDEO=y

>  CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,MX6QDL"

>  # CONFIG_SYS_STDIO_DEREGISTER is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

>  # CONFIG_CMD_IMLS is not set

> @@ -34,6 +35,6 @@ CONFIG_DM=y

>  CONFIG_DM_THERMAL=y

>  CONFIG_USB=y

>  CONFIG_USB_STORAGE=y

> -# CONFIG_VIDEO_SW_CURSOR is not set

>  CONFIG_USB_KEYBOARD=y

> +# CONFIG_VIDEO_SW_CURSOR is not set

>  CONFIG_OF_LIBFDT=y

> diff --git a/configs/mx6sabresd_spl_defconfig b/configs/mx6sabresd_spl_defconfig

> index bb72615..311322e 100644

> --- a/configs/mx6sabresd_spl_defconfig

> +++ b/configs/mx6sabresd_spl_defconfig

> @@ -17,6 +17,7 @@ CONFIG_BOOTDELAY=3

>  CONFIG_SYS_CONSOLE_IS_IN_ENV=y

>  CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

>  # CONFIG_CMD_IMLS is not set

> diff --git a/configs/mx6slevk_spl_defconfig b/configs/mx6slevk_spl_defconfig

> index 4dd2484..2393af4 100644

> --- a/configs/mx6slevk_spl_defconfig

> +++ b/configs/mx6slevk_spl_defconfig

> @@ -13,6 +13,7 @@ CONFIG_SPL_WATCHDOG_SUPPORT=y

>  CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,SPL,MX6SL"

>  CONFIG_BOOTDELAY=3

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

>  # CONFIG_CMD_IMLS is not set

> diff --git a/configs/mx6sxsabresd_spl_defconfig b/configs/mx6sxsabresd_spl_defconfig

> index f7cbc25..47f2aea 100644

> --- a/configs/mx6sxsabresd_spl_defconfig

> +++ b/configs/mx6sxsabresd_spl_defconfig

> @@ -16,6 +16,7 @@ CONFIG_BOOTDELAY=3

>  # CONFIG_CONSOLE_MUX is not set

>  CONFIG_SYS_CONSOLE_IS_IN_ENV=y

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

>  # CONFIG_CMD_IMLS is not set

> diff --git a/configs/mx6ul_14x14_evk_defconfig b/configs/mx6ul_14x14_evk_defconfig

> index 742dc5d..14bf376 100644

> --- a/configs/mx6ul_14x14_evk_defconfig

> +++ b/configs/mx6ul_14x14_evk_defconfig

> @@ -16,6 +16,7 @@ CONFIG_BOOTDELAY=3

>  # CONFIG_CONSOLE_MUX is not set

>  CONFIG_SYS_CONSOLE_IS_IN_ENV=y

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

>  # CONFIG_CMD_IMLS is not set

> diff --git a/configs/mx6ul_9x9_evk_defconfig b/configs/mx6ul_9x9_evk_defconfig

> index 0642895..f9731e4 100644

> --- a/configs/mx6ul_9x9_evk_defconfig

> +++ b/configs/mx6ul_9x9_evk_defconfig

> @@ -16,6 +16,7 @@ CONFIG_BOOTDELAY=3

>  # CONFIG_CONSOLE_MUX is not set

>  CONFIG_SYS_CONSOLE_IS_IN_ENV=y

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

>  # CONFIG_CMD_IMLS is not set

> diff --git a/configs/nanopi_neo_defconfig b/configs/nanopi_neo_defconfig

> index 5164245..846e098 100644

> --- a/configs/nanopi_neo_defconfig

> +++ b/configs/nanopi_neo_defconfig

> @@ -8,6 +8,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun8i-h3-nanopi-neo"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_CONSOLE_MUX=y

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/novena_defconfig b/configs/novena_defconfig

> index e0d6f2e..7682a18 100644

> --- a/configs/novena_defconfig

> +++ b/configs/novena_defconfig

> @@ -16,6 +16,7 @@ CONFIG_FIT=y

>  CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,MX6Q"

>  CONFIG_VERSION_VARIABLE=y

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

>  # CONFIG_CMD_IMLS is not set

> diff --git a/configs/omap3_beagle_defconfig b/configs/omap3_beagle_defconfig

> index 7a1fd44..e0d648b 100644

> --- a/configs/omap3_beagle_defconfig

> +++ b/configs/omap3_beagle_defconfig

> @@ -5,6 +5,7 @@ CONFIG_SYS_EXTRA_OPTIONS="NAND"

>  CONFIG_SYS_CONSOLE_INFO_QUIET=y

>  CONFIG_VERSION_VARIABLE=y

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_MTD_SUPPORT=y

>  CONFIG_SPL_OS_BOOT=y

>  CONFIG_HUSH_PARSER=y

> diff --git a/configs/omap3_evm_defconfig b/configs/omap3_evm_defconfig

> index 6ca7e2c..55c1f01 100644

> --- a/configs/omap3_evm_defconfig

> +++ b/configs/omap3_evm_defconfig

> @@ -4,6 +4,7 @@ CONFIG_OMAP34XX=y

>  CONFIG_TARGET_OMAP3_EVM=y

>  CONFIG_BOOTDELAY=3

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_SYS_PROMPT="OMAP3_EVM # "

>  # CONFIG_CMD_IMI is not set

> diff --git a/configs/omap3_ha_defconfig b/configs/omap3_ha_defconfig

> index 3fcbb76..248ba61 100644

> --- a/configs/omap3_ha_defconfig

> +++ b/configs/omap3_ha_defconfig

> @@ -5,6 +5,7 @@ CONFIG_TARGET_TAO3530=y

>  CONFIG_SYS_EXTRA_OPTIONS="SYS_BOARD_OMAP3_HA"

>  CONFIG_BOOTDELAY=3

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  # CONFIG_CMD_IMI is not set

>  # CONFIG_CMD_IMLS is not set

> diff --git a/configs/omap3_logic_defconfig b/configs/omap3_logic_defconfig

> index c8eb5b5..299cfac 100644

> --- a/configs/omap3_logic_defconfig

> +++ b/configs/omap3_logic_defconfig

> @@ -6,6 +6,7 @@ CONFIG_SYS_EXTRA_OPTIONS="NAND"

>  CONFIG_SYS_CONSOLE_INFO_QUIET=y

>  CONFIG_VERSION_VARIABLE=y

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_MTD_SUPPORT=y

>  CONFIG_SPL_OS_BOOT=y

>  CONFIG_HUSH_PARSER=y

> diff --git a/configs/omap3_overo_defconfig b/configs/omap3_overo_defconfig

> index b902283..e507919 100644

> --- a/configs/omap3_overo_defconfig

> +++ b/configs/omap3_overo_defconfig

> @@ -4,6 +4,7 @@ CONFIG_TARGET_OMAP3_OVERO=y

>  CONFIG_SYS_CONSOLE_INFO_QUIET=y

>  CONFIG_VERSION_VARIABLE=y

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_MTD_SUPPORT=y

>  CONFIG_SPL_OS_BOOT=y

>  CONFIG_HUSH_PARSER=y

> diff --git a/configs/omap4_panda_defconfig b/configs/omap4_panda_defconfig

> index a5fbf9a..e03204c 100644

> --- a/configs/omap4_panda_defconfig

> +++ b/configs/omap4_panda_defconfig

> @@ -8,6 +8,7 @@ CONFIG_SYS_CONSOLE_IS_IN_ENV=y

>  CONFIG_SYS_CONSOLE_INFO_QUIET=y

>  CONFIG_VERSION_VARIABLE=y

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_OS_BOOT=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

> diff --git a/configs/omap4_sdp4430_defconfig b/configs/omap4_sdp4430_defconfig

> index 92cc9f0..8f9b2ef 100644

> --- a/configs/omap4_sdp4430_defconfig

> +++ b/configs/omap4_sdp4430_defconfig

> @@ -7,6 +7,7 @@ CONFIG_SYS_CONSOLE_IS_IN_ENV=y

>  CONFIG_SYS_CONSOLE_INFO_QUIET=y

>  CONFIG_VERSION_VARIABLE=y

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_OS_BOOT=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

> diff --git a/configs/omap5_uevm_defconfig b/configs/omap5_uevm_defconfig

> index 3005ffd..8876c0c 100644

> --- a/configs/omap5_uevm_defconfig

> +++ b/configs/omap5_uevm_defconfig

> @@ -5,6 +5,7 @@ CONFIG_TARGET_OMAP5_UEVM=y

>  CONFIG_SYS_CONSOLE_INFO_QUIET=y

>  CONFIG_VERSION_VARIABLE=y

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_OS_BOOT=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

> diff --git a/configs/orangepi_2_defconfig b/configs/orangepi_2_defconfig

> index 4727aca..0e24f75 100644

> --- a/configs/orangepi_2_defconfig

> +++ b/configs/orangepi_2_defconfig

> @@ -10,6 +10,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun8i-h3-orangepi-2"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_CONSOLE_MUX=y

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/orangepi_lite_defconfig b/configs/orangepi_lite_defconfig

> index 8545835..783c1da 100644

> --- a/configs/orangepi_lite_defconfig

> +++ b/configs/orangepi_lite_defconfig

> @@ -8,6 +8,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun8i-h3-orangepi-lite"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_CONSOLE_MUX=y

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/orangepi_one_defconfig b/configs/orangepi_one_defconfig

> index 01b4ece..134135c 100644

> --- a/configs/orangepi_one_defconfig

> +++ b/configs/orangepi_one_defconfig

> @@ -8,6 +8,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun8i-h3-orangepi-one"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_CONSOLE_MUX=y

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/orangepi_pc_defconfig b/configs/orangepi_pc_defconfig

> index 910d68e..fd2f86c 100644

> --- a/configs/orangepi_pc_defconfig

> +++ b/configs/orangepi_pc_defconfig

> @@ -9,6 +9,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun8i-h3-orangepi-pc"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_CONSOLE_MUX=y

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/orangepi_pc_plus_defconfig b/configs/orangepi_pc_plus_defconfig

> index f43682b..f274162 100644

> --- a/configs/orangepi_pc_plus_defconfig

> +++ b/configs/orangepi_pc_plus_defconfig

> @@ -10,6 +10,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun8i-h3-orangepi-pc-plus"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_CONSOLE_MUX=y

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/orangepi_plus2e_defconfig b/configs/orangepi_plus2e_defconfig

> index df05d37..6233f4f 100644

> --- a/configs/orangepi_plus2e_defconfig

> +++ b/configs/orangepi_plus2e_defconfig

> @@ -11,6 +11,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun8i-h3-orangepi-plus2e"

>  CONFIG_SYS_EXTRA_OPTIONS="MACPWR=SUNXI_GPD(6)"

>  CONFIG_CONSOLE_MUX=y

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/orangepi_plus_defconfig b/configs/orangepi_plus_defconfig

> index bf88fef..8570ad5 100644

> --- a/configs/orangepi_plus_defconfig

> +++ b/configs/orangepi_plus_defconfig

> @@ -12,6 +12,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun8i-h3-orangepi-plus"

>  CONFIG_SYS_EXTRA_OPTIONS="SATAPWR=SUNXI_GPG(11),MACPWR=SUNXI_GPD(6)"

>  CONFIG_CONSOLE_MUX=y

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/ot1200_spl_defconfig b/configs/ot1200_spl_defconfig

> index d1bdbde..6355a9f 100644

> --- a/configs/ot1200_spl_defconfig

> +++ b/configs/ot1200_spl_defconfig

> @@ -12,6 +12,7 @@ CONFIG_SPL_WATCHDOG_SUPPORT=y

>  CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,MX6Q"

>  CONFIG_BOOTDELAY=3

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

>  # CONFIG_CMD_IMLS is not set

> diff --git a/configs/parrot_r16_defconfig b/configs/parrot_r16_defconfig

> index ffe15e5..242641b 100644

> --- a/configs/parrot_r16_defconfig

> +++ b/configs/parrot_r16_defconfig

> @@ -12,6 +12,7 @@ CONFIG_AXP_GPIO=y

>  CONFIG_DEFAULT_DEVICE_TREE="sun8i-r16-parrot"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/pcm051_rev1_defconfig b/configs/pcm051_rev1_defconfig

> index bc6e92d..d944e33 100644

> --- a/configs/pcm051_rev1_defconfig

> +++ b/configs/pcm051_rev1_defconfig

> @@ -18,6 +18,7 @@ CONFIG_SYS_EXTRA_OPTIONS="REV1"

>  CONFIG_SYS_CONSOLE_INFO_QUIET=y

>  CONFIG_VERSION_VARIABLE=y

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_ETH_SUPPORT=y

>  CONFIG_SPL_NET_SUPPORT=y

>  CONFIG_SPL_NET_VCI_STRING="pcm051 U-Boot SPL"

> diff --git a/configs/pcm051_rev3_defconfig b/configs/pcm051_rev3_defconfig

> index acdf192..db0b459 100644

> --- a/configs/pcm051_rev3_defconfig

> +++ b/configs/pcm051_rev3_defconfig

> @@ -18,6 +18,7 @@ CONFIG_SYS_EXTRA_OPTIONS="REV3"

>  CONFIG_SYS_CONSOLE_INFO_QUIET=y

>  CONFIG_VERSION_VARIABLE=y

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_ETH_SUPPORT=y

>  CONFIG_SPL_NET_SUPPORT=y

>  CONFIG_SPL_NET_VCI_STRING="pcm051 U-Boot SPL"

> diff --git a/configs/pcm058_defconfig b/configs/pcm058_defconfig

> index b2f70ea..bd909ff 100644

> --- a/configs/pcm058_defconfig

> +++ b/configs/pcm058_defconfig

> @@ -17,6 +17,7 @@ CONFIG_FIT=y

>  CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,MX6Q"

>  CONFIG_BOOTDELAY=3

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_DMA_SUPPORT=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

> diff --git a/configs/pengwyn_defconfig b/configs/pengwyn_defconfig

> index 2da2126..4012654 100644

> --- a/configs/pengwyn_defconfig

> +++ b/configs/pengwyn_defconfig

> @@ -18,6 +18,7 @@ CONFIG_SPL_YMODEM_SUPPORT=y

>  CONFIG_SYS_CONSOLE_INFO_QUIET=y

>  CONFIG_VERSION_VARIABLE=y

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_ETH_SUPPORT=y

>  CONFIG_SPL_MTD_SUPPORT=y

>  CONFIG_SPL_NET_SUPPORT=y

> diff --git a/configs/pepper_defconfig b/configs/pepper_defconfig

> index 0592ed9..6e533b6 100644

> --- a/configs/pepper_defconfig

> +++ b/configs/pepper_defconfig

> @@ -15,6 +15,7 @@ CONFIG_SPL_WATCHDOG_SUPPORT=y

>  CONFIG_SYS_CONSOLE_INFO_QUIET=y

>  CONFIG_VERSION_VARIABLE=y

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_SYS_PROMPT="pepper# "

>  CONFIG_CMD_BOOTZ=y

> diff --git a/configs/picosam9g45_defconfig b/configs/picosam9g45_defconfig

> index 90cc75e..62217d2 100644

> --- a/configs/picosam9g45_defconfig

> +++ b/configs/picosam9g45_defconfig

> @@ -15,6 +15,7 @@ CONFIG_BOOTDELAY=3

>  CONFIG_SYS_CONSOLE_IS_IN_ENV=y

>  # CONFIG_DISPLAY_BOARDINFO is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_SYS_PROMPT="U-Boot> "

>  # CONFIG_CMD_BDI is not set

> diff --git a/configs/platinum_picon_defconfig b/configs/platinum_picon_defconfig

> index 71ebc25..c5f66a6 100644

> --- a/configs/platinum_picon_defconfig

> +++ b/configs/platinum_picon_defconfig

> @@ -14,6 +14,7 @@ CONFIG_SPL_WATCHDOG_SUPPORT=y

>  CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,MX6DL"

>  CONFIG_BOOTDELAY=3

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_DMA_SUPPORT=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_SYS_PROMPT="picon > "

> diff --git a/configs/platinum_titanium_defconfig b/configs/platinum_titanium_defconfig

> index 51aeff1..af3bb8e 100644

> --- a/configs/platinum_titanium_defconfig

> +++ b/configs/platinum_titanium_defconfig

> @@ -14,6 +14,7 @@ CONFIG_SPL_WATCHDOG_SUPPORT=y

>  CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,MX6Q"

>  CONFIG_BOOTDELAY=3

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_DMA_SUPPORT=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_SYS_PROMPT="titanium > "

> diff --git a/configs/polaroid_mid2407pxe03_defconfig b/configs/polaroid_mid2407pxe03_defconfig

> index 2ac6f4c..c04e6c5 100644

> --- a/configs/polaroid_mid2407pxe03_defconfig

> +++ b/configs/polaroid_mid2407pxe03_defconfig

> @@ -17,6 +17,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun8i-a23-polaroid-mid2407pxe03"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=5"

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/polaroid_mid2809pxe04_defconfig b/configs/polaroid_mid2809pxe04_defconfig

> index d9bcd4f..d10f1f5 100644

> --- a/configs/polaroid_mid2809pxe04_defconfig

> +++ b/configs/polaroid_mid2809pxe04_defconfig

> @@ -17,6 +17,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun8i-a23-polaroid-mid2809pxe04"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=5"

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/popmetal-rk3288_defconfig b/configs/popmetal-rk3288_defconfig

> index ff6a153..941a2f8 100644

> --- a/configs/popmetal-rk3288_defconfig

> +++ b/configs/popmetal-rk3288_defconfig

> @@ -10,6 +10,7 @@ CONFIG_CONSOLE_MUX=y

>  # CONFIG_DISPLAY_CPUINFO is not set

>  CONFIG_SPL_STACK_R=y

>  CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x2000

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

>  # CONFIG_CMD_IMLS is not set

> diff --git a/configs/pov_protab2_ips9_defconfig b/configs/pov_protab2_ips9_defconfig

> index 8e81e69..786ad53 100644

> --- a/configs/pov_protab2_ips9_defconfig

> +++ b/configs/pov_protab2_ips9_defconfig

> @@ -15,6 +15,7 @@ CONFIG_VIDEO_LCD_PANEL_LVDS=y

>  CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-pov-protab2-ips9"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/pxm2_defconfig b/configs/pxm2_defconfig

> index b73e426..66fcde0 100644

> --- a/configs/pxm2_defconfig

> +++ b/configs/pxm2_defconfig

> @@ -23,6 +23,7 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y

>  # CONFIG_DISPLAY_CPUINFO is not set

>  # CONFIG_DISPLAY_BOARDINFO is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_SYS_PROMPT="U-Boot# "

>  CONFIG_AUTOBOOT_KEYED=y

> diff --git a/configs/q8_a13_tablet_defconfig b/configs/q8_a13_tablet_defconfig

> index 6b516db..a0fc169 100644

> --- a/configs/q8_a13_tablet_defconfig

> +++ b/configs/q8_a13_tablet_defconfig

> @@ -17,6 +17,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun5i-a13-q8-tablet"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=2"

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/q8_a23_tablet_800x480_defconfig b/configs/q8_a23_tablet_800x480_defconfig

> index 971dcea..d2c6b06 100644

> --- a/configs/q8_a23_tablet_800x480_defconfig

> +++ b/configs/q8_a23_tablet_800x480_defconfig

> @@ -17,6 +17,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun8i-a23-q8-tablet"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=5"

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/q8_a33_tablet_1024x600_defconfig b/configs/q8_a33_tablet_1024x600_defconfig

> index f99e347..c21b3fb 100644

> --- a/configs/q8_a33_tablet_1024x600_defconfig

> +++ b/configs/q8_a33_tablet_1024x600_defconfig

> @@ -17,6 +17,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun8i-a33-q8-tablet"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=5"

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/q8_a33_tablet_800x480_defconfig b/configs/q8_a33_tablet_800x480_defconfig

> index 182bd9a..1baecd2 100644

> --- a/configs/q8_a33_tablet_800x480_defconfig

> +++ b/configs/q8_a33_tablet_800x480_defconfig

> @@ -17,6 +17,7 @@ CONFIG_DEFAULT_DEVICE_TREE="sun8i-a33-q8-tablet"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=5"

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/r7-tv-dongle_defconfig b/configs/r7-tv-dongle_defconfig

> index afbc9a6..c114e91 100644

> --- a/configs/r7-tv-dongle_defconfig

> +++ b/configs/r7-tv-dongle_defconfig

> @@ -7,6 +7,7 @@ CONFIG_USB1_VBUS_PIN="PG13"

>  CONFIG_DEFAULT_DEVICE_TREE="sun5i-a10s-r7-tv-dongle"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/rastaban_defconfig b/configs/rastaban_defconfig

> index ab65c14..028252f 100644

> --- a/configs/rastaban_defconfig

> +++ b/configs/rastaban_defconfig

> @@ -19,6 +19,7 @@ CONFIG_BOOTDELAY=3

>  CONFIG_SYS_CONSOLE_INFO_QUIET=y

>  # CONFIG_DISPLAY_BOARDINFO is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_SYS_PROMPT="U-Boot# "

>  CONFIG_AUTOBOOT_KEYED=y

> diff --git a/configs/rock2_defconfig b/configs/rock2_defconfig

> index 1883f07..017cd8b 100644

> --- a/configs/rock2_defconfig

> +++ b/configs/rock2_defconfig

> @@ -11,6 +11,7 @@ CONFIG_SILENT_CONSOLE=y

>  # CONFIG_DISPLAY_CPUINFO is not set

>  CONFIG_SPL_STACK_R=y

>  CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x2000

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

>  # CONFIG_CMD_IMLS is not set

> diff --git a/configs/rut_defconfig b/configs/rut_defconfig

> index ff3c571..edab198 100644

> --- a/configs/rut_defconfig

> +++ b/configs/rut_defconfig

> @@ -23,6 +23,7 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y

>  # CONFIG_DISPLAY_CPUINFO is not set

>  # CONFIG_DISPLAY_BOARDINFO is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_SYS_PROMPT="U-Boot# "

>  CONFIG_AUTOBOOT_KEYED=y

> diff --git a/configs/sama5d2_xplained_mmc_defconfig b/configs/sama5d2_xplained_mmc_defconfig

> index 8a786f1..8e1764d 100644

> --- a/configs/sama5d2_xplained_mmc_defconfig

> +++ b/configs/sama5d2_xplained_mmc_defconfig

> @@ -8,14 +8,13 @@ CONFIG_SPL_FAT_SUPPORT=y

>  CONFIG_SPL_LIBDISK_SUPPORT=y

>  CONFIG_SPL_MMC_SUPPORT=y

>  CONFIG_SPL_SERIAL_SUPPORT=y

> -CONFIG_DM_GPIO=y

> -CONFIG_DM_SERIAL=y

>  CONFIG_DEFAULT_DEVICE_TREE="at91-sama5d2_xplained"

>  CONFIG_FIT=y

>  CONFIG_SYS_EXTRA_OPTIONS="SAMA5D2,SYS_USE_MMC"

>  CONFIG_BOOTDELAY=3

>  # CONFIG_DISPLAY_BOARDINFO is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

>  # CONFIG_CMD_IMI is not set

> @@ -34,24 +33,24 @@ CONFIG_OF_CONTROL=y

>  CONFIG_SPL_OF_CONTROL=y

>  CONFIG_DM=y

>  CONFIG_SPL_DM=y

> -CONFIG_BLK=y

>  CONFIG_CLK=y

>  CONFIG_SPL_CLK=y

>  CONFIG_CLK_AT91=y

>  CONFIG_AT91_UTMI=y

>  CONFIG_AT91_H32MX=y

>  CONFIG_AT91_GENERIC_CLK=y

> +CONFIG_DM_GPIO=y

>  CONFIG_ATMEL_PIO4=y

>  CONFIG_DM_I2C=y

>  CONFIG_SYS_I2C_AT91=y

>  CONFIG_DM_MMC=y

> -CONFIG_DM_MMC_OPS=y

>  CONFIG_ATMEL_SDHCI=y

>  CONFIG_DM_SPI_FLASH=y

>  CONFIG_SPI_FLASH=y

>  CONFIG_SPI_FLASH_ATMEL=y

>  CONFIG_PINCTRL=y

>  CONFIG_PINCTRL_AT91PIO4=y

> +CONFIG_DM_SERIAL=y

>  CONFIG_DEBUG_UART=y

>  CONFIG_DEBUG_UART_ATMEL=y

>  CONFIG_DEBUG_UART_BASE=0xf8020000

> @@ -62,8 +61,8 @@ CONFIG_ATMEL_USART=y

>  CONFIG_DM_SPI=y

>  CONFIG_ATMEL_SPI=y

>  CONFIG_USB=y

> -CONFIG_USB_STORAGE=y

>  CONFIG_DM_USB=y

>  CONFIG_USB_EHCI_HCD=y

> +CONFIG_USB_STORAGE=y

>  CONFIG_USB_GADGET=y

>  CONFIG_USB_GADGET_ATMEL_USBA=y

> diff --git a/configs/sama5d2_xplained_spiflash_defconfig b/configs/sama5d2_xplained_spiflash_defconfig

> index 51594e7..b388b62 100644

> --- a/configs/sama5d2_xplained_spiflash_defconfig

> +++ b/configs/sama5d2_xplained_spiflash_defconfig

> @@ -7,14 +7,13 @@ CONFIG_SPL_LIBGENERIC_SUPPORT=y

>  CONFIG_SPL_SERIAL_SUPPORT=y

>  CONFIG_SPL_SPI_FLASH_SUPPORT=y

>  CONFIG_SPL_SPI_SUPPORT=y

> -CONFIG_DM_GPIO=y

> -CONFIG_DM_SERIAL=y

>  CONFIG_DEFAULT_DEVICE_TREE="at91-sama5d2_xplained"

>  CONFIG_FIT=y

>  CONFIG_SYS_EXTRA_OPTIONS="SAMA5D2,SYS_USE_SERIALFLASH"

>  CONFIG_BOOTDELAY=3

>  # CONFIG_DISPLAY_BOARDINFO is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

>  # CONFIG_CMD_IMI is not set

> @@ -33,24 +32,24 @@ CONFIG_OF_CONTROL=y

>  CONFIG_SPL_OF_CONTROL=y

>  CONFIG_DM=y

>  CONFIG_SPL_DM=y

> -CONFIG_BLK=y

>  CONFIG_CLK=y

>  CONFIG_SPL_CLK=y

>  CONFIG_CLK_AT91=y

>  CONFIG_AT91_UTMI=y

>  CONFIG_AT91_H32MX=y

>  CONFIG_AT91_GENERIC_CLK=y

> +CONFIG_DM_GPIO=y

>  CONFIG_ATMEL_PIO4=y

>  CONFIG_DM_I2C=y

>  CONFIG_SYS_I2C_AT91=y

>  CONFIG_DM_MMC=y

> -CONFIG_DM_MMC_OPS=y

>  CONFIG_ATMEL_SDHCI=y

>  CONFIG_DM_SPI_FLASH=y

>  CONFIG_SPI_FLASH=y

>  CONFIG_SPI_FLASH_ATMEL=y

>  CONFIG_PINCTRL=y

>  CONFIG_PINCTRL_AT91PIO4=y

> +CONFIG_DM_SERIAL=y

>  CONFIG_DEBUG_UART=y

>  CONFIG_DEBUG_UART_ATMEL=y

>  CONFIG_DEBUG_UART_BASE=0xf8020000

> diff --git a/configs/sama5d3_xplained_mmc_defconfig b/configs/sama5d3_xplained_mmc_defconfig

> index 4f4e51b..e99feca 100644

> --- a/configs/sama5d3_xplained_mmc_defconfig

> +++ b/configs/sama5d3_xplained_mmc_defconfig

> @@ -13,6 +13,7 @@ CONFIG_SYS_EXTRA_OPTIONS="SAMA5D3,SYS_USE_MMC"

>  CONFIG_BOOTDELAY=3

>  # CONFIG_DISPLAY_BOARDINFO is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

>  # CONFIG_CMD_IMI is not set

> diff --git a/configs/sama5d3_xplained_nandflash_defconfig b/configs/sama5d3_xplained_nandflash_defconfig

> index e83d047..10aaedb 100644

> --- a/configs/sama5d3_xplained_nandflash_defconfig

> +++ b/configs/sama5d3_xplained_nandflash_defconfig

> @@ -11,6 +11,7 @@ CONFIG_SYS_EXTRA_OPTIONS="SAMA5D3,SYS_USE_NANDFLASH"

>  CONFIG_BOOTDELAY=3

>  # CONFIG_DISPLAY_BOARDINFO is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

>  # CONFIG_CMD_IMI is not set

> diff --git a/configs/sama5d3xek_mmc_defconfig b/configs/sama5d3xek_mmc_defconfig

> index ea6d4b9..4abc71e 100644

> --- a/configs/sama5d3xek_mmc_defconfig

> +++ b/configs/sama5d3xek_mmc_defconfig

> @@ -15,6 +15,7 @@ CONFIG_BOOTDELAY=3

>  CONFIG_SYS_CONSOLE_IS_IN_ENV=y

>  # CONFIG_DISPLAY_BOARDINFO is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

>  # CONFIG_CMD_IMI is not set

> diff --git a/configs/sama5d3xek_nandflash_defconfig b/configs/sama5d3xek_nandflash_defconfig

> index f8504cc..a18286f 100644

> --- a/configs/sama5d3xek_nandflash_defconfig

> +++ b/configs/sama5d3xek_nandflash_defconfig

> @@ -13,6 +13,7 @@ CONFIG_BOOTDELAY=3

>  CONFIG_SYS_CONSOLE_IS_IN_ENV=y

>  # CONFIG_DISPLAY_BOARDINFO is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

>  # CONFIG_CMD_IMI is not set

> diff --git a/configs/sama5d3xek_spiflash_defconfig b/configs/sama5d3xek_spiflash_defconfig

> index b5cabaf..bc06666 100644

> --- a/configs/sama5d3xek_spiflash_defconfig

> +++ b/configs/sama5d3xek_spiflash_defconfig

> @@ -14,6 +14,7 @@ CONFIG_BOOTDELAY=3

>  CONFIG_SYS_CONSOLE_IS_IN_ENV=y

>  # CONFIG_DISPLAY_BOARDINFO is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

>  # CONFIG_CMD_IMI is not set

> diff --git a/configs/sama5d4_xplained_mmc_defconfig b/configs/sama5d4_xplained_mmc_defconfig

> index 5ff4688..d144ee2 100644

> --- a/configs/sama5d4_xplained_mmc_defconfig

> +++ b/configs/sama5d4_xplained_mmc_defconfig

> @@ -13,6 +13,7 @@ CONFIG_SYS_EXTRA_OPTIONS="SAMA5D4,SYS_USE_MMC"

>  CONFIG_BOOTDELAY=3

>  # CONFIG_DISPLAY_BOARDINFO is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

>  # CONFIG_CMD_IMI is not set

> diff --git a/configs/sama5d4_xplained_nandflash_defconfig b/configs/sama5d4_xplained_nandflash_defconfig

> index 800a8b2..e4131ec 100644

> --- a/configs/sama5d4_xplained_nandflash_defconfig

> +++ b/configs/sama5d4_xplained_nandflash_defconfig

> @@ -11,6 +11,7 @@ CONFIG_SYS_EXTRA_OPTIONS="SAMA5D4,SYS_USE_NANDFLASH"

>  CONFIG_BOOTDELAY=3

>  # CONFIG_DISPLAY_BOARDINFO is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

>  # CONFIG_CMD_IMI is not set

> diff --git a/configs/sama5d4_xplained_spiflash_defconfig b/configs/sama5d4_xplained_spiflash_defconfig

> index e5d2f54..70567a3 100644

> --- a/configs/sama5d4_xplained_spiflash_defconfig

> +++ b/configs/sama5d4_xplained_spiflash_defconfig

> @@ -12,6 +12,7 @@ CONFIG_SYS_EXTRA_OPTIONS="SAMA5D4,SYS_USE_SERIALFLASH"

>  CONFIG_BOOTDELAY=3

>  # CONFIG_DISPLAY_BOARDINFO is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

>  # CONFIG_CMD_IMI is not set

> diff --git a/configs/sama5d4ek_mmc_defconfig b/configs/sama5d4ek_mmc_defconfig

> index 4899970..8d5429f 100644

> --- a/configs/sama5d4ek_mmc_defconfig

> +++ b/configs/sama5d4ek_mmc_defconfig

> @@ -15,6 +15,7 @@ CONFIG_BOOTDELAY=3

>  CONFIG_SYS_CONSOLE_IS_IN_ENV=y

>  # CONFIG_DISPLAY_BOARDINFO is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

>  # CONFIG_CMD_IMI is not set

> diff --git a/configs/sama5d4ek_nandflash_defconfig b/configs/sama5d4ek_nandflash_defconfig

> index 9ebe295..4e2cb3b 100644

> --- a/configs/sama5d4ek_nandflash_defconfig

> +++ b/configs/sama5d4ek_nandflash_defconfig

> @@ -13,6 +13,7 @@ CONFIG_BOOTDELAY=3

>  CONFIG_SYS_CONSOLE_IS_IN_ENV=y

>  # CONFIG_DISPLAY_BOARDINFO is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

>  # CONFIG_CMD_IMI is not set

> diff --git a/configs/sama5d4ek_spiflash_defconfig b/configs/sama5d4ek_spiflash_defconfig

> index dff8995..f064eda 100644

> --- a/configs/sama5d4ek_spiflash_defconfig

> +++ b/configs/sama5d4ek_spiflash_defconfig

> @@ -14,6 +14,7 @@ CONFIG_BOOTDELAY=3

>  CONFIG_SYS_CONSOLE_IS_IN_ENV=y

>  # CONFIG_DISPLAY_BOARDINFO is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

>  # CONFIG_CMD_IMI is not set

> diff --git a/configs/socfpga_arria5_defconfig b/configs/socfpga_arria5_defconfig

> index d91990c..39270f0 100644

> --- a/configs/socfpga_arria5_defconfig

> +++ b/configs/socfpga_arria5_defconfig

> @@ -13,6 +13,7 @@ CONFIG_VERSION_VARIABLE=y

>  CONFIG_SPL=y

>  CONFIG_SPL_SYS_MALLOC_SIMPLE=y

>  CONFIG_SPL_STACK_R=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

>  # CONFIG_CMD_IMLS is not set

> diff --git a/configs/socfpga_cyclone5_defconfig b/configs/socfpga_cyclone5_defconfig

> index 905f766..1f61131 100644

> --- a/configs/socfpga_cyclone5_defconfig

> +++ b/configs/socfpga_cyclone5_defconfig

> @@ -13,6 +13,7 @@ CONFIG_VERSION_VARIABLE=y

>  CONFIG_SPL=y

>  CONFIG_SPL_SYS_MALLOC_SIMPLE=y

>  CONFIG_SPL_STACK_R=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

>  # CONFIG_CMD_IMLS is not set

> diff --git a/configs/socfpga_de0_nano_soc_defconfig b/configs/socfpga_de0_nano_soc_defconfig

> index 7daf81a..d699f5f 100644

> --- a/configs/socfpga_de0_nano_soc_defconfig

> +++ b/configs/socfpga_de0_nano_soc_defconfig

> @@ -13,6 +13,7 @@ CONFIG_VERSION_VARIABLE=y

>  CONFIG_SPL=y

>  CONFIG_SPL_SYS_MALLOC_SIMPLE=y

>  CONFIG_SPL_STACK_R=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

>  # CONFIG_CMD_IMLS is not set

> diff --git a/configs/socfpga_is1_defconfig b/configs/socfpga_is1_defconfig

> index a0f04d0..7af9d04 100644

> --- a/configs/socfpga_is1_defconfig

> +++ b/configs/socfpga_is1_defconfig

> @@ -12,6 +12,7 @@ CONFIG_VERSION_VARIABLE=y

>  # CONFIG_DISPLAY_BOARDINFO is not set

>  CONFIG_SPL=y

>  CONFIG_SPL_STACK_R=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

>  # CONFIG_CMD_IMLS is not set

> diff --git a/configs/socfpga_mcvevk_defconfig b/configs/socfpga_mcvevk_defconfig

> index 5a53246..31f7fd5 100644

> --- a/configs/socfpga_mcvevk_defconfig

> +++ b/configs/socfpga_mcvevk_defconfig

> @@ -13,6 +13,7 @@ CONFIG_VERSION_VARIABLE=y

>  CONFIG_SPL=y

>  CONFIG_SPL_SYS_MALLOC_SIMPLE=y

>  CONFIG_SPL_STACK_R=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

>  # CONFIG_CMD_IMLS is not set

> diff --git a/configs/socfpga_sockit_defconfig b/configs/socfpga_sockit_defconfig

> index 9450d21..5b3c696 100644

> --- a/configs/socfpga_sockit_defconfig

> +++ b/configs/socfpga_sockit_defconfig

> @@ -13,6 +13,7 @@ CONFIG_VERSION_VARIABLE=y

>  CONFIG_SPL=y

>  CONFIG_SPL_SYS_MALLOC_SIMPLE=y

>  CONFIG_SPL_STACK_R=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

>  # CONFIG_CMD_IMLS is not set

> diff --git a/configs/socfpga_socrates_defconfig b/configs/socfpga_socrates_defconfig

> index 84a8890..69d2235 100644

> --- a/configs/socfpga_socrates_defconfig

> +++ b/configs/socfpga_socrates_defconfig

> @@ -13,6 +13,7 @@ CONFIG_VERSION_VARIABLE=y

>  CONFIG_SPL=y

>  CONFIG_SPL_SYS_MALLOC_SIMPLE=y

>  CONFIG_SPL_STACK_R=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

>  # CONFIG_CMD_IMLS is not set

> diff --git a/configs/socfpga_sr1500_defconfig b/configs/socfpga_sr1500_defconfig

> index 641dd4d..d93ee0c 100644

> --- a/configs/socfpga_sr1500_defconfig

> +++ b/configs/socfpga_sr1500_defconfig

> @@ -14,6 +14,7 @@ CONFIG_VERSION_VARIABLE=y

>  CONFIG_SPL=y

>  CONFIG_SPL_SYS_MALLOC_SIMPLE=y

>  CONFIG_SPL_STACK_R=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

>  # CONFIG_CMD_IMLS is not set

> diff --git a/configs/socfpga_vining_fpga_defconfig b/configs/socfpga_vining_fpga_defconfig

> index 608cdf8..b41c4a0 100644

> --- a/configs/socfpga_vining_fpga_defconfig

> +++ b/configs/socfpga_vining_fpga_defconfig

> @@ -14,6 +14,7 @@ CONFIG_VERSION_VARIABLE=y

>  CONFIG_SPL=y

>  CONFIG_SPL_SYS_MALLOC_SIMPLE=y

>  CONFIG_SPL_STACK_R=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

>  # CONFIG_CMD_IMLS is not set

> diff --git a/configs/sunxi_Gemei_G9_defconfig b/configs/sunxi_Gemei_G9_defconfig

> index 7309022..79d5db4 100644

> --- a/configs/sunxi_Gemei_G9_defconfig

> +++ b/configs/sunxi_Gemei_G9_defconfig

> @@ -12,6 +12,7 @@ CONFIG_VIDEO_LCD_PANEL_LVDS=y

>  CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-gemei-g9"

>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  # CONFIG_CMD_IMLS is not set

>  # CONFIG_CMD_FLASH is not set

>  # CONFIG_CMD_FPGA is not set

> diff --git a/configs/tao3530_defconfig b/configs/tao3530_defconfig

> index 88a3725..fb99112 100644

> --- a/configs/tao3530_defconfig

> +++ b/configs/tao3530_defconfig

> @@ -4,6 +4,7 @@ CONFIG_OMAP34XX=y

>  CONFIG_TARGET_TAO3530=y

>  CONFIG_BOOTDELAY=3

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_SYS_PROMPT="TAO-3530 # "

>  # CONFIG_CMD_IMI is not set

> diff --git a/configs/thuban_defconfig b/configs/thuban_defconfig

> index a9d3e7e..9028dad 100644

> --- a/configs/thuban_defconfig

> +++ b/configs/thuban_defconfig

> @@ -19,6 +19,7 @@ CONFIG_BOOTDELAY=3

>  CONFIG_SYS_CONSOLE_INFO_QUIET=y

>  # CONFIG_DISPLAY_BOARDINFO is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_SYS_PROMPT="U-Boot# "

>  CONFIG_AUTOBOOT_KEYED=y

> diff --git a/configs/ti814x_evm_defconfig b/configs/ti814x_evm_defconfig

> index 9d1df81..cccff99 100644

> --- a/configs/ti814x_evm_defconfig

> +++ b/configs/ti814x_evm_defconfig

> @@ -14,6 +14,7 @@ CONFIG_VERSION_VARIABLE=y

>  # CONFIG_DISPLAY_CPUINFO is not set

>  # CONFIG_DISPLAY_BOARDINFO is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_SYS_PROMPT="U-Boot# "

>  # CONFIG_CMD_IMLS is not set

> diff --git a/configs/ti816x_evm_defconfig b/configs/ti816x_evm_defconfig

> index e3a9f03..2af915a 100644

> --- a/configs/ti816x_evm_defconfig

> +++ b/configs/ti816x_evm_defconfig

> @@ -13,6 +13,7 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y

>  CONFIG_VERSION_VARIABLE=y

>  # CONFIG_DISPLAY_BOARDINFO is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_SYS_PROMPT="u-boot/ti816x# "

>  # CONFIG_CMD_IMLS is not set

> diff --git a/configs/tricorder_defconfig b/configs/tricorder_defconfig

> index 5bf0c9a..76e7980 100644

> --- a/configs/tricorder_defconfig

> +++ b/configs/tricorder_defconfig

> @@ -4,6 +4,7 @@ CONFIG_TARGET_TRICORDER=y

>  CONFIG_BOOTDELAY=0

>  CONFIG_SILENT_CONSOLE=y

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_SYS_PROMPT="OMAP3 Tricorder # "

>  # CONFIG_CMD_IMI is not set

> diff --git a/configs/tricorder_flash_defconfig b/configs/tricorder_flash_defconfig

> index 68d8fb6..0c846ef 100644

> --- a/configs/tricorder_flash_defconfig

> +++ b/configs/tricorder_flash_defconfig

> @@ -5,6 +5,7 @@ CONFIG_SYS_EXTRA_OPTIONS="FLASHCARD"

>  CONFIG_BOOTDELAY=0

>  CONFIG_SILENT_CONSOLE=y

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  # CONFIG_CMD_IMI is not set

>  # CONFIG_CMD_IMLS is not set

> diff --git a/configs/twister_defconfig b/configs/twister_defconfig

> index c92bfc8..d022754 100644

> --- a/configs/twister_defconfig

> +++ b/configs/twister_defconfig

> @@ -5,6 +5,7 @@ CONFIG_TARGET_TWISTER=y

>  CONFIG_FIT=y

>  CONFIG_BOOTDELAY=10

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_OS_BOOT=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_SYS_PROMPT="twister => "

> diff --git a/configs/udoo_defconfig b/configs/udoo_defconfig

> index a4a17c1..e2bf66d 100644

> --- a/configs/udoo_defconfig

> +++ b/configs/udoo_defconfig

> @@ -13,6 +13,7 @@ CONFIG_SPL_WATCHDOG_SUPPORT=y

>  CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,MX6QDL"

>  CONFIG_BOOTDELAY=3

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

>  # CONFIG_CMD_IMLS is not set

> diff --git a/configs/uniphier_ld11_defconfig b/configs/uniphier_ld11_defconfig

> index c0ac5ac..c398043 100644

> --- a/configs/uniphier_ld11_defconfig

> +++ b/configs/uniphier_ld11_defconfig

> @@ -6,6 +6,7 @@ CONFIG_ARCH_UNIPHIER_LD11=y

>  CONFIG_MICRO_SUPPORT_CARD=y

>  CONFIG_SYS_TEXT_BASE=0x84000000

>  CONFIG_DEFAULT_DEVICE_TREE="uniphier-ld11-ref"

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_NOR_SUPPORT=y

>  CONFIG_HUSH_PARSER=y

>  # CONFIG_CMD_XIMG is not set

> diff --git a/configs/uniphier_ld20_defconfig b/configs/uniphier_ld20_defconfig

> index 3e802d3..7fbd827 100644

> --- a/configs/uniphier_ld20_defconfig

> +++ b/configs/uniphier_ld20_defconfig

> @@ -6,6 +6,7 @@ CONFIG_ARCH_UNIPHIER_LD20=y

>  CONFIG_MICRO_SUPPORT_CARD=y

>  CONFIG_SYS_TEXT_BASE=0x84000000

>  CONFIG_DEFAULT_DEVICE_TREE="uniphier-ld20-ref"

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_NOR_SUPPORT=y

>  CONFIG_HUSH_PARSER=y

>  # CONFIG_CMD_XIMG is not set

> diff --git a/configs/uniphier_ld4_sld8_defconfig b/configs/uniphier_ld4_sld8_defconfig

> index b141561..bf394a9 100644

> --- a/configs/uniphier_ld4_sld8_defconfig

> +++ b/configs/uniphier_ld4_sld8_defconfig

> @@ -8,6 +8,7 @@ CONFIG_ARCH_UNIPHIER_LD4_SLD8=y

>  CONFIG_MICRO_SUPPORT_CARD=y

>  CONFIG_SYS_TEXT_BASE=0x84000000

>  CONFIG_DEFAULT_DEVICE_TREE="uniphier-ld4-ref"

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_NOR_SUPPORT=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

> diff --git a/configs/uniphier_pro4_defconfig b/configs/uniphier_pro4_defconfig

> index f71ef56..d7819a1 100644

> --- a/configs/uniphier_pro4_defconfig

> +++ b/configs/uniphier_pro4_defconfig

> @@ -7,6 +7,7 @@ CONFIG_SPL_SERIAL_SUPPORT=y

>  CONFIG_MICRO_SUPPORT_CARD=y

>  CONFIG_SYS_TEXT_BASE=0x84000000

>  CONFIG_DEFAULT_DEVICE_TREE="uniphier-pro4-ref"

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_NOR_SUPPORT=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

> diff --git a/configs/uniphier_pxs2_ld6b_defconfig b/configs/uniphier_pxs2_ld6b_defconfig

> index ba3867f..1763848 100644

> --- a/configs/uniphier_pxs2_ld6b_defconfig

> +++ b/configs/uniphier_pxs2_ld6b_defconfig

> @@ -8,6 +8,7 @@ CONFIG_ARCH_UNIPHIER_PRO5_PXS2_LD6B=y

>  CONFIG_MICRO_SUPPORT_CARD=y

>  CONFIG_SYS_TEXT_BASE=0x84000000

>  CONFIG_DEFAULT_DEVICE_TREE="uniphier-pxs2-vodka"

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_NOR_SUPPORT=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

> diff --git a/configs/uniphier_sld3_defconfig b/configs/uniphier_sld3_defconfig

> index 3568f7a..28b3f23 100644

> --- a/configs/uniphier_sld3_defconfig

> +++ b/configs/uniphier_sld3_defconfig

> @@ -8,6 +8,7 @@ CONFIG_ARCH_UNIPHIER_SLD3=y

>  CONFIG_MICRO_SUPPORT_CARD=y

>  CONFIG_SYS_TEXT_BASE=0x84000000

>  CONFIG_DEFAULT_DEVICE_TREE="uniphier-sld3-ref"

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_NOR_SUPPORT=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

> diff --git a/configs/wandboard_defconfig b/configs/wandboard_defconfig

> index d338ffc..5e24e0e 100644

> --- a/configs/wandboard_defconfig

> +++ b/configs/wandboard_defconfig

> @@ -16,6 +16,7 @@ CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,MX6QDL"

>  CONFIG_SYS_CONSOLE_IS_IN_ENV=y

>  CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

>  # CONFIG_CMD_IMLS is not set

> diff --git a/configs/woodburn_sd_defconfig b/configs/woodburn_sd_defconfig

> index 01aae3b..d0109e1 100644

> --- a/configs/woodburn_sd_defconfig

> +++ b/configs/woodburn_sd_defconfig

> @@ -10,6 +10,7 @@ CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/woodburn/imximage.cfg"

>  CONFIG_BOOTDELAY=3

>  # CONFIG_DISPLAY_BOARDINFO is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_SYS_PROMPT="woodburn U-Boot > "

>  CONFIG_CMD_MMC=y

> diff --git a/configs/xpress_spl_defconfig b/configs/xpress_spl_defconfig

> index 2089a47..2c08197 100644

> --- a/configs/xpress_spl_defconfig

> +++ b/configs/xpress_spl_defconfig

> @@ -14,6 +14,7 @@ CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg"

>  CONFIG_BOOTDELAY=3

>  CONFIG_SYS_CONSOLE_INFO_QUIET=y

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_CMD_BOOTZ=y

>  # CONFIG_CMD_IMLS is not set

> diff --git a/configs/zc5202_defconfig b/configs/zc5202_defconfig

> index 65d10fd..86aeffd 100644

> --- a/configs/zc5202_defconfig

> +++ b/configs/zc5202_defconfig

> @@ -13,9 +13,10 @@ CONFIG_SPL_SPI_FLASH_SUPPORT=y

>  CONFIG_SPL_SPI_SUPPORT=y

>  CONFIG_SPL_WATCHDOG_SUPPORT=y

>  CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,MX6Q"

> -CONFIG_DEFAULT_FDT_FILE="imx6q-zc5202.dtb"

>  CONFIG_BOOTDELAY=3

> +CONFIG_DEFAULT_FDT_FILE="imx6q-zc5202.dtb"

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_CMD_MMC=y

>  CONFIG_CMD_SF=y

>  CONFIG_CMD_I2C=y

> diff --git a/configs/zc5601_defconfig b/configs/zc5601_defconfig

> index a539e58..0076092 100644

> --- a/configs/zc5601_defconfig

> +++ b/configs/zc5601_defconfig

> @@ -13,9 +13,10 @@ CONFIG_SPL_SPI_FLASH_SUPPORT=y

>  CONFIG_SPL_SPI_SUPPORT=y

>  CONFIG_SPL_WATCHDOG_SUPPORT=y

>  CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,MX6Q"

> -CONFIG_DEFAULT_FDT_FILE="imx6q-zc5601.dtb"

>  CONFIG_BOOTDELAY=3

> +CONFIG_DEFAULT_FDT_FILE="imx6q-zc5601.dtb"

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_CMD_MMC=y

>  CONFIG_CMD_SF=y

>  CONFIG_CMD_I2C=y

> diff --git a/configs/zynq_microzed_defconfig b/configs/zynq_microzed_defconfig

> index 16d26c0..30c4b2c 100644

> --- a/configs/zynq_microzed_defconfig

> +++ b/configs/zynq_microzed_defconfig

> @@ -7,6 +7,7 @@ CONFIG_FIT_SIGNATURE=y

>  CONFIG_SYS_NO_FLASH=y

>  # CONFIG_DISPLAY_CPUINFO is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_OS_BOOT=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_SYS_PROMPT="Zynq> "

> diff --git a/configs/zynq_picozed_defconfig b/configs/zynq_picozed_defconfig

> index 3ba6b66..2190ecd 100644

> --- a/configs/zynq_picozed_defconfig

> +++ b/configs/zynq_picozed_defconfig

> @@ -4,6 +4,7 @@ CONFIG_DEFAULT_DEVICE_TREE="zynq-picozed"

>  CONFIG_SYS_NO_FLASH=y

>  # CONFIG_DISPLAY_CPUINFO is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_OS_BOOT=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_SYS_PROMPT="Zynq> "

> diff --git a/configs/zynq_zc702_defconfig b/configs/zynq_zc702_defconfig

> index 117bfda..05c8489 100644

> --- a/configs/zynq_zc702_defconfig

> +++ b/configs/zynq_zc702_defconfig

> @@ -8,6 +8,7 @@ CONFIG_FIT_SIGNATURE=y

>  CONFIG_SYS_NO_FLASH=y

>  # CONFIG_DISPLAY_CPUINFO is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_OS_BOOT=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_SYS_PROMPT="Zynq> "

> diff --git a/configs/zynq_zc706_defconfig b/configs/zynq_zc706_defconfig

> index ef73849..5bdb199 100644

> --- a/configs/zynq_zc706_defconfig

> +++ b/configs/zynq_zc706_defconfig

> @@ -8,6 +8,7 @@ CONFIG_FIT_SIGNATURE=y

>  CONFIG_SYS_NO_FLASH=y

>  # CONFIG_DISPLAY_CPUINFO is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_OS_BOOT=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_SYS_PROMPT="Zynq> "

> diff --git a/configs/zynq_zc770_xm010_defconfig b/configs/zynq_zc770_xm010_defconfig

> index 1419efa..8e00717 100644

> --- a/configs/zynq_zc770_xm010_defconfig

> +++ b/configs/zynq_zc770_xm010_defconfig

> @@ -8,6 +8,7 @@ CONFIG_SYS_EXTRA_OPTIONS="ZC770_XM010"

>  CONFIG_SYS_NO_FLASH=y

>  # CONFIG_DISPLAY_CPUINFO is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_OS_BOOT=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_SYS_PROMPT="Zynq> "

> diff --git a/configs/zynq_zc770_xm011_defconfig b/configs/zynq_zc770_xm011_defconfig

> index 56c2851..8185640 100644

> --- a/configs/zynq_zc770_xm011_defconfig

> +++ b/configs/zynq_zc770_xm011_defconfig

> @@ -8,6 +8,7 @@ CONFIG_SYS_EXTRA_OPTIONS="ZC770_XM011"

>  CONFIG_SYS_NO_FLASH=y

>  # CONFIG_DISPLAY_CPUINFO is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_OS_BOOT=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_SYS_PROMPT="Zynq> "

> diff --git a/configs/zynq_zc770_xm012_defconfig b/configs/zynq_zc770_xm012_defconfig

> index d3116e1..d3e1df4 100644

> --- a/configs/zynq_zc770_xm012_defconfig

> +++ b/configs/zynq_zc770_xm012_defconfig

> @@ -7,6 +7,7 @@ CONFIG_FIT_SIGNATURE=y

>  CONFIG_SYS_EXTRA_OPTIONS="ZC770_XM012"

>  # CONFIG_DISPLAY_CPUINFO is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_OS_BOOT=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_SYS_PROMPT="Zynq> "

> diff --git a/configs/zynq_zc770_xm013_defconfig b/configs/zynq_zc770_xm013_defconfig

> index add038c..be75e09 100644

> --- a/configs/zynq_zc770_xm013_defconfig

> +++ b/configs/zynq_zc770_xm013_defconfig

> @@ -8,6 +8,7 @@ CONFIG_SYS_EXTRA_OPTIONS="ZC770_XM013"

>  CONFIG_SYS_NO_FLASH=y

>  # CONFIG_DISPLAY_CPUINFO is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_OS_BOOT=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_SYS_PROMPT="Zynq> "

> diff --git a/configs/zynq_zed_defconfig b/configs/zynq_zed_defconfig

> index 96f00e4..7450745 100644

> --- a/configs/zynq_zed_defconfig

> +++ b/configs/zynq_zed_defconfig

> @@ -7,6 +7,7 @@ CONFIG_FIT_SIGNATURE=y

>  CONFIG_SYS_NO_FLASH=y

>  # CONFIG_DISPLAY_CPUINFO is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_OS_BOOT=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_SYS_PROMPT="Zynq> "

> diff --git a/configs/zynq_zybo_defconfig b/configs/zynq_zybo_defconfig

> index dfac764..da67dc3 100644

> --- a/configs/zynq_zybo_defconfig

> +++ b/configs/zynq_zybo_defconfig

> @@ -8,6 +8,7 @@ CONFIG_FIT_SIGNATURE=y

>  CONFIG_SYS_NO_FLASH=y

>  # CONFIG_DISPLAY_CPUINFO is not set

>  CONFIG_SPL=y

> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y

>  CONFIG_SPL_OS_BOOT=y

>  CONFIG_HUSH_PARSER=y

>  CONFIG_SYS_PROMPT="Zynq> "

> diff --git a/include/configs/am3517_crane.h b/include/configs/am3517_crane.h

> index 6d27110..943ab3a 100644

> --- a/include/configs/am3517_crane.h

> +++ b/include/configs/am3517_crane.h

> @@ -275,7 +275,6 @@

>  #define CONFIG_SPL_BSS_START_ADDR      0x80000000

>  #define CONFIG_SPL_BSS_MAX_SIZE                0x80000         /* 512 KB */

>

> -#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR        0x300 /* address 0x60000 */

>  #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS     0x200 /* 256 KB */

>  #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION     1

>  #define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME        "u-boot.img"

> diff --git a/include/configs/am3517_evm.h b/include/configs/am3517_evm.h

> index cc89a16..deb1bab 100644

> --- a/include/configs/am3517_evm.h

> +++ b/include/configs/am3517_evm.h

> @@ -335,7 +335,6 @@

>  #define CONFIG_SPL_BSS_START_ADDR      0x80000000

>  #define CONFIG_SPL_BSS_MAX_SIZE                0x80000         /* 512 KB */

>

> -#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR        0x300 /* address 0x60000 */

>  #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS     0x200 /* 256 KB */

>  #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION     1

>  #define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME                "u-boot.img"

> diff --git a/include/configs/at91sam9m10g45ek.h b/include/configs/at91sam9m10g45ek.h

> index 5e37e2a..cb066ac 100644

> --- a/include/configs/at91sam9m10g45ek.h

> +++ b/include/configs/at91sam9m10g45ek.h

> @@ -194,7 +194,6 @@

>

>  #define CONFIG_SPL_LDSCRIPT            arch/arm/mach-at91/arm926ejs/u-boot-spl.lds

>  #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS     0x400

> -#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 0x200

>  #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION     1

>  #define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME                "u-boot.img"

>

> diff --git a/include/configs/at91sam9n12ek.h b/include/configs/at91sam9n12ek.h

> index 7fddf4f..faa232c 100644

> --- a/include/configs/at91sam9n12ek.h

> +++ b/include/configs/at91sam9n12ek.h

> @@ -238,7 +238,6 @@

>  #ifdef CONFIG_SYS_USE_MMC

>  #define CONFIG_SPL_LDSCRIPT            arch/arm/mach-at91/arm926ejs/u-boot-spl.lds

>  #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS     0x400

> -#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 0x200

>  #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION     1

>  #define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME                "u-boot.img"

>

> diff --git a/include/configs/at91sam9x5ek.h b/include/configs/at91sam9x5ek.h

> index db9bdef..efdf88d 100644

> --- a/include/configs/at91sam9x5ek.h

> +++ b/include/configs/at91sam9x5ek.h

> @@ -237,7 +237,6 @@

>  #ifdef CONFIG_SYS_USE_MMC

>  #define CONFIG_SPL_LDSCRIPT            arch/arm/mach-at91/arm926ejs/u-boot-spl.lds

>  #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS     0x400

> -#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 0x200

>  #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION     1

>  #define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME                "u-boot.img"

>

> diff --git a/include/configs/brppt1.h b/include/configs/brppt1.h

> index 0e13864..724343e 100644

> --- a/include/configs/brppt1.h

> +++ b/include/configs/brppt1.h

> @@ -53,7 +53,6 @@

>   #define CONFIG_OMAP_HSMMC

>   #define CONFIG_SUPPORT_EMMC_BOOT

>  /* RAW SD card / eMMC locations. */

> - #define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR       0x300 /*addr. 0x60000 */

>   #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS            0x200 /* 256 KB */

>  #endif /* CONFIG_EMMC_BOOT */

>

> diff --git a/include/configs/brxre1.h b/include/configs/brxre1.h

> index b9f69be..d3ce692 100644

> --- a/include/configs/brxre1.h

> +++ b/include/configs/brxre1.h

> @@ -48,7 +48,6 @@

>  #define CONFIG_OMAP_HSMMC

>  #define CONFIG_SUPPORT_EMMC_BOOT

>  /* RAW SD card / eMMC locations. */

> -#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR        0x300 /*addr. 0x60000 */

>  #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS             0x200 /* 256 KB */

>

>  /* Always 64 KiB env size */

> diff --git a/include/configs/clearfog.h b/include/configs/clearfog.h

> index a8cda40..bf123bb 100644

> --- a/include/configs/clearfog.h

> +++ b/include/configs/clearfog.h

> @@ -131,8 +131,6 @@

>  /* SPL related MMC defines */

>  #define CONFIG_SYS_MMC_U_BOOT_OFFS             (160 << 10)

>  #define CONFIG_SYS_U_BOOT_OFFS                 CONFIG_SYS_MMC_U_BOOT_OFFS

> -#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR        ((CONFIG_SYS_U_BOOT_OFFS / 512)\

> -                                                + 1)

>  #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS     ((512 << 10) / 512) /* 512KiB */

>  #ifdef CONFIG_SPL_BUILD

>  #define CONFIG_FIXED_SDHCI_ALIGNED_BUFFER      0x00180000      /* in SDRAM */

> diff --git a/include/configs/cm_fx6.h b/include/configs/cm_fx6.h

> index 0ac3ec7..c47d1fb 100644

> --- a/include/configs/cm_fx6.h

> +++ b/include/configs/cm_fx6.h

> @@ -245,8 +245,6 @@

>

>  /* SPL */

>  #include "imx6_spl.h"

> -#undef CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR

> -#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR        0x80 /* offset 64 kb */

>  #define CONFIG_SYS_SPI_U_BOOT_OFFS     (64 * 1024)

>  #define CONFIG_SPL_SPI_LOAD

>

> diff --git a/include/configs/cm_t35.h b/include/configs/cm_t35.h

> index 6caac1d..6672775 100644

> --- a/include/configs/cm_t35.h

> +++ b/include/configs/cm_t35.h

> @@ -292,7 +292,6 @@

>  #define CONFIG_SPL_FRAMEWORK

>  #define CONFIG_SPL_NAND_SIMPLE

>

> -#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR        0x300 /* address 0x60000 */

>  #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS     0x200 /* 256 KB */

>  #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION     1

>  #define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME        "u-boot.img"

> diff --git a/include/configs/cm_t43.h b/include/configs/cm_t43.h

> index 3a605f7..5ec4926 100644

> --- a/include/configs/cm_t43.h

> +++ b/include/configs/cm_t43.h

> @@ -91,7 +91,6 @@

>

>  #include <configs/ti_armv7_omap.h>

>  #undef CONFIG_SYS_MONITOR_LEN

> -#undef CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR

>

>  #define CONFIG_ENV_SIZE                        (16 * 1024)

>  #define CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG

> @@ -152,7 +151,6 @@

>  #define CONFIG_SYS_SPL_ARGS_ADDR       (CONFIG_SYS_SDRAM_BASE + (128 << 20))

>  #define CONFIG_SYS_SPI_U_BOOT_OFFS     (256 * 1024)

>  #define CONFIG_SYS_MONITOR_LEN         (512 * 1024)

> -#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR        0x480

>  #define CONFIG_SPL_SPI_LOAD

>

>  /* EEPROM */

> diff --git a/include/configs/cm_t54.h b/include/configs/cm_t54.h

> index a3b1e5f..abca5be 100644

> --- a/include/configs/cm_t54.h

> +++ b/include/configs/cm_t54.h

> @@ -31,10 +31,8 @@

>  #define CONFIG_BAUDRATE                        115200

>

>  /* SD/MMC RAW boot */

> -#undef CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR

>  #undef CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS

>

> -#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR        0x200 /* 0x40000 - 256 KB */

>  #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS     0x300 /* 384 KB */

>

>  /* MMC ENV related defines */

> diff --git a/include/configs/da850evm.h b/include/configs/da850evm.h

> index 2403ca3..3560115 100644

> --- a/include/configs/da850evm.h

> +++ b/include/configs/da850evm.h

> @@ -346,7 +346,6 @@

>

>  /* Load U-Boot Image From MMC */

>  #ifdef CONFIG_SPL_MMC_LOAD

> -#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR        0x75

>  #undef CONFIG_SPL_SPI_LOAD

>  #endif

>

> diff --git a/include/configs/db-88f6820-gp.h b/include/configs/db-88f6820-gp.h

> index 72c38e2..70c5e6a 100644

> --- a/include/configs/db-88f6820-gp.h

> +++ b/include/configs/db-88f6820-gp.h

> @@ -133,7 +133,6 @@

>  #define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION 1

>  #define CONFIG_SYS_MMC_U_BOOT_OFFS             (160 << 10)

>  #define CONFIG_SYS_U_BOOT_OFFS                 CONFIG_SYS_MMC_U_BOOT_OFFS

> -#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR        (CONFIG_SYS_U_BOOT_OFFS / 512)

>  #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS     ((512 << 10) / 512) /* 512KiB */

>  #ifdef CONFIG_SPL_BUILD

>  #define CONFIG_FIXED_SDHCI_ALIGNED_BUFFER      0x00180000      /* in SDRAM */

> diff --git a/include/configs/imx6_spl.h b/include/configs/imx6_spl.h

> index 76d1ca0..be31d1a 100644

> --- a/include/configs/imx6_spl.h

> +++ b/include/configs/imx6_spl.h

> @@ -37,7 +37,6 @@

>

>  /* MMC support */

>  #if defined(CONFIG_SPL_MMC_SUPPORT)

> -#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR        138 /* offset 69KB */

>  #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS     800 /* 400 KB */

>  #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION     1

>  #define CONFIG_SYS_MONITOR_LEN  (CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS/2*1024)

> diff --git a/include/configs/ls1021aqds.h b/include/configs/ls1021aqds.h

> index 53f0368..fdef29b 100644

> --- a/include/configs/ls1021aqds.h

> +++ b/include/configs/ls1021aqds.h

> @@ -61,7 +61,6 @@ unsigned long get_board_ddr_clk(void);

>  #endif

>  #define CONFIG_SPL_FRAMEWORK

>  #define CONFIG_SPL_LDSCRIPT    "arch/$(ARCH)/cpu/u-boot-spl.lds"

> -#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR                0xe8

>  #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS             0x600

>

>  #define CONFIG_SPL_TEXT_BASE           0x10000000

> diff --git a/include/configs/ls1021atwr.h b/include/configs/ls1021atwr.h

> index 4a579b1..3cc97cd 100644

> --- a/include/configs/ls1021atwr.h

> +++ b/include/configs/ls1021atwr.h

> @@ -106,7 +106,6 @@

>  #endif

>  #define CONFIG_SPL_FRAMEWORK

>  #define CONFIG_SPL_LDSCRIPT    "arch/$(ARCH)/cpu/u-boot-spl.lds"

> -#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR                0xe8

>

>  #ifdef CONFIG_SECURE_BOOT

>  #define CONFIG_U_BOOT_HDR_SIZE                         (16 << 10)

> diff --git a/include/configs/ls1043a_common.h b/include/configs/ls1043a_common.h

> index 64682b1..06c2974 100644

> --- a/include/configs/ls1043a_common.h

> +++ b/include/configs/ls1043a_common.h

> @@ -52,7 +52,6 @@

>  #define CONFIG_SPL_FRAMEWORK

>  #define CONFIG_SPL_LDSCRIPT            "arch/arm/cpu/armv8/u-boot-spl.lds"

>  #define CONFIG_SPL_TARGET              "u-boot-with-spl.bin"

> -#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR                0xf0

>  #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS             0x500

>

>  #define CONFIG_SPL_TEXT_BASE           0x10000000

> diff --git a/include/configs/ls1046a_common.h b/include/configs/ls1046a_common.h

> index c4bbd56..df482e2 100644

> --- a/include/configs/ls1046a_common.h

> +++ b/include/configs/ls1046a_common.h

> @@ -61,7 +61,6 @@

>  #define CONFIG_SPL_DRIVERS_MISC_SUPPORT

>

>  #define CONFIG_SPL_MMC_SUPPORT

> -#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR                0x110

>  #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS             0x500

>  #define CONFIG_SPL_TEXT_BASE           0x10000000

>  #define CONFIG_SPL_MAX_SIZE            0x1f000         /* 124 KiB */

> diff --git a/include/configs/mcx.h b/include/configs/mcx.h

> index b9a2ad3..7db9e5a 100644

> --- a/include/configs/mcx.h

> +++ b/include/configs/mcx.h

> @@ -328,7 +328,6 @@

>  #define CONFIG_SPL_BSS_START_ADDR      0x8f080000 /* end of RAM */

>  #define CONFIG_SPL_BSS_MAX_SIZE                0x80000

>

> -#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR        0x300 /* address 0x60000 */

>  #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION     1

>  #define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME        "u-boot.img"

>

> diff --git a/include/configs/omap3_evm.h b/include/configs/omap3_evm.h

> index b2a8412..16f897d 100644

> --- a/include/configs/omap3_evm.h

> +++ b/include/configs/omap3_evm.h

> @@ -52,7 +52,6 @@

>  #define CONFIG_OMAP_HSMMC

>

>  /* SPL */

> -#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR        0x300 /* address 0x60000 */

>  #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS     0x200 /* 256 KB */

>  #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION     1

>  #define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME        "u-boot.img"

> diff --git a/include/configs/picosam9g45.h b/include/configs/picosam9g45.h

> index 64db0da..36fe94d 100644

> --- a/include/configs/picosam9g45.h

> +++ b/include/configs/picosam9g45.h

> @@ -171,7 +171,6 @@

>

>  #define CONFIG_SPL_LDSCRIPT    arch/arm/mach-at91/arm926ejs/u-boot-spl.lds

>  #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS     0x400

> -#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 0x200

>  #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION     1

>  #define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME                "u-boot.img"

>

> diff --git a/include/configs/rk3288_common.h b/include/configs/rk3288_common.h

> index cf6f355..d23ca50 100644

> --- a/include/configs/rk3288_common.h

> +++ b/include/configs/rk3288_common.h

> @@ -49,7 +49,6 @@

>  #define CONFIG_CMD_PART

>

>  /* RAW SD card / eMMC locations. */

> -#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR        256

>  #define CONFIG_SYS_SPI_U_BOOT_OFFS     (128 << 10)

>

>  /* FAT sd card locations. */

> diff --git a/include/configs/rk3399_common.h b/include/configs/rk3399_common.h

> index bec004a..68f429d 100644

> --- a/include/configs/rk3399_common.h

> +++ b/include/configs/rk3399_common.h

> @@ -39,7 +39,6 @@

>  #define CONFIG_CMD_PART

>

>  /* RAW SD card / eMMC locations. */

> -#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR        256

>  #define CONFIG_SYS_SPI_U_BOOT_OFFS     (128 << 10)

>

>  /* FAT sd card locations. */

> diff --git a/include/configs/sama5d2_xplained.h b/include/configs/sama5d2_xplained.h

> index f694645..55ec917 100644

> --- a/include/configs/sama5d2_xplained.h

> +++ b/include/configs/sama5d2_xplained.h

> @@ -112,7 +112,6 @@

>  #ifdef CONFIG_SYS_USE_MMC

>  #define CONFIG_SPL_LDSCRIPT            arch/arm/mach-at91/armv7/u-boot-spl.lds

>  #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS     0x400

> -#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 0x200

>  #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION     1

>  #define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME                "u-boot.img"

>

> diff --git a/include/configs/sama5d3_xplained.h b/include/configs/sama5d3_xplained.h

> index 5e661741..c72fc53 100644

> --- a/include/configs/sama5d3_xplained.h

> +++ b/include/configs/sama5d3_xplained.h

> @@ -129,7 +129,6 @@

>  #ifdef CONFIG_SYS_USE_MMC

>  #define CONFIG_SPL_LDSCRIPT            arch/arm/mach-at91/armv7/u-boot-spl.lds

>  #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS     0x400

> -#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 0x200

>  #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION     1

>  #define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME        "u-boot.img"

>

> diff --git a/include/configs/sama5d3xek.h b/include/configs/sama5d3xek.h

> index 1b053a6..f9ca914 100644

> --- a/include/configs/sama5d3xek.h

> +++ b/include/configs/sama5d3xek.h

> @@ -168,7 +168,6 @@

>  #ifdef CONFIG_SYS_USE_MMC

>  #define CONFIG_SPL_LDSCRIPT            arch/arm/mach-at91/armv7/u-boot-spl.lds

>  #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS     0x400

> -#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 0x200

>  #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION     1

>  #define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME        "u-boot.img"

>

> diff --git a/include/configs/sama5d4_xplained.h b/include/configs/sama5d4_xplained.h

> index 249e661..0ae858d 100644

> --- a/include/configs/sama5d4_xplained.h

> +++ b/include/configs/sama5d4_xplained.h

> @@ -128,7 +128,6 @@

>  #ifdef CONFIG_SYS_USE_MMC

>  #define CONFIG_SPL_LDSCRIPT            arch/arm/mach-at91/armv7/u-boot-spl.lds

>  #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS     0x400

> -#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 0x200

>  #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION     1

>  #define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME                "u-boot.img"

>

> diff --git a/include/configs/sama5d4ek.h b/include/configs/sama5d4ek.h

> index 00ed400..5588a18 100644

> --- a/include/configs/sama5d4ek.h

> +++ b/include/configs/sama5d4ek.h

> @@ -126,7 +126,6 @@

>  #ifdef CONFIG_SYS_USE_MMC

>  #define CONFIG_SPL_LDSCRIPT            arch/arm/mach-at91/armv7/u-boot-spl.lds

>  #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS     0x400

> -#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 0x200

>  #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION     1

>  #define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME                "u-boot.img"

>

> diff --git a/include/configs/siemens-am33x-common.h b/include/configs/siemens-am33x-common.h

> index 7de3cf6..31fcc94 100644

> --- a/include/configs/siemens-am33x-common.h

> +++ b/include/configs/siemens-am33x-common.h

> @@ -129,7 +129,6 @@

>  #define CONFIG_SPL_BSS_START_ADDR      0x80000000

>  #define CONFIG_SPL_BSS_MAX_SIZE                0x80000         /* 512 KB */

>

> -#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR        0x300 /* address 0x60000 */

>  #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION     1

>  #define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME        "u-boot.img"

>  #define CONFIG_FS_FAT

> diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h

> index d37e595..58a6550 100644

> --- a/include/configs/socfpga_common.h

> +++ b/include/configs/socfpga_common.h

> @@ -320,7 +320,6 @@ unsigned int cm_get_qspi_controller_clk_hz(void);

>  #define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME                "u-boot-dtb.img"

>  #else

>  #define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION     1

> -#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR        0x200 /* offset 512 sect (256k) */

>  #endif

>  #endif

>

> diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h

> index 8363414..2e02f8c 100644

> --- a/include/configs/sunxi-common.h

> +++ b/include/configs/sunxi-common.h

> @@ -199,7 +199,6 @@

>  #define CONFIG_SPL_LDSCRIPT "arch/arm/cpu/armv7/sunxi/u-boot-spl.lds"

>  #endif

>

> -#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR        80      /* 40KiB */

>  #define CONFIG_SPL_PAD_TO              32768           /* decimal for 'dd' */

>

>  #if defined(CONFIG_MACH_SUN9I) || defined(CONFIG_MACH_SUN50I)

> diff --git a/include/configs/tam3517-common.h b/include/configs/tam3517-common.h

> index 1527d90..098c9bc 100644

> --- a/include/configs/tam3517-common.h

> +++ b/include/configs/tam3517-common.h

> @@ -210,7 +210,6 @@

>  #define CONFIG_SPL_BSS_START_ADDR      0x8f080000 /* end of RAM */

>  #define CONFIG_SPL_BSS_MAX_SIZE                0x80000

>

> -#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR        0x300 /* address 0x60000 */

>  #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION     1

>  #define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME                "u-boot.img"

>

> diff --git a/include/configs/tao3530.h b/include/configs/tao3530.h

> index 9e85b1d..6a169b0 100644

> --- a/include/configs/tao3530.h

> +++ b/include/configs/tao3530.h

> @@ -276,7 +276,6 @@

>  #define CONFIG_SPL_FRAMEWORK

>  #define CONFIG_SPL_NAND_SIMPLE

>

> -#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR        0x300 /* address 0x60000 */

>  #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS     0x200 /* 256 KB */

>  #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION     1

>  #define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME        "u-boot.img"

> diff --git a/include/configs/ti814x_evm.h b/include/configs/ti814x_evm.h

> index e7f4fba..5cfed0d 100644

> --- a/include/configs/ti814x_evm.h

> +++ b/include/configs/ti814x_evm.h

> @@ -161,7 +161,6 @@

>  #define CONFIG_SPL_BSS_START_ADDR      0x80000000

>  #define CONFIG_SPL_BSS_MAX_SIZE                0x80000         /* 512 KB */

>

> -#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 0x300 /* address 0x60000 */

>  #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS      0x200 /* 256 KB */

>  #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION     1

>  #define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME        "u-boot.img"

> diff --git a/include/configs/ti816x_evm.h b/include/configs/ti816x_evm.h

> index 390c5ae..0a459fb 100644

> --- a/include/configs/ti816x_evm.h

> +++ b/include/configs/ti816x_evm.h

> @@ -125,7 +125,6 @@

>  #define CONFIG_SPL_BSS_START_ADDR   0x80000000

>  #define CONFIG_SPL_BSS_MAX_SIZE     0x80000     /* 512 KB */

>

> -#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 0x300 /* address 0x60000 */

>  #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS      0x200 /* 256 KB */

>  #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION     1

>  #define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME        "u-boot.img"

> diff --git a/include/configs/ti_armv7_common.h b/include/configs/ti_armv7_common.h

> index 0d74c50..03496c7 100644

> --- a/include/configs/ti_armv7_common.h

> +++ b/include/configs/ti_armv7_common.h

> @@ -236,7 +236,6 @@

>

>

>  /* RAW SD card / eMMC locations. */

> -#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR        0x300 /* address 0x60000 */

>  #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS     0x200 /* 256 KB */

>

>  /* FAT sd card locations. */

> diff --git a/include/configs/tricorder.h b/include/configs/tricorder.h

> index 6cd3ca5..fbef1f0 100644

> --- a/include/configs/tricorder.h

> +++ b/include/configs/tricorder.h

> @@ -318,7 +318,6 @@

>  #define CONFIG_SPL_LDSCRIPT            "$(CPUDIR)/omap-common/u-boot-spl.lds"

>  #define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME        "u-boot.img"

>  #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION     1

> -#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 0x300 /* address 0x60000 */

>

>  #define CONFIG_SPL_TEXT_BASE           0x40200000 /*CONFIG_SYS_SRAM_START*/

>  #define CONFIG_SPL_MAX_SIZE            (SRAM_SCRATCH_SPACE_ADDR - \

> diff --git a/include/configs/uniphier.h b/include/configs/uniphier.h

> index 5be46e5..f9c9f82 100644

> --- a/include/configs/uniphier.h

> +++ b/include/configs/uniphier.h

> @@ -280,7 +280,6 @@

>

>  /* subtract sizeof(struct image_header) */

>  #define CONFIG_SYS_UBOOT_BASE                  (0x60000 - 0x40)

> -#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR        0x80

>

>  #define CONFIG_SPL_TARGET                      "u-boot-with-spl.bin"

>  #define CONFIG_SPL_MAX_FOOTPRINT               0x10000

> diff --git a/include/configs/woodburn_sd.h b/include/configs/woodburn_sd.h

> index 5a04b99..4c509df 100644

> --- a/include/configs/woodburn_sd.h

> +++ b/include/configs/woodburn_sd.h

> @@ -23,7 +23,6 @@

>  #define CONFIG_SPL_FRAMEWORK

>  #define        CONFIG_SPL_LDSCRIPT     "arch/arm/cpu/arm1136/u-boot-spl.lds"

>  #define CONFIG_SPL_BOARD_INIT

> -#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR        0x100 /* address 0x60000 */

>  #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS     0x400 /* 512 KB */

>

>  #define CONFIG_SPL_TEXT_BASE           0x10002300

> diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h

> index 4f0253c..fd86304 100644

> --- a/include/configs/zynq-common.h

> +++ b/include/configs/zynq-common.h

> @@ -296,7 +296,6 @@

>

>  /* MMC support */

>  #ifdef CONFIG_ZYNQ_SDHCI

> -#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 0x300 /* address 0x60000 */

>  #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS      0x200 /* 256 KB */

>  #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION     1

>  #define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME     "u-boot.img"

> diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt

> index d476367..f511e29 100644

> --- a/scripts/config_whitelist.txt

> +++ b/scripts/config_whitelist.txt

> @@ -6482,7 +6482,6 @@ CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR

>  CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS

>  CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR

>  CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION

> -CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR

>  CONFIG_SYS_MMC_BASE

>  CONFIG_SYS_MMC_CD_PIN

>  CONFIG_SYS_MMC_CLK_OD

> --

> 2.9.3

>

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

Patch

diff --git a/README b/README
index 39a3042..d838b9e 100644
--- a/README
+++ b/README
@@ -3338,9 +3338,8 @@  FIT uImage format:
 		CONFIG_SPL_INIT_MINIMAL
 		Arch init code should be built for a very small image
 
-		CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR,
-		CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS,
-		Address and partition on the MMC to load U-Boot from
+		CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS
+		Size of partition on the MMC to load U-Boot from
 		when the MMC is being used in raw mode.
 
 		CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index bb99f1f..1ecc6ff 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -70,6 +70,36 @@  config SPL_DISPLAY_PRINT
 	  banner ("U-Boot SPL ..."). This function should be provided by
 	  the board.
 
+config SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR
+	bool "MMC raw mode: by sector"
+	depends on SPL
+	default n
+	help
+	  Use sector number for specifying U-Boot location on MMC/SD in
+	  raw mode.
+
+config SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR
+	hex "Address on the MMC to load U-Boot from"
+	depends on SPL && SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR
+	default 0x50 if ARCH_SUNXI
+	default 0x75 if ARCH_DAVINCI
+	default 0x80 if ARCH_UNIPHIER
+	default 0x8a if ARCH_MX6
+	default 0xe8 if TARGET_LS1021AQDS || TARGET_LS1021ATWR
+	default 0xf0 if TARGET_LS1043AQDS || TARGET_LS1043ARDB
+	default 0x100 if ARCH_ROCKCHIP || TARGET_WOODBURN_SD
+	default 0x110 if TARGET_LS1046AQDS || TARGET_LS1046ARDB
+	default 0x140 if ARCH_MVEBU
+	default 0x200 if ARCH_SOCFPGA || ARCH_AT91
+	default 0x300 if ARCH_ZYNQ || ARCH_KEYSTONE || OMAP34XX || OMAP44XX || \
+		         OMAP54XX || AM33XX || AM43XX || TARGET_BRPPT1 || \
+		         TARGET_BRXRE1 || TARGET_DRACO || TARGET_ETAMIN || \
+		         TARGET_PXM2 || TARGET_RASTABAN || TARGET_RUT || \
+		         TARGET_THUBAN || TARGET_TI814X_EVM || TARGET_TI816X_EVM
+	help
+	  Address on the MMC to load U-Boot from, when the MMC is being used
+	  in raw mode. Units: MMC sectors (1 sector = 512 bytes).
+
 config TPL
 	bool
 	depends on SPL && SUPPORT_TPL
diff --git a/common/spl/spl_mmc.c b/common/spl/spl_mmc.c
index c674e61..0b681c2 100644
--- a/common/spl/spl_mmc.c
+++ b/common/spl/spl_mmc.c
@@ -165,7 +165,7 @@  static int mmc_load_image_raw_partition(struct spl_image_info *spl_image,
 		return -1;
 	}
 
-#ifdef CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR
+#ifdef CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR
 	return mmc_load_image_raw_sector(spl_image, mmc,
 			info.start + CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR);
 #else
@@ -327,7 +327,7 @@  static int spl_mmc_load_image(struct spl_image_info *spl_image,
 			CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION);
 		if (!err)
 			return err;
-#if defined(CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR)
+#ifdef CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR
 		err = mmc_load_image_raw_sector(spl_image, mmc,
 			CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR);
 		if (!err)
diff --git a/configs/A10-OLinuXino-Lime_defconfig b/configs/A10-OLinuXino-Lime_defconfig
index 04b720d..c800700 100644
--- a/configs/A10-OLinuXino-Lime_defconfig
+++ b/configs/A10-OLinuXino-Lime_defconfig
@@ -10,6 +10,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-olinuxino-lime"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SYS_EXTRA_OPTIONS="SUNXI_EMAC,AHCI,SATAPWR=SUNXI_GPC(3)"
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/A10s-OLinuXino-M_defconfig b/configs/A10s-OLinuXino-M_defconfig
index e2bebf8..1be578a 100644
--- a/configs/A10s-OLinuXino-M_defconfig
+++ b/configs/A10s-OLinuXino-M_defconfig
@@ -11,6 +11,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun5i-a10s-olinuxino-micro"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SYS_EXTRA_OPTIONS="SUNXI_EMAC"
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/A13-OLinuXinoM_defconfig b/configs/A13-OLinuXinoM_defconfig
index 361d90a..d377035 100644
--- a/configs/A13-OLinuXinoM_defconfig
+++ b/configs/A13-OLinuXinoM_defconfig
@@ -14,6 +14,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun5i-a13-olinuxino-micro"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=2"
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/A13-OLinuXino_defconfig b/configs/A13-OLinuXino_defconfig
index 3191098..b8818c8 100644
--- a/configs/A13-OLinuXino_defconfig
+++ b/configs/A13-OLinuXino_defconfig
@@ -17,6 +17,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun5i-a13-olinuxino"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=2"
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_DFU=y
diff --git a/configs/A20-OLinuXino-Lime2_defconfig b/configs/A20-OLinuXino-Lime2_defconfig
index 4751fe0..210ca29 100644
--- a/configs/A20-OLinuXino-Lime2_defconfig
+++ b/configs/A20-OLinuXino-Lime2_defconfig
@@ -10,6 +10,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-olinuxino-lime2"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,RGMII,AHCI,SATAPWR=SUNXI_GPC(3)"
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_DFU=y
diff --git a/configs/A20-OLinuXino-Lime_defconfig b/configs/A20-OLinuXino-Lime_defconfig
index 024dc2d..7dfd4f2 100644
--- a/configs/A20-OLinuXino-Lime_defconfig
+++ b/configs/A20-OLinuXino-Lime_defconfig
@@ -8,6 +8,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-olinuxino-lime"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,AHCI,SATAPWR=SUNXI_GPC(3)"
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/A20-OLinuXino_MICRO_defconfig b/configs/A20-OLinuXino_MICRO_defconfig
index 5809345..2c43204 100644
--- a/configs/A20-OLinuXino_MICRO_defconfig
+++ b/configs/A20-OLinuXino_MICRO_defconfig
@@ -11,6 +11,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-olinuxino-micro"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,AHCI,SATAPWR=SUNXI_GPB(8)"
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/A20-Olimex-SOM-EVB_defconfig b/configs/A20-Olimex-SOM-EVB_defconfig
index 3f4e90d..a64d89d 100644
--- a/configs/A20-Olimex-SOM-EVB_defconfig
+++ b/configs/A20-Olimex-SOM-EVB_defconfig
@@ -13,6 +13,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-olimex-som-evb"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,RGMII,AHCI,SATAPWR=SUNXI_GPC(3)"
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/A33-OLinuXino_defconfig b/configs/A33-OLinuXino_defconfig
index 2909987..1508a8b 100644
--- a/configs/A33-OLinuXino_defconfig
+++ b/configs/A33-OLinuXino_defconfig
@@ -16,6 +16,7 @@  CONFIG_VIDEO_LCD_BL_PWM="PH0"
 CONFIG_DEFAULT_DEVICE_TREE="sun8i-a33-olinuxino"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/Ainol_AW1_defconfig b/configs/Ainol_AW1_defconfig
index 46c5309..b98bbac 100644
--- a/configs/Ainol_AW1_defconfig
+++ b/configs/Ainol_AW1_defconfig
@@ -15,6 +15,7 @@  CONFIG_VIDEO_LCD_BL_PWM="PB2"
 CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-ainol-aw1"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/Ampe_A76_defconfig b/configs/Ampe_A76_defconfig
index 5020724..0f7faa1 100644
--- a/configs/Ampe_A76_defconfig
+++ b/configs/Ampe_A76_defconfig
@@ -17,6 +17,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun5i-a13-ampe-a76"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=2"
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/Auxtek-T003_defconfig b/configs/Auxtek-T003_defconfig
index 1e248a7..2e10a81 100644
--- a/configs/Auxtek-T003_defconfig
+++ b/configs/Auxtek-T003_defconfig
@@ -9,6 +9,7 @@  CONFIG_VIDEO_COMPOSITE=y
 CONFIG_DEFAULT_DEVICE_TREE="sun5i-a10s-auxtek-t003"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/Auxtek-T004_defconfig b/configs/Auxtek-T004_defconfig
index 55f956e..6b97397 100644
--- a/configs/Auxtek-T004_defconfig
+++ b/configs/Auxtek-T004_defconfig
@@ -7,6 +7,7 @@  CONFIG_USB1_VBUS_PIN="PG13"
 CONFIG_DEFAULT_DEVICE_TREE="sun5i-a10s-auxtek-t004"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/Bananapi_defconfig b/configs/Bananapi_defconfig
index 366ef24..753d09c 100644
--- a/configs/Bananapi_defconfig
+++ b/configs/Bananapi_defconfig
@@ -9,6 +9,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-bananapi"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,RGMII,MACPWR=SUNXI_GPH(23),AHCI"
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/Bananapro_defconfig b/configs/Bananapro_defconfig
index 9b39124..ba97e3e 100644
--- a/configs/Bananapro_defconfig
+++ b/configs/Bananapro_defconfig
@@ -11,6 +11,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-bananapro"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,RGMII,MACPWR=SUNXI_GPH(23),AHCI"
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/CHIP_defconfig b/configs/CHIP_defconfig
index 65d0c98..e67970d 100644
--- a/configs/CHIP_defconfig
+++ b/configs/CHIP_defconfig
@@ -10,6 +10,7 @@  CONFIG_VIDEO_COMPOSITE=y
 CONFIG_DEFAULT_DEVICE_TREE="sun5i-r8-chip"
 CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=2"
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_DFU=y
 CONFIG_CMD_USB_MASS_STORAGE=y
diff --git a/configs/CSQ_CS908_defconfig b/configs/CSQ_CS908_defconfig
index 448ce95..19364b5 100644
--- a/configs/CSQ_CS908_defconfig
+++ b/configs/CSQ_CS908_defconfig
@@ -8,6 +8,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun6i-a31s-cs908"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC"
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/Chuwi_V7_CW0825_defconfig b/configs/Chuwi_V7_CW0825_defconfig
index a67038b..9e84042 100644
--- a/configs/Chuwi_V7_CW0825_defconfig
+++ b/configs/Chuwi_V7_CW0825_defconfig
@@ -15,6 +15,7 @@  CONFIG_VIDEO_LCD_PANEL_HITACHI_TX18D42VM=y
 CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-chuwi-v7-cw0825"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
@@ -22,4 +23,3 @@  CONFIG_USB_MUSB_HOST=y
 CONFIG_VIDEO_LCD_SPI_CS="PA0"
 CONFIG_VIDEO_LCD_SPI_SCLK="PA1"
 CONFIG_VIDEO_LCD_SPI_MOSI="PA2"
-CONFIG_CFB_CONSOLE=y
diff --git a/configs/Colombus_defconfig b/configs/Colombus_defconfig
index d8272c5..e9df3d0 100644
--- a/configs/Colombus_defconfig
+++ b/configs/Colombus_defconfig
@@ -18,6 +18,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun6i-a31-colombus"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,RGMII"
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/Cubieboard2_defconfig b/configs/Cubieboard2_defconfig
index ad6eb62..8f5b679 100644
--- a/configs/Cubieboard2_defconfig
+++ b/configs/Cubieboard2_defconfig
@@ -8,6 +8,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-cubieboard2"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,AHCI,SATAPWR=SUNXI_GPB(8)"
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/Cubieboard_defconfig b/configs/Cubieboard_defconfig
index 9b4f483..a2dce68 100644
--- a/configs/Cubieboard_defconfig
+++ b/configs/Cubieboard_defconfig
@@ -8,6 +8,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-cubieboard"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SYS_EXTRA_OPTIONS="SUNXI_EMAC,AHCI,SATAPWR=SUNXI_GPB(8)"
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/Cubietruck_defconfig b/configs/Cubietruck_defconfig
index 927ccd4..0c835fe 100644
--- a/configs/Cubietruck_defconfig
+++ b/configs/Cubietruck_defconfig
@@ -13,6 +13,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-cubietruck"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,RGMII,AHCI,SATAPWR=SUNXI_GPH(12)"
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_DFU=y
diff --git a/configs/Cubietruck_plus_defconfig b/configs/Cubietruck_plus_defconfig
index dbe3336..58eb3a4 100644
--- a/configs/Cubietruck_plus_defconfig
+++ b/configs/Cubietruck_plus_defconfig
@@ -15,6 +15,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun8i-a83t-cubietruck-plus"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_CONSOLE_MUX=y
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/Empire_electronix_d709_defconfig b/configs/Empire_electronix_d709_defconfig
index 831949a..ea50e3c 100644
--- a/configs/Empire_electronix_d709_defconfig
+++ b/configs/Empire_electronix_d709_defconfig
@@ -18,6 +18,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun5i-a13-empire-electronix-d709"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=2"
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/Empire_electronix_m712_defconfig b/configs/Empire_electronix_m712_defconfig
index 4b51380..f161a2a 100644
--- a/configs/Empire_electronix_m712_defconfig
+++ b/configs/Empire_electronix_m712_defconfig
@@ -17,6 +17,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun5i-a13-empire-electronix-m712"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=2"
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/Hummingbird_A31_defconfig b/configs/Hummingbird_A31_defconfig
index dc4133d..7749822 100644
--- a/configs/Hummingbird_A31_defconfig
+++ b/configs/Hummingbird_A31_defconfig
@@ -10,6 +10,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun6i-a31-hummingbird"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,RGMII"
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/Hyundai_A7HD_defconfig b/configs/Hyundai_A7HD_defconfig
index 41cb877..6ccfbef 100644
--- a/configs/Hyundai_A7HD_defconfig
+++ b/configs/Hyundai_A7HD_defconfig
@@ -16,6 +16,7 @@  CONFIG_VIDEO_LCD_PANEL_LVDS=y
 CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-hyundai-a7hd"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/Itead_Ibox_A20_defconfig b/configs/Itead_Ibox_A20_defconfig
index 1a8fad7..03b683e 100644
--- a/configs/Itead_Ibox_A20_defconfig
+++ b/configs/Itead_Ibox_A20_defconfig
@@ -8,6 +8,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-itead-ibox"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,AHCI,SATAPWR=SUNXI_GPB(8)"
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/Lamobo_R1_defconfig b/configs/Lamobo_R1_defconfig
index c2fc2b3..0768db6 100644
--- a/configs/Lamobo_R1_defconfig
+++ b/configs/Lamobo_R1_defconfig
@@ -9,6 +9,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-lamobo-r1"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,RGMII,MACPWR=SUNXI_GPH(23),AHCI,SATAPWR=SUNXI_GPB(3)"
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/Linksprite_pcDuino3_Nano_defconfig b/configs/Linksprite_pcDuino3_Nano_defconfig
index a916e5d..abc0dad 100644
--- a/configs/Linksprite_pcDuino3_Nano_defconfig
+++ b/configs/Linksprite_pcDuino3_Nano_defconfig
@@ -10,6 +10,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-pcduino3-nano"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,RGMII,AHCI,SATAPWR=SUNXI_GPH(2)"
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/Linksprite_pcDuino3_defconfig b/configs/Linksprite_pcDuino3_defconfig
index 8eea214..c503623 100644
--- a/configs/Linksprite_pcDuino3_defconfig
+++ b/configs/Linksprite_pcDuino3_defconfig
@@ -8,6 +8,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-pcduino3"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,AHCI,SATAPWR=SUNXI_GPH(2)"
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/Linksprite_pcDuino_defconfig b/configs/Linksprite_pcDuino_defconfig
index ab094a6..30e703e 100644
--- a/configs/Linksprite_pcDuino_defconfig
+++ b/configs/Linksprite_pcDuino_defconfig
@@ -8,6 +8,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-pcduino"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SYS_EXTRA_OPTIONS="SUNXI_EMAC"
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/MK808C_defconfig b/configs/MK808C_defconfig
index 1e8f9db..ef0e48f 100644
--- a/configs/MK808C_defconfig
+++ b/configs/MK808C_defconfig
@@ -6,6 +6,7 @@  CONFIG_DRAM_CLK=384
 CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-mk808c"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/MSI_Primo73_defconfig b/configs/MSI_Primo73_defconfig
index 87fd3b9..932b2ef 100644
--- a/configs/MSI_Primo73_defconfig
+++ b/configs/MSI_Primo73_defconfig
@@ -11,6 +11,7 @@  CONFIG_VIDEO_LCD_BL_PWM="PB2"
 CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-primo73"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/MSI_Primo81_defconfig b/configs/MSI_Primo81_defconfig
index e9d5be4..597370f 100644
--- a/configs/MSI_Primo81_defconfig
+++ b/configs/MSI_Primo81_defconfig
@@ -13,6 +13,7 @@  CONFIG_VIDEO_LCD_PANEL_MIPI_4_LANE_513_MBPS_VIA_SSD2828=y
 CONFIG_DEFAULT_DEVICE_TREE="sun6i-a31s-primo81"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
@@ -25,4 +26,3 @@  CONFIG_VIDEO_LCD_SPI_CS="PH9"
 CONFIG_VIDEO_LCD_SPI_SCLK="PH10"
 CONFIG_VIDEO_LCD_SPI_MOSI="PH11"
 CONFIG_VIDEO_LCD_SPI_MISO="PH12"
-CONFIG_CFB_CONSOLE=y
diff --git a/configs/Marsboard_A10_defconfig b/configs/Marsboard_A10_defconfig
index b1d6b23..6b5848f 100644
--- a/configs/Marsboard_A10_defconfig
+++ b/configs/Marsboard_A10_defconfig
@@ -5,6 +5,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-marsboard"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SYS_EXTRA_OPTIONS="SUNXI_EMAC,AHCI"
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/Mele_A1000G_quad_defconfig b/configs/Mele_A1000G_quad_defconfig
index 4097e5b..0ae8d3c 100644
--- a/configs/Mele_A1000G_quad_defconfig
+++ b/configs/Mele_A1000G_quad_defconfig
@@ -9,6 +9,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun6i-a31-mele-a1000g-quad"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC"
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/Mele_A1000_defconfig b/configs/Mele_A1000_defconfig
index eae5ead..cb61b74 100644
--- a/configs/Mele_A1000_defconfig
+++ b/configs/Mele_A1000_defconfig
@@ -8,6 +8,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-a1000"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SYS_EXTRA_OPTIONS="SUNXI_EMAC,MACPWR=SUNXI_GPH(15),AHCI"
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/Mele_I7_defconfig b/configs/Mele_I7_defconfig
index eb3c74c..ee54749 100644
--- a/configs/Mele_I7_defconfig
+++ b/configs/Mele_I7_defconfig
@@ -8,6 +8,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun6i-a31-i7"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC"
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/Mele_M3_defconfig b/configs/Mele_M3_defconfig
index 037e768..334d344 100644
--- a/configs/Mele_M3_defconfig
+++ b/configs/Mele_M3_defconfig
@@ -11,6 +11,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-m3"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC"
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/Mele_M5_defconfig b/configs/Mele_M5_defconfig
index 124dc22..d1f9d08 100644
--- a/configs/Mele_M5_defconfig
+++ b/configs/Mele_M5_defconfig
@@ -10,6 +10,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-m5"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,AHCI,STATUSLED=234"
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/Mele_M9_defconfig b/configs/Mele_M9_defconfig
index c4e5993..df7aed5 100644
--- a/configs/Mele_M9_defconfig
+++ b/configs/Mele_M9_defconfig
@@ -8,6 +8,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun6i-a31-m9"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC"
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/Mini-X_defconfig b/configs/Mini-X_defconfig
index 87fac82..d8888e6 100644
--- a/configs/Mini-X_defconfig
+++ b/configs/Mini-X_defconfig
@@ -7,6 +7,7 @@  CONFIG_VIDEO_COMPOSITE=y
 CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-mini-xplus"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/Orangepi_defconfig b/configs/Orangepi_defconfig
index c3eaae2..e16a218 100644
--- a/configs/Orangepi_defconfig
+++ b/configs/Orangepi_defconfig
@@ -12,6 +12,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-orangepi"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,RGMII,MACPWR=SUNXI_GPH(23),AHCI"
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/Orangepi_mini_defconfig b/configs/Orangepi_mini_defconfig
index 2903d83..913b17c 100644
--- a/configs/Orangepi_mini_defconfig
+++ b/configs/Orangepi_mini_defconfig
@@ -14,6 +14,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-orangepi-mini"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,RGMII,MACPWR=SUNXI_GPH(23),AHCI"
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/Sinlinx_SinA31s_defconfig b/configs/Sinlinx_SinA31s_defconfig
index 9ac8912..1b1365f 100644
--- a/configs/Sinlinx_SinA31s_defconfig
+++ b/configs/Sinlinx_SinA31s_defconfig
@@ -12,6 +12,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun6i-a31s-sina31s"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC"
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/Sinlinx_SinA33_defconfig b/configs/Sinlinx_SinA33_defconfig
index 2a5f985..a3ccb77 100644
--- a/configs/Sinlinx_SinA33_defconfig
+++ b/configs/Sinlinx_SinA33_defconfig
@@ -8,6 +8,7 @@  CONFIG_USB0_ID_DET="PH8"
 CONFIG_DEFAULT_DEVICE_TREE="sun8i-a33-sinlinx-sina33"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_DFU=y
diff --git a/configs/Sinovoip_BPI_M2_defconfig b/configs/Sinovoip_BPI_M2_defconfig
index 267aaf8..14b1486 100644
--- a/configs/Sinovoip_BPI_M2_defconfig
+++ b/configs/Sinovoip_BPI_M2_defconfig
@@ -8,6 +8,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun6i-a31s-sinovoip-bpi-m2"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,RGMII"
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/Sinovoip_BPI_M3_defconfig b/configs/Sinovoip_BPI_M3_defconfig
index d15ac20..7001720 100644
--- a/configs/Sinovoip_BPI_M3_defconfig
+++ b/configs/Sinovoip_BPI_M3_defconfig
@@ -16,6 +16,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun8i-a83t-sinovoip-bpi-m3"
 CONFIG_SYS_EXTRA_OPTIONS="SATAPWR=SUNXI_GPD(25)"
 CONFIG_CONSOLE_MUX=y
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/UTOO_P66_defconfig b/configs/UTOO_P66_defconfig
index 205c9e2..5b9aacf 100644
--- a/configs/UTOO_P66_defconfig
+++ b/configs/UTOO_P66_defconfig
@@ -21,6 +21,7 @@  CONFIG_VIDEO_LCD_TL059WV5C0=y
 CONFIG_DEFAULT_DEVICE_TREE="sun5i-a13-utoo-p66"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/Wexler_TAB7200_defconfig b/configs/Wexler_TAB7200_defconfig
index ecde5db..6171b80 100644
--- a/configs/Wexler_TAB7200_defconfig
+++ b/configs/Wexler_TAB7200_defconfig
@@ -14,6 +14,7 @@  CONFIG_VIDEO_LCD_BL_PWM="PB2"
 CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-wexler-tab7200"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/Wits_Pro_A20_DKT_defconfig b/configs/Wits_Pro_A20_DKT_defconfig
index d83cee7..88004a8 100644
--- a/configs/Wits_Pro_A20_DKT_defconfig
+++ b/configs/Wits_Pro_A20_DKT_defconfig
@@ -13,6 +13,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-wits-pro-a20-dkt"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,RGMII,AHCI"
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/Wobo_i5_defconfig b/configs/Wobo_i5_defconfig
index 907afe5..27a95a6 100644
--- a/configs/Wobo_i5_defconfig
+++ b/configs/Wobo_i5_defconfig
@@ -8,6 +8,7 @@  CONFIG_USB1_VBUS_PIN="PG12"
 CONFIG_DEFAULT_DEVICE_TREE="sun5i-a10s-wobo-i5"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/Yones_Toptech_BD1078_defconfig b/configs/Yones_Toptech_BD1078_defconfig
index 1e42a68..0be294a 100644
--- a/configs/Yones_Toptech_BD1078_defconfig
+++ b/configs/Yones_Toptech_BD1078_defconfig
@@ -20,6 +20,7 @@  CONFIG_VIDEO_LCD_PANEL_LVDS=y
 CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-yones-toptech-bd1078"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/Yones_Toptech_BS1078_V2_defconfig b/configs/Yones_Toptech_BS1078_V2_defconfig
index 958104e..0e87196 100644
--- a/configs/Yones_Toptech_BS1078_V2_defconfig
+++ b/configs/Yones_Toptech_BS1078_V2_defconfig
@@ -16,6 +16,7 @@  CONFIG_VIDEO_LCD_PANEL_LVDS=y
 CONFIG_DEFAULT_DEVICE_TREE="sun6i-a31s-yones-toptech-bs1078-v2"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/am335x_baltos_defconfig b/configs/am335x_baltos_defconfig
index afef344..fdebc46 100644
--- a/configs/am335x_baltos_defconfig
+++ b/configs/am335x_baltos_defconfig
@@ -23,6 +23,7 @@  CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
 CONFIG_SPL_STACK_R=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_MTD_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
diff --git a/configs/am335x_boneblack_defconfig b/configs/am335x_boneblack_defconfig
index 2e5e047..96be58b 100644
--- a/configs/am335x_boneblack_defconfig
+++ b/configs/am335x_boneblack_defconfig
@@ -9,6 +9,7 @@  CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
 CONFIG_SPL_STACK_R=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_MUSB_NEW_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
diff --git a/configs/am335x_boneblack_vboot_defconfig b/configs/am335x_boneblack_vboot_defconfig
index 07e73fe..b755aac 100644
--- a/configs/am335x_boneblack_vboot_defconfig
+++ b/configs/am335x_boneblack_vboot_defconfig
@@ -12,6 +12,7 @@  CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
 CONFIG_SPL_STACK_R=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_MUSB_NEW_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
diff --git a/configs/am335x_evm_defconfig b/configs/am335x_evm_defconfig
index e5a1696..2a9f6fb 100644
--- a/configs/am335x_evm_defconfig
+++ b/configs/am335x_evm_defconfig
@@ -10,6 +10,7 @@  CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
 CONFIG_SPL_STACK_R=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_MTD_SUPPORT=y
 CONFIG_SPL_MUSB_NEW_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
diff --git a/configs/am335x_evm_nor_defconfig b/configs/am335x_evm_nor_defconfig
index 484286b..ffcf00f 100644
--- a/configs/am335x_evm_nor_defconfig
+++ b/configs/am335x_evm_nor_defconfig
@@ -9,6 +9,7 @@  CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
 CONFIG_SPL_STACK_R=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_MTD_SUPPORT=y
 CONFIG_SPL_MUSB_NEW_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
diff --git a/configs/am335x_evm_spiboot_defconfig b/configs/am335x_evm_spiboot_defconfig
index b239209..352a6a8 100644
--- a/configs/am335x_evm_spiboot_defconfig
+++ b/configs/am335x_evm_spiboot_defconfig
@@ -12,6 +12,7 @@  CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
 CONFIG_SPL_STACK_R=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_MUSB_NEW_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
diff --git a/configs/am335x_evm_usbspl_defconfig b/configs/am335x_evm_usbspl_defconfig
index 8c28e28..240fec9 100644
--- a/configs/am335x_evm_usbspl_defconfig
+++ b/configs/am335x_evm_usbspl_defconfig
@@ -8,6 +8,7 @@  CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
 CONFIG_SPL_STACK_R=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_MTD_SUPPORT=y
 CONFIG_SPL_MUSB_NEW_SUPPORT=y
 CONFIG_SPL_NET_SUPPORT=y
diff --git a/configs/am335x_igep0033_defconfig b/configs/am335x_igep0033_defconfig
index 6149beb..8573d5a 100644
--- a/configs/am335x_igep0033_defconfig
+++ b/configs/am335x_igep0033_defconfig
@@ -19,6 +19,7 @@  CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
 CONFIG_SPL_STACK_R=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_MTD_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
diff --git a/configs/am335x_shc_defconfig b/configs/am335x_shc_defconfig
index 9b73f46..70d4cfe 100644
--- a/configs/am335x_shc_defconfig
+++ b/configs/am335x_shc_defconfig
@@ -20,6 +20,7 @@  CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
 CONFIG_SPL_STACK_R=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="U-Boot# "
diff --git a/configs/am335x_shc_ict_defconfig b/configs/am335x_shc_ict_defconfig
index ff70580..53ebeb6 100644
--- a/configs/am335x_shc_ict_defconfig
+++ b/configs/am335x_shc_ict_defconfig
@@ -21,6 +21,7 @@  CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
 CONFIG_SPL_STACK_R=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_SYS_PROMPT="U-Boot# "
 CONFIG_AUTOBOOT_KEYED=y
diff --git a/configs/am335x_shc_netboot_defconfig b/configs/am335x_shc_netboot_defconfig
index 520d17c..a18f2e4 100644
--- a/configs/am335x_shc_netboot_defconfig
+++ b/configs/am335x_shc_netboot_defconfig
@@ -22,6 +22,7 @@  CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
 CONFIG_SPL_STACK_R=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_SYS_PROMPT="U-Boot# "
 CONFIG_AUTOBOOT_KEYED=y
diff --git a/configs/am335x_shc_prompt_defconfig b/configs/am335x_shc_prompt_defconfig
index d6cc315..09ab331 100644
--- a/configs/am335x_shc_prompt_defconfig
+++ b/configs/am335x_shc_prompt_defconfig
@@ -20,6 +20,7 @@  CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
 CONFIG_SPL_STACK_R=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_AUTOBOOT_KEYED=y
 CONFIG_AUTOBOOT_PROMPT="Enter 'shc' to enter prompt (times out) %d \nEnter 'noautoboot' to enter prompt without timeout\n"
diff --git a/configs/am335x_shc_sdboot_defconfig b/configs/am335x_shc_sdboot_defconfig
index b4e36b5..d7f3e5c 100644
--- a/configs/am335x_shc_sdboot_defconfig
+++ b/configs/am335x_shc_sdboot_defconfig
@@ -21,6 +21,7 @@  CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
 CONFIG_SPL_STACK_R=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_SYS_PROMPT="U-Boot# "
 CONFIG_AUTOBOOT_KEYED=y
diff --git a/configs/am335x_shc_sdboot_prompt_defconfig b/configs/am335x_shc_sdboot_prompt_defconfig
index b4e36b5..d7f3e5c 100644
--- a/configs/am335x_shc_sdboot_prompt_defconfig
+++ b/configs/am335x_shc_sdboot_prompt_defconfig
@@ -21,6 +21,7 @@  CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
 CONFIG_SPL_STACK_R=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_SYS_PROMPT="U-Boot# "
 CONFIG_AUTOBOOT_KEYED=y
diff --git a/configs/am335x_sl50_defconfig b/configs/am335x_sl50_defconfig
index f49407e..6904475 100644
--- a/configs/am335x_sl50_defconfig
+++ b/configs/am335x_sl50_defconfig
@@ -21,6 +21,7 @@  CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
 CONFIG_SPL_STACK_R=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 # CONFIG_AUTOBOOT is not set
diff --git a/configs/am3517_crane_defconfig b/configs/am3517_crane_defconfig
index 08902b8..c8d028f 100644
--- a/configs/am3517_crane_defconfig
+++ b/configs/am3517_crane_defconfig
@@ -5,6 +5,7 @@  CONFIG_OMAP34XX=y
 CONFIG_TARGET_AM3517_CRANE=y
 CONFIG_BOOTDELAY=10
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="AM3517_CRANE # "
 # CONFIG_CMD_IMI is not set
diff --git a/configs/am3517_evm_defconfig b/configs/am3517_evm_defconfig
index 291f570..e689d0b 100644
--- a/configs/am3517_evm_defconfig
+++ b/configs/am3517_evm_defconfig
@@ -8,6 +8,7 @@  CONFIG_SYS_EXTRA_OPTIONS="NAND"
 CONFIG_BOOTDELAY=10
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_MTD_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="AM3517_EVM # "
diff --git a/configs/am43xx_evm_defconfig b/configs/am43xx_evm_defconfig
index 443e1fb..ff43b21 100644
--- a/configs/am43xx_evm_defconfig
+++ b/configs/am43xx_evm_defconfig
@@ -11,6 +11,7 @@  CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
 CONFIG_SPL_STACK_R=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_MTD_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
diff --git a/configs/am43xx_evm_ethboot_defconfig b/configs/am43xx_evm_ethboot_defconfig
index 7090fd1..89477c8 100644
--- a/configs/am43xx_evm_ethboot_defconfig
+++ b/configs/am43xx_evm_ethboot_defconfig
@@ -6,6 +6,7 @@  CONFIG_SYS_EXTRA_OPTIONS="SERIAL1,CONS_INDEX=1,NAND"
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_ETH_SUPPORT=y
 CONFIG_SPL_MTD_SUPPORT=y
 CONFIG_SPL_NET_SUPPORT=y
diff --git a/configs/am43xx_evm_usbhost_boot_defconfig b/configs/am43xx_evm_usbhost_boot_defconfig
index 6a881dd..63c7d44 100644
--- a/configs/am43xx_evm_usbhost_boot_defconfig
+++ b/configs/am43xx_evm_usbhost_boot_defconfig
@@ -12,6 +12,7 @@  CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
 CONFIG_SPL_STACK_R=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_MTD_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_SPL_USB_HOST_SUPPORT=y
diff --git a/configs/am43xx_hs_evm_defconfig b/configs/am43xx_hs_evm_defconfig
index 1c53877..c2a147e 100644
--- a/configs/am43xx_hs_evm_defconfig
+++ b/configs/am43xx_hs_evm_defconfig
@@ -15,6 +15,7 @@  CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
 CONFIG_SPL_STACK_R=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_MTD_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
diff --git a/configs/am57xx_evm_defconfig b/configs/am57xx_evm_defconfig
index 06f7f76..2ed6def 100644
--- a/configs/am57xx_evm_defconfig
+++ b/configs/am57xx_evm_defconfig
@@ -14,6 +14,7 @@  CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
 CONFIG_SPL_STACK_R=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_DMA_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
diff --git a/configs/am57xx_evm_nodt_defconfig b/configs/am57xx_evm_nodt_defconfig
index c3cdb20..dce13c1 100644
--- a/configs/am57xx_evm_nodt_defconfig
+++ b/configs/am57xx_evm_nodt_defconfig
@@ -7,6 +7,7 @@  CONFIG_SPL_SPI_SUPPORT=y
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_DMA_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
diff --git a/configs/am57xx_hs_evm_defconfig b/configs/am57xx_hs_evm_defconfig
index 6631bb2..4238ad6 100644
--- a/configs/am57xx_hs_evm_defconfig
+++ b/configs/am57xx_hs_evm_defconfig
@@ -16,6 +16,7 @@  CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
 CONFIG_SPL_STACK_R=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_DMA_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
diff --git a/configs/at91sam9m10g45ek_mmc_defconfig b/configs/at91sam9m10g45ek_mmc_defconfig
index 7a18ef8..74f3ab3 100644
--- a/configs/at91sam9m10g45ek_mmc_defconfig
+++ b/configs/at91sam9m10g45ek_mmc_defconfig
@@ -14,6 +14,7 @@  CONFIG_BOOTDELAY=3
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="U-Boot> "
 # CONFIG_CMD_BDI is not set
diff --git a/configs/at91sam9m10g45ek_nandflash_defconfig b/configs/at91sam9m10g45ek_nandflash_defconfig
index 819fe10..9a53cf6 100644
--- a/configs/at91sam9m10g45ek_nandflash_defconfig
+++ b/configs/at91sam9m10g45ek_nandflash_defconfig
@@ -12,6 +12,7 @@  CONFIG_BOOTDELAY=3
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="U-Boot> "
 # CONFIG_CMD_BDI is not set
diff --git a/configs/at91sam9n12ek_nandflash_defconfig b/configs/at91sam9n12ek_nandflash_defconfig
index da0ea60..4c0fc05 100644
--- a/configs/at91sam9n12ek_nandflash_defconfig
+++ b/configs/at91sam9n12ek_nandflash_defconfig
@@ -12,6 +12,7 @@  CONFIG_BOOTDELAY=3
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="U-Boot> "
 CONFIG_CMD_BOOTZ=y
diff --git a/configs/at91sam9n12ek_spiflash_defconfig b/configs/at91sam9n12ek_spiflash_defconfig
index 4e5d102..ce265fa 100644
--- a/configs/at91sam9n12ek_spiflash_defconfig
+++ b/configs/at91sam9n12ek_spiflash_defconfig
@@ -13,6 +13,7 @@  CONFIG_BOOTDELAY=3
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="U-Boot> "
 CONFIG_CMD_BOOTZ=y
diff --git a/configs/at91sam9x5ek_nandflash_defconfig b/configs/at91sam9x5ek_nandflash_defconfig
index 05907b7..2fdfb9e 100644
--- a/configs/at91sam9x5ek_nandflash_defconfig
+++ b/configs/at91sam9x5ek_nandflash_defconfig
@@ -12,6 +12,7 @@  CONFIG_BOOTDELAY=3
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="U-Boot> "
 CONFIG_CMD_BOOTZ=y
diff --git a/configs/at91sam9x5ek_spiflash_defconfig b/configs/at91sam9x5ek_spiflash_defconfig
index 5fc512b..19620e6 100644
--- a/configs/at91sam9x5ek_spiflash_defconfig
+++ b/configs/at91sam9x5ek_spiflash_defconfig
@@ -13,6 +13,7 @@  CONFIG_BOOTDELAY=3
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="U-Boot> "
 CONFIG_CMD_BOOTZ=y
diff --git a/configs/ba10_tv_box_defconfig b/configs/ba10_tv_box_defconfig
index c60766c..17a9a61 100644
--- a/configs/ba10_tv_box_defconfig
+++ b/configs/ba10_tv_box_defconfig
@@ -11,6 +11,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-ba10-tvbox"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SYS_EXTRA_OPTIONS="SUNXI_EMAC"
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/birdland_bav335a_defconfig b/configs/birdland_bav335a_defconfig
index 5e1af1c..b151ce8 100644
--- a/configs/birdland_bav335a_defconfig
+++ b/configs/birdland_bav335a_defconfig
@@ -19,6 +19,7 @@  CONFIG_SYS_EXTRA_OPTIONS="SERIAL1,CONS_INDEX=1"
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_MUSB_NEW_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
diff --git a/configs/birdland_bav335b_defconfig b/configs/birdland_bav335b_defconfig
index f3771bb..32905e2 100644
--- a/configs/birdland_bav335b_defconfig
+++ b/configs/birdland_bav335b_defconfig
@@ -19,6 +19,7 @@  CONFIG_SYS_EXTRA_OPTIONS="SERIAL1,CONS_INDEX=1"
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_MUSB_NEW_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
diff --git a/configs/brppt1_mmc_defconfig b/configs/brppt1_mmc_defconfig
index 78f3093..4a119b4 100644
--- a/configs/brppt1_mmc_defconfig
+++ b/configs/brppt1_mmc_defconfig
@@ -20,6 +20,7 @@  CONFIG_VERSION_VARIABLE=y
 # CONFIG_DISPLAY_CPUINFO is not set
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMI is not set
diff --git a/configs/brppt1_nand_defconfig b/configs/brppt1_nand_defconfig
index 8e5325e..0644f08 100644
--- a/configs/brppt1_nand_defconfig
+++ b/configs/brppt1_nand_defconfig
@@ -20,6 +20,7 @@  CONFIG_VERSION_VARIABLE=y
 # CONFIG_DISPLAY_CPUINFO is not set
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMI is not set
diff --git a/configs/brppt1_spi_defconfig b/configs/brppt1_spi_defconfig
index 9a5ed65..75bd4fc 100644
--- a/configs/brppt1_spi_defconfig
+++ b/configs/brppt1_spi_defconfig
@@ -23,6 +23,7 @@  CONFIG_VERSION_VARIABLE=y
 # CONFIG_DISPLAY_CPUINFO is not set
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMI is not set
diff --git a/configs/brxre1_defconfig b/configs/brxre1_defconfig
index 1641533..04fcefd 100644
--- a/configs/brxre1_defconfig
+++ b/configs/brxre1_defconfig
@@ -18,6 +18,7 @@  CONFIG_VERSION_VARIABLE=y
 # CONFIG_DISPLAY_CPUINFO is not set
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_BOOTD is not set
 # CONFIG_CMD_BOOTM is not set
diff --git a/configs/cairo_defconfig b/configs/cairo_defconfig
index 67d6b61..f030f61 100644
--- a/configs/cairo_defconfig
+++ b/configs/cairo_defconfig
@@ -5,6 +5,7 @@  CONFIG_BOOTDELAY=-2
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_MTD_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
diff --git a/configs/cgtqmx6eval_defconfig b/configs/cgtqmx6eval_defconfig
index 1392f7e..b979fa9 100644
--- a/configs/cgtqmx6eval_defconfig
+++ b/configs/cgtqmx6eval_defconfig
@@ -20,6 +20,7 @@  CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y
 # CONFIG_SYS_STDIO_DEREGISTER is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="CGT-QMX6-Quad U-Boot > "
 CONFIG_CMD_BOOTZ=y
diff --git a/configs/chromebook_jerry_defconfig b/configs/chromebook_jerry_defconfig
index 876adc4..85a3e44 100644
--- a/configs/chromebook_jerry_defconfig
+++ b/configs/chromebook_jerry_defconfig
@@ -15,6 +15,7 @@  CONFIG_SILENT_CONSOLE=y
 # CONFIG_DISPLAY_CPUINFO is not set
 CONFIG_SPL_STACK_R=y
 CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x2000
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
diff --git a/configs/clearfog_defconfig b/configs/clearfog_defconfig
index 0891b91..298dcc8 100644
--- a/configs/clearfog_defconfig
+++ b/configs/clearfog_defconfig
@@ -13,6 +13,8 @@  CONFIG_BOOTDELAY=3
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x141
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
diff --git a/configs/cm_fx6_defconfig b/configs/cm_fx6_defconfig
index 9c3a6ec..1058962 100644
--- a/configs/cm_fx6_defconfig
+++ b/configs/cm_fx6_defconfig
@@ -15,6 +15,8 @@  CONFIG_OF_BOARD_SETUP=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,MX6QDL,SPL"
 CONFIG_BOOTDELAY=3
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x80
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="CM-FX6 # "
 CONFIG_CMD_BOOTZ=y
diff --git a/configs/cm_t335_defconfig b/configs/cm_t335_defconfig
index 36905fd..3b55b64 100644
--- a/configs/cm_t335_defconfig
+++ b/configs/cm_t335_defconfig
@@ -16,6 +16,7 @@  CONFIG_SPL_WATCHDOG_SUPPORT=y
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_MTD_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="CM-T335 # "
diff --git a/configs/cm_t35_defconfig b/configs/cm_t35_defconfig
index 56b78c1..515288c 100644
--- a/configs/cm_t35_defconfig
+++ b/configs/cm_t35_defconfig
@@ -6,6 +6,7 @@  CONFIG_BOOTDELAY=3
 # CONFIG_CONSOLE_MUX is not set
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="CM-T3x # "
 CONFIG_CMD_BOOTZ=y
diff --git a/configs/cm_t43_defconfig b/configs/cm_t43_defconfig
index d359fab..2d78841 100644
--- a/configs/cm_t43_defconfig
+++ b/configs/cm_t43_defconfig
@@ -16,6 +16,8 @@  CONFIG_VERSION_VARIABLE=y
 # CONFIG_DISPLAY_CPUINFO is not set
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x480
 CONFIG_SPL_MTD_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="CM-T43 # "
diff --git a/configs/cm_t54_defconfig b/configs/cm_t54_defconfig
index c30ee0b..924158d 100644
--- a/configs/cm_t54_defconfig
+++ b/configs/cm_t54_defconfig
@@ -7,6 +7,8 @@  CONFIG_BOOTDELAY=3
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x200
 CONFIG_SPL_SATA_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="CM-T54 # "
diff --git a/configs/colorfly_e708_q1_defconfig b/configs/colorfly_e708_q1_defconfig
index ae67c37..293d62d 100644
--- a/configs/colorfly_e708_q1_defconfig
+++ b/configs/colorfly_e708_q1_defconfig
@@ -16,6 +16,7 @@  CONFIG_VIDEO_LCD_PANEL_LVDS=y
 CONFIG_DEFAULT_DEVICE_TREE="sun6i-a31s-colorfly-e708-q1"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/da850_am18xxevm_defconfig b/configs/da850_am18xxevm_defconfig
index 25fcff1..8f3131b 100644
--- a/configs/da850_am18xxevm_defconfig
+++ b/configs/da850_am18xxevm_defconfig
@@ -12,6 +12,7 @@  CONFIG_VERSION_VARIABLE=y
 # CONFIG_DISPLAY_CPUINFO is not set
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_ASKENV=y
diff --git a/configs/da850evm_defconfig b/configs/da850evm_defconfig
index e2512ff..0240b79 100644
--- a/configs/da850evm_defconfig
+++ b/configs/da850evm_defconfig
@@ -12,6 +12,7 @@  CONFIG_VERSION_VARIABLE=y
 # CONFIG_DISPLAY_CPUINFO is not set
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="U-Boot > "
 CONFIG_CMD_BOOTZ=y
diff --git a/configs/db-88f6820-gp_defconfig b/configs/db-88f6820-gp_defconfig
index 3547d84..177726d 100644
--- a/configs/db-88f6820-gp_defconfig
+++ b/configs/db-88f6820-gp_defconfig
@@ -13,6 +13,7 @@  CONFIG_BOOTDELAY=3
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
diff --git a/configs/devkit8000_defconfig b/configs/devkit8000_defconfig
index e603310..68b79ec 100644
--- a/configs/devkit8000_defconfig
+++ b/configs/devkit8000_defconfig
@@ -4,6 +4,7 @@  CONFIG_TARGET_DEVKIT8000=y
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_IMI is not set
diff --git a/configs/difrnce_dit4350_defconfig b/configs/difrnce_dit4350_defconfig
index 6149c94..8ff5c2e 100644
--- a/configs/difrnce_dit4350_defconfig
+++ b/configs/difrnce_dit4350_defconfig
@@ -17,6 +17,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun5i-a13-difrnce-dit4350"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=2"
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/dra7xx_evm_defconfig b/configs/dra7xx_evm_defconfig
index 18a5e7a..ef6a527 100644
--- a/configs/dra7xx_evm_defconfig
+++ b/configs/dra7xx_evm_defconfig
@@ -14,6 +14,7 @@  CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
 CONFIG_SPL_STACK_R=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_DMA_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
diff --git a/configs/dra7xx_hs_evm_defconfig b/configs/dra7xx_hs_evm_defconfig
index 838de5c..b1f4b97 100644
--- a/configs/dra7xx_hs_evm_defconfig
+++ b/configs/dra7xx_hs_evm_defconfig
@@ -17,6 +17,7 @@  CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
 CONFIG_SPL_STACK_R=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_DMA_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_FASTBOOT=y
diff --git a/configs/draco_defconfig b/configs/draco_defconfig
index 5212fac..f73ae7e 100644
--- a/configs/draco_defconfig
+++ b/configs/draco_defconfig
@@ -19,6 +19,7 @@  CONFIG_BOOTDELAY=3
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="U-Boot# "
 CONFIG_AUTOBOOT_KEYED=y
diff --git a/configs/dserve_dsrv9703c_defconfig b/configs/dserve_dsrv9703c_defconfig
index ebcfe58..74a5283 100644
--- a/configs/dserve_dsrv9703c_defconfig
+++ b/configs/dserve_dsrv9703c_defconfig
@@ -15,6 +15,7 @@  CONFIG_VIDEO_LCD_PANEL_LVDS=y
 CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-dserve-dsrv9703c"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/duovero_defconfig b/configs/duovero_defconfig
index 4fb5ed6..f334c76 100644
--- a/configs/duovero_defconfig
+++ b/configs/duovero_defconfig
@@ -7,6 +7,7 @@  CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="duovero # "
 CONFIG_CMD_BOOTZ=y
diff --git a/configs/eco5pk_defconfig b/configs/eco5pk_defconfig
index 77f3cd5..a363995 100644
--- a/configs/eco5pk_defconfig
+++ b/configs/eco5pk_defconfig
@@ -5,6 +5,7 @@  CONFIG_TARGET_ECO5PK=y
 CONFIG_FIT=y
 CONFIG_BOOTDELAY=10
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="ECO5-PK # "
 # CONFIG_CMD_IMLS is not set
diff --git a/configs/etamin_defconfig b/configs/etamin_defconfig
index 4e5baac..5b16791 100644
--- a/configs/etamin_defconfig
+++ b/configs/etamin_defconfig
@@ -19,6 +19,7 @@  CONFIG_BOOTDELAY=3
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="U-Boot# "
 CONFIG_AUTOBOOT_KEYED=y
diff --git a/configs/evb-rk3288_defconfig b/configs/evb-rk3288_defconfig
index fd8afe7..adf16f6 100644
--- a/configs/evb-rk3288_defconfig
+++ b/configs/evb-rk3288_defconfig
@@ -10,6 +10,7 @@  CONFIG_CONSOLE_MUX=y
 # CONFIG_DISPLAY_CPUINFO is not set
 CONFIG_SPL_STACK_R=y
 CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x2000
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
diff --git a/configs/fennec-rk3288_defconfig b/configs/fennec-rk3288_defconfig
index 5b4d0f1..00ce078 100644
--- a/configs/fennec-rk3288_defconfig
+++ b/configs/fennec-rk3288_defconfig
@@ -10,6 +10,7 @@  CONFIG_CONSOLE_MUX=y
 # CONFIG_DISPLAY_CPUINFO is not set
 CONFIG_SPL_STACK_R=y
 CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x2000
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
diff --git a/configs/firefly-rk3288_defconfig b/configs/firefly-rk3288_defconfig
index 4910c80..7fa3f01 100644
--- a/configs/firefly-rk3288_defconfig
+++ b/configs/firefly-rk3288_defconfig
@@ -9,6 +9,7 @@  CONFIG_SILENT_CONSOLE=y
 # CONFIG_DISPLAY_CPUINFO is not set
 CONFIG_SPL_STACK_R=y
 CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x2000
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
diff --git a/configs/ga10h_v1_1_defconfig b/configs/ga10h_v1_1_defconfig
index 02a8a78..36d8333 100644
--- a/configs/ga10h_v1_1_defconfig
+++ b/configs/ga10h_v1_1_defconfig
@@ -18,6 +18,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun8i-a33-ga10h-v1.1"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=5"
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/gt90h_v4_defconfig b/configs/gt90h_v4_defconfig
index 913a763..9d0ef2e 100644
--- a/configs/gt90h_v4_defconfig
+++ b/configs/gt90h_v4_defconfig
@@ -17,6 +17,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun8i-a23-gt90h-v4"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=5"
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/gwventana_defconfig b/configs/gwventana_defconfig
index 0819a22..7fa2e10 100644
--- a/configs/gwventana_defconfig
+++ b/configs/gwventana_defconfig
@@ -21,6 +21,7 @@  CONFIG_BOOTDELAY=3
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_SPL=y
 CONFIG_SPL_STACK_R=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_DMA_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
diff --git a/configs/h8_homlet_v2_defconfig b/configs/h8_homlet_v2_defconfig
index 76dd833..1def5f3 100644
--- a/configs/h8_homlet_v2_defconfig
+++ b/configs/h8_homlet_v2_defconfig
@@ -11,6 +11,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun8i-a83t-allwinner-h8homlet-v2"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_CONSOLE_MUX=y
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/i12-tvbox_defconfig b/configs/i12-tvbox_defconfig
index 8012c07..6017886 100644
--- a/configs/i12-tvbox_defconfig
+++ b/configs/i12-tvbox_defconfig
@@ -8,6 +8,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-i12-tvbox"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,MACPWR=SUNXI_GPH(21)"
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/iNet_3F_defconfig b/configs/iNet_3F_defconfig
index 052454d..c2ee8ea 100644
--- a/configs/iNet_3F_defconfig
+++ b/configs/iNet_3F_defconfig
@@ -15,6 +15,7 @@  CONFIG_VIDEO_LCD_PANEL_LVDS=y
 CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-inet-3f"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/iNet_3W_defconfig b/configs/iNet_3W_defconfig
index 03d7ec9..c7e973e 100644
--- a/configs/iNet_3W_defconfig
+++ b/configs/iNet_3W_defconfig
@@ -15,6 +15,7 @@  CONFIG_VIDEO_LCD_BL_PWM="PB2"
 CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-inet-3w"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/iNet_86VS_defconfig b/configs/iNet_86VS_defconfig
index 1901125..7776a49 100644
--- a/configs/iNet_86VS_defconfig
+++ b/configs/iNet_86VS_defconfig
@@ -14,6 +14,7 @@  CONFIG_VIDEO_LCD_BL_PWM="PB2"
 CONFIG_DEFAULT_DEVICE_TREE="sun5i-a13-inet-86vs"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/iNet_D978_rev2_defconfig b/configs/iNet_D978_rev2_defconfig
index d5e6309..c317f55 100644
--- a/configs/iNet_D978_rev2_defconfig
+++ b/configs/iNet_D978_rev2_defconfig
@@ -18,6 +18,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun8i-a33-inet-d978-rev2"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=5"
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/icnova-a20-swac_defconfig b/configs/icnova-a20-swac_defconfig
index 78cc3bb..c89f480 100644
--- a/configs/icnova-a20-swac_defconfig
+++ b/configs/icnova-a20-swac_defconfig
@@ -15,6 +15,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-icnova-swac"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_GMAC,CMD_BMP,CMD_UNZIP"
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/igep0020_defconfig b/configs/igep0020_defconfig
index 9c247d7..654cb42 100644
--- a/configs/igep0020_defconfig
+++ b/configs/igep0020_defconfig
@@ -8,6 +8,7 @@  CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_MTD_SUPPORT=y
 CONFIG_SPL_ONENAND_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
diff --git a/configs/igep0030_defconfig b/configs/igep0030_defconfig
index 1312ddb..2053e08 100644
--- a/configs/igep0030_defconfig
+++ b/configs/igep0030_defconfig
@@ -7,6 +7,7 @@  CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_MTD_SUPPORT=y
 CONFIG_SPL_ONENAND_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
diff --git a/configs/igep0030_nand_defconfig b/configs/igep0030_nand_defconfig
index dda1a7b..4e9624e 100644
--- a/configs/igep0030_nand_defconfig
+++ b/configs/igep0030_nand_defconfig
@@ -7,6 +7,7 @@  CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_MTD_SUPPORT=y
 CONFIG_SPL_ONENAND_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
diff --git a/configs/igep0032_defconfig b/configs/igep0032_defconfig
index 37e46b0..51b2115 100644
--- a/configs/igep0032_defconfig
+++ b/configs/igep0032_defconfig
@@ -7,6 +7,7 @@  CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_MTD_SUPPORT=y
 CONFIG_SPL_ONENAND_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
diff --git a/configs/inet1_defconfig b/configs/inet1_defconfig
index 4fcd2d4..1738b56 100644
--- a/configs/inet1_defconfig
+++ b/configs/inet1_defconfig
@@ -15,6 +15,7 @@  CONFIG_VIDEO_LCD_PANEL_LVDS=y
 CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-inet1"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/inet86dz_defconfig b/configs/inet86dz_defconfig
index 4ed94dc..fd15ac7 100644
--- a/configs/inet86dz_defconfig
+++ b/configs/inet86dz_defconfig
@@ -17,6 +17,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun8i-a23-inet86dz"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=5"
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/inet97fv2_defconfig b/configs/inet97fv2_defconfig
index bef3cd8..0a6b8b2 100644
--- a/configs/inet97fv2_defconfig
+++ b/configs/inet97fv2_defconfig
@@ -14,6 +14,7 @@  CONFIG_VIDEO_LCD_BL_PWM="PB2"
 CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-inet97fv2"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/inet98v_rev2_defconfig b/configs/inet98v_rev2_defconfig
index 7c306f8..9ad0e3c 100644
--- a/configs/inet98v_rev2_defconfig
+++ b/configs/inet98v_rev2_defconfig
@@ -17,6 +17,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun5i-a13-inet-98v-rev2"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=2"
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/inet9f_rev03_defconfig b/configs/inet9f_rev03_defconfig
index cc051bd..35812af 100644
--- a/configs/inet9f_rev03_defconfig
+++ b/configs/inet9f_rev03_defconfig
@@ -14,6 +14,7 @@  CONFIG_VIDEO_LCD_BL_PWM="PB2"
 CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-inet9f-rev03"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/inet_q972_defconfig b/configs/inet_q972_defconfig
index dcaaae4..15fb591 100644
--- a/configs/inet_q972_defconfig
+++ b/configs/inet_q972_defconfig
@@ -15,6 +15,7 @@  CONFIG_VIDEO_LCD_BL_PWM="PH13"
 CONFIG_DEFAULT_DEVICE_TREE="sun6i-a31s-inet-q972"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/jesurun_q5_defconfig b/configs/jesurun_q5_defconfig
index 6e4e6ca..2e4e799 100644
--- a/configs/jesurun_q5_defconfig
+++ b/configs/jesurun_q5_defconfig
@@ -9,6 +9,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-jesurun-q5"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SYS_EXTRA_OPTIONS="SUNXI_EMAC,MACPWR=SUNXI_GPH(19)"
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/k2e_evm_defconfig b/configs/k2e_evm_defconfig
index ffa1c4a..bc06f94 100644
--- a/configs/k2e_evm_defconfig
+++ b/configs/k2e_evm_defconfig
@@ -13,6 +13,7 @@  CONFIG_OF_BOARD_SETUP=y
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="K2E EVM # "
 CONFIG_CMD_BOOTZ=y
diff --git a/configs/k2g_evm_defconfig b/configs/k2g_evm_defconfig
index 97f7187..0e4c033 100644
--- a/configs/k2g_evm_defconfig
+++ b/configs/k2g_evm_defconfig
@@ -13,6 +13,7 @@  CONFIG_OF_BOARD_SETUP=y
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
diff --git a/configs/k2hk_evm_defconfig b/configs/k2hk_evm_defconfig
index 8b0e00f..be3be6f 100644
--- a/configs/k2hk_evm_defconfig
+++ b/configs/k2hk_evm_defconfig
@@ -13,6 +13,7 @@  CONFIG_OF_BOARD_SETUP=y
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="K2HK EVM # "
 CONFIG_CMD_BOOTZ=y
diff --git a/configs/k2l_evm_defconfig b/configs/k2l_evm_defconfig
index 6424ec7..caa50de 100644
--- a/configs/k2l_evm_defconfig
+++ b/configs/k2l_evm_defconfig
@@ -13,6 +13,7 @@  CONFIG_OF_BOARD_SETUP=y
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="K2L EVM # "
 CONFIG_CMD_BOOTZ=y
diff --git a/configs/ls1021aqds_nand_defconfig b/configs/ls1021aqds_nand_defconfig
index 2bdc723..cf3cb2a 100644
--- a/configs/ls1021aqds_nand_defconfig
+++ b/configs/ls1021aqds_nand_defconfig
@@ -21,6 +21,7 @@  CONFIG_SILENT_CONSOLE=y
 # CONFIG_CONSOLE_MUX is not set
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
diff --git a/configs/ls1021aqds_sdcard_ifc_defconfig b/configs/ls1021aqds_sdcard_ifc_defconfig
index 402cce7..385733d 100644
--- a/configs/ls1021aqds_sdcard_ifc_defconfig
+++ b/configs/ls1021aqds_sdcard_ifc_defconfig
@@ -20,6 +20,7 @@  CONFIG_SILENT_CONSOLE=y
 # CONFIG_CONSOLE_MUX is not set
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
diff --git a/configs/ls1021aqds_sdcard_qspi_defconfig b/configs/ls1021aqds_sdcard_qspi_defconfig
index 6f3588e..8b8eb58 100644
--- a/configs/ls1021aqds_sdcard_qspi_defconfig
+++ b/configs/ls1021aqds_sdcard_qspi_defconfig
@@ -20,6 +20,7 @@  CONFIG_SILENT_CONSOLE=y
 # CONFIG_CONSOLE_MUX is not set
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
diff --git a/configs/ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig b/configs/ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig
index 8178e8a..6c98eba 100644
--- a/configs/ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig
+++ b/configs/ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig
@@ -19,6 +19,7 @@  CONFIG_SILENT_CONSOLE=y
 # CONFIG_CONSOLE_MUX is not set
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_CRYPTO_SUPPORT=y
 CONFIG_SPL_HASH_SUPPORT=y
 CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT=y
diff --git a/configs/ls1021atwr_sdcard_ifc_defconfig b/configs/ls1021atwr_sdcard_ifc_defconfig
index eef1c1c..f349e74 100644
--- a/configs/ls1021atwr_sdcard_ifc_defconfig
+++ b/configs/ls1021atwr_sdcard_ifc_defconfig
@@ -19,6 +19,7 @@  CONFIG_SILENT_CONSOLE=y
 # CONFIG_CONSOLE_MUX is not set
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
diff --git a/configs/ls1021atwr_sdcard_qspi_defconfig b/configs/ls1021atwr_sdcard_qspi_defconfig
index 3f6fb17..12d19fe 100644
--- a/configs/ls1021atwr_sdcard_qspi_defconfig
+++ b/configs/ls1021atwr_sdcard_qspi_defconfig
@@ -20,6 +20,7 @@  CONFIG_SILENT_CONSOLE=y
 # CONFIG_CONSOLE_MUX is not set
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
diff --git a/configs/ls1043aqds_nand_defconfig b/configs/ls1043aqds_nand_defconfig
index dbdb416..1138520 100644
--- a/configs/ls1043aqds_nand_defconfig
+++ b/configs/ls1043aqds_nand_defconfig
@@ -17,6 +17,7 @@  CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,SPL_FSL_PBL,NAND_BOOT"
 CONFIG_NAND_BOOT=y
 CONFIG_BOOTDELAY=10
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
diff --git a/configs/ls1043aqds_sdcard_ifc_defconfig b/configs/ls1043aqds_sdcard_ifc_defconfig
index 24220ed..5c90d9c 100644
--- a/configs/ls1043aqds_sdcard_ifc_defconfig
+++ b/configs/ls1043aqds_sdcard_ifc_defconfig
@@ -17,6 +17,7 @@  CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,SPL_FSL_PBL,SD_BOOT"
 CONFIG_SD_BOOT=y
 CONFIG_BOOTDELAY=10
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
diff --git a/configs/ls1043aqds_sdcard_qspi_defconfig b/configs/ls1043aqds_sdcard_qspi_defconfig
index fdcbf8a..33f6557 100644
--- a/configs/ls1043aqds_sdcard_qspi_defconfig
+++ b/configs/ls1043aqds_sdcard_qspi_defconfig
@@ -17,6 +17,7 @@  CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,SPL_FSL_PBL,SD_BOOT,SD_BOOT_QSPI"
 CONFIG_SD_BOOT=y
 CONFIG_BOOTDELAY=10
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
diff --git a/configs/ls1043ardb_nand_defconfig b/configs/ls1043ardb_nand_defconfig
index b21f47e..ac95e15 100644
--- a/configs/ls1043ardb_nand_defconfig
+++ b/configs/ls1043ardb_nand_defconfig
@@ -17,6 +17,7 @@  CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,SPL_FSL_PBL,NAND_BOOT"
 CONFIG_NAND_BOOT=y
 CONFIG_BOOTDELAY=10
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_MMC=y
diff --git a/configs/ls1043ardb_sdcard_defconfig b/configs/ls1043ardb_sdcard_defconfig
index 12ac648..ee307be 100644
--- a/configs/ls1043ardb_sdcard_defconfig
+++ b/configs/ls1043ardb_sdcard_defconfig
@@ -17,6 +17,7 @@  CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,SPL_FSL_PBL,SD_BOOT"
 CONFIG_SD_BOOT=y
 CONFIG_BOOTDELAY=10
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_MMC=y
diff --git a/configs/ls1046aqds_nand_defconfig b/configs/ls1046aqds_nand_defconfig
index 01140b9..68f4f22 100644
--- a/configs/ls1046aqds_nand_defconfig
+++ b/configs/ls1046aqds_nand_defconfig
@@ -8,6 +8,7 @@  CONFIG_SYS_EXTRA_OPTIONS="SYS_FSL_DDR4,RAMBOOT_PBL,SPL_FSL_PBL"
 CONFIG_NAND_BOOT=y
 CONFIG_BOOTDELAY=10
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 CONFIG_CMD_GREPENV=y
diff --git a/configs/ls1046aqds_sdcard_ifc_defconfig b/configs/ls1046aqds_sdcard_ifc_defconfig
index e6eeadd..595d757 100644
--- a/configs/ls1046aqds_sdcard_ifc_defconfig
+++ b/configs/ls1046aqds_sdcard_ifc_defconfig
@@ -8,6 +8,7 @@  CONFIG_SYS_EXTRA_OPTIONS="SYS_FSL_DDR4,RAMBOOT_PBL,SPL_FSL_PBL"
 CONFIG_SD_BOOT=y
 CONFIG_BOOTDELAY=10
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 CONFIG_CMD_GREPENV=y
diff --git a/configs/ls1046aqds_sdcard_qspi_defconfig b/configs/ls1046aqds_sdcard_qspi_defconfig
index 8a14862..72d4e46 100644
--- a/configs/ls1046aqds_sdcard_qspi_defconfig
+++ b/configs/ls1046aqds_sdcard_qspi_defconfig
@@ -8,6 +8,7 @@  CONFIG_SYS_EXTRA_OPTIONS="SYS_FSL_DDR4,RAMBOOT_PBL,SPL_FSL_PBL,SD_BOOT_QSPI"
 CONFIG_SD_BOOT=y
 CONFIG_BOOTDELAY=10
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
diff --git a/configs/ls1046ardb_emmc_defconfig b/configs/ls1046ardb_emmc_defconfig
index ba28047..b31c2e4 100644
--- a/configs/ls1046ardb_emmc_defconfig
+++ b/configs/ls1046ardb_emmc_defconfig
@@ -8,6 +8,7 @@  CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,SPL_FSL_PBL,SYS_FSL_DDR4,EMMC_BOOT"
 CONFIG_SD_BOOT=y
 CONFIG_BOOTDELAY=10
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_MMC=y
diff --git a/configs/ls1046ardb_sdcard_defconfig b/configs/ls1046ardb_sdcard_defconfig
index 01e6397..6d5d231 100644
--- a/configs/ls1046ardb_sdcard_defconfig
+++ b/configs/ls1046ardb_sdcard_defconfig
@@ -8,6 +8,7 @@  CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,SPL_FSL_PBL,SYS_FSL_DDR4"
 CONFIG_SD_BOOT=y
 CONFIG_BOOTDELAY=10
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_MMC=y
diff --git a/configs/mcx_defconfig b/configs/mcx_defconfig
index 9dc3c5a..e333940 100644
--- a/configs/mcx_defconfig
+++ b/configs/mcx_defconfig
@@ -9,6 +9,7 @@  CONFIG_BOOTDELAY=3
 # CONFIG_CONSOLE_MUX is not set
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="mcx # "
 # CONFIG_CMD_IMI is not set
diff --git a/configs/miniarm-rk3288_defconfig b/configs/miniarm-rk3288_defconfig
index 394e4aa..9566a3f 100644
--- a/configs/miniarm-rk3288_defconfig
+++ b/configs/miniarm-rk3288_defconfig
@@ -10,6 +10,7 @@  CONFIG_CONSOLE_MUX=y
 # CONFIG_DISPLAY_CPUINFO is not set
 CONFIG_SPL_STACK_R=y
 CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x2000
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
diff --git a/configs/mixtile_loftq_defconfig b/configs/mixtile_loftq_defconfig
index 8ca8467..c5048c0 100644
--- a/configs/mixtile_loftq_defconfig
+++ b/configs/mixtile_loftq_defconfig
@@ -9,6 +9,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun6i-a31-mixtile-loftq"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,RGMII,MACPWR=SUNXI_GPA(21)"
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/mk802_a10s_defconfig b/configs/mk802_a10s_defconfig
index bfd591a..f325ded 100644
--- a/configs/mk802_a10s_defconfig
+++ b/configs/mk802_a10s_defconfig
@@ -8,6 +8,7 @@  CONFIG_USB1_VBUS_PIN="PB10"
 CONFIG_DEFAULT_DEVICE_TREE="sun5i-a10s-mk802"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/mk802_defconfig b/configs/mk802_defconfig
index 47bbf62..ea00a02 100644
--- a/configs/mk802_defconfig
+++ b/configs/mk802_defconfig
@@ -6,6 +6,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-mk802"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SYS_EXTRA_OPTIONS="USB_EHCI"
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/mk802ii_defconfig b/configs/mk802ii_defconfig
index f9516d1..22e6ead 100644
--- a/configs/mk802ii_defconfig
+++ b/configs/mk802ii_defconfig
@@ -5,6 +5,7 @@  CONFIG_MACH_SUN4I=y
 CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-mk802ii"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/mt_ventoux_defconfig b/configs/mt_ventoux_defconfig
index 9e330a7..896a14d 100644
--- a/configs/mt_ventoux_defconfig
+++ b/configs/mt_ventoux_defconfig
@@ -8,6 +8,7 @@  CONFIG_BOOTDELAY=10
 # CONFIG_CONSOLE_MUX is not set
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="mt_ventoux => "
 # CONFIG_CMD_IMLS is not set
diff --git a/configs/mx6cuboxi_defconfig b/configs/mx6cuboxi_defconfig
index 22173cc..f16a892 100644
--- a/configs/mx6cuboxi_defconfig
+++ b/configs/mx6cuboxi_defconfig
@@ -14,6 +14,7 @@  CONFIG_VIDEO=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,MX6QDL"
 # CONFIG_SYS_STDIO_DEREGISTER is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
@@ -34,6 +35,6 @@  CONFIG_DM=y
 CONFIG_DM_THERMAL=y
 CONFIG_USB=y
 CONFIG_USB_STORAGE=y
-# CONFIG_VIDEO_SW_CURSOR is not set
 CONFIG_USB_KEYBOARD=y
+# CONFIG_VIDEO_SW_CURSOR is not set
 CONFIG_OF_LIBFDT=y
diff --git a/configs/mx6sabresd_spl_defconfig b/configs/mx6sabresd_spl_defconfig
index bb72615..311322e 100644
--- a/configs/mx6sabresd_spl_defconfig
+++ b/configs/mx6sabresd_spl_defconfig
@@ -17,6 +17,7 @@  CONFIG_BOOTDELAY=3
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
diff --git a/configs/mx6slevk_spl_defconfig b/configs/mx6slevk_spl_defconfig
index 4dd2484..2393af4 100644
--- a/configs/mx6slevk_spl_defconfig
+++ b/configs/mx6slevk_spl_defconfig
@@ -13,6 +13,7 @@  CONFIG_SPL_WATCHDOG_SUPPORT=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,SPL,MX6SL"
 CONFIG_BOOTDELAY=3
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
diff --git a/configs/mx6sxsabresd_spl_defconfig b/configs/mx6sxsabresd_spl_defconfig
index f7cbc25..47f2aea 100644
--- a/configs/mx6sxsabresd_spl_defconfig
+++ b/configs/mx6sxsabresd_spl_defconfig
@@ -16,6 +16,7 @@  CONFIG_BOOTDELAY=3
 # CONFIG_CONSOLE_MUX is not set
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
diff --git a/configs/mx6ul_14x14_evk_defconfig b/configs/mx6ul_14x14_evk_defconfig
index 742dc5d..14bf376 100644
--- a/configs/mx6ul_14x14_evk_defconfig
+++ b/configs/mx6ul_14x14_evk_defconfig
@@ -16,6 +16,7 @@  CONFIG_BOOTDELAY=3
 # CONFIG_CONSOLE_MUX is not set
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
diff --git a/configs/mx6ul_9x9_evk_defconfig b/configs/mx6ul_9x9_evk_defconfig
index 0642895..f9731e4 100644
--- a/configs/mx6ul_9x9_evk_defconfig
+++ b/configs/mx6ul_9x9_evk_defconfig
@@ -16,6 +16,7 @@  CONFIG_BOOTDELAY=3
 # CONFIG_CONSOLE_MUX is not set
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
diff --git a/configs/nanopi_neo_defconfig b/configs/nanopi_neo_defconfig
index 5164245..846e098 100644
--- a/configs/nanopi_neo_defconfig
+++ b/configs/nanopi_neo_defconfig
@@ -8,6 +8,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun8i-h3-nanopi-neo"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_CONSOLE_MUX=y
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/novena_defconfig b/configs/novena_defconfig
index e0d6f2e..7682a18 100644
--- a/configs/novena_defconfig
+++ b/configs/novena_defconfig
@@ -16,6 +16,7 @@  CONFIG_FIT=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,MX6Q"
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
diff --git a/configs/omap3_beagle_defconfig b/configs/omap3_beagle_defconfig
index 7a1fd44..e0d648b 100644
--- a/configs/omap3_beagle_defconfig
+++ b/configs/omap3_beagle_defconfig
@@ -5,6 +5,7 @@  CONFIG_SYS_EXTRA_OPTIONS="NAND"
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_MTD_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
diff --git a/configs/omap3_evm_defconfig b/configs/omap3_evm_defconfig
index 6ca7e2c..55c1f01 100644
--- a/configs/omap3_evm_defconfig
+++ b/configs/omap3_evm_defconfig
@@ -4,6 +4,7 @@  CONFIG_OMAP34XX=y
 CONFIG_TARGET_OMAP3_EVM=y
 CONFIG_BOOTDELAY=3
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="OMAP3_EVM # "
 # CONFIG_CMD_IMI is not set
diff --git a/configs/omap3_ha_defconfig b/configs/omap3_ha_defconfig
index 3fcbb76..248ba61 100644
--- a/configs/omap3_ha_defconfig
+++ b/configs/omap3_ha_defconfig
@@ -5,6 +5,7 @@  CONFIG_TARGET_TAO3530=y
 CONFIG_SYS_EXTRA_OPTIONS="SYS_BOARD_OMAP3_HA"
 CONFIG_BOOTDELAY=3
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_IMI is not set
 # CONFIG_CMD_IMLS is not set
diff --git a/configs/omap3_logic_defconfig b/configs/omap3_logic_defconfig
index c8eb5b5..299cfac 100644
--- a/configs/omap3_logic_defconfig
+++ b/configs/omap3_logic_defconfig
@@ -6,6 +6,7 @@  CONFIG_SYS_EXTRA_OPTIONS="NAND"
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_MTD_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
diff --git a/configs/omap3_overo_defconfig b/configs/omap3_overo_defconfig
index b902283..e507919 100644
--- a/configs/omap3_overo_defconfig
+++ b/configs/omap3_overo_defconfig
@@ -4,6 +4,7 @@  CONFIG_TARGET_OMAP3_OVERO=y
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_MTD_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
diff --git a/configs/omap4_panda_defconfig b/configs/omap4_panda_defconfig
index a5fbf9a..e03204c 100644
--- a/configs/omap4_panda_defconfig
+++ b/configs/omap4_panda_defconfig
@@ -8,6 +8,7 @@  CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
diff --git a/configs/omap4_sdp4430_defconfig b/configs/omap4_sdp4430_defconfig
index 92cc9f0..8f9b2ef 100644
--- a/configs/omap4_sdp4430_defconfig
+++ b/configs/omap4_sdp4430_defconfig
@@ -7,6 +7,7 @@  CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
diff --git a/configs/omap5_uevm_defconfig b/configs/omap5_uevm_defconfig
index 3005ffd..8876c0c 100644
--- a/configs/omap5_uevm_defconfig
+++ b/configs/omap5_uevm_defconfig
@@ -5,6 +5,7 @@  CONFIG_TARGET_OMAP5_UEVM=y
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
diff --git a/configs/orangepi_2_defconfig b/configs/orangepi_2_defconfig
index 4727aca..0e24f75 100644
--- a/configs/orangepi_2_defconfig
+++ b/configs/orangepi_2_defconfig
@@ -10,6 +10,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun8i-h3-orangepi-2"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_CONSOLE_MUX=y
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/orangepi_lite_defconfig b/configs/orangepi_lite_defconfig
index 8545835..783c1da 100644
--- a/configs/orangepi_lite_defconfig
+++ b/configs/orangepi_lite_defconfig
@@ -8,6 +8,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun8i-h3-orangepi-lite"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_CONSOLE_MUX=y
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/orangepi_one_defconfig b/configs/orangepi_one_defconfig
index 01b4ece..134135c 100644
--- a/configs/orangepi_one_defconfig
+++ b/configs/orangepi_one_defconfig
@@ -8,6 +8,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun8i-h3-orangepi-one"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_CONSOLE_MUX=y
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/orangepi_pc_defconfig b/configs/orangepi_pc_defconfig
index 910d68e..fd2f86c 100644
--- a/configs/orangepi_pc_defconfig
+++ b/configs/orangepi_pc_defconfig
@@ -9,6 +9,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun8i-h3-orangepi-pc"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_CONSOLE_MUX=y
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/orangepi_pc_plus_defconfig b/configs/orangepi_pc_plus_defconfig
index f43682b..f274162 100644
--- a/configs/orangepi_pc_plus_defconfig
+++ b/configs/orangepi_pc_plus_defconfig
@@ -10,6 +10,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun8i-h3-orangepi-pc-plus"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_CONSOLE_MUX=y
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/orangepi_plus2e_defconfig b/configs/orangepi_plus2e_defconfig
index df05d37..6233f4f 100644
--- a/configs/orangepi_plus2e_defconfig
+++ b/configs/orangepi_plus2e_defconfig
@@ -11,6 +11,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun8i-h3-orangepi-plus2e"
 CONFIG_SYS_EXTRA_OPTIONS="MACPWR=SUNXI_GPD(6)"
 CONFIG_CONSOLE_MUX=y
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/orangepi_plus_defconfig b/configs/orangepi_plus_defconfig
index bf88fef..8570ad5 100644
--- a/configs/orangepi_plus_defconfig
+++ b/configs/orangepi_plus_defconfig
@@ -12,6 +12,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun8i-h3-orangepi-plus"
 CONFIG_SYS_EXTRA_OPTIONS="SATAPWR=SUNXI_GPG(11),MACPWR=SUNXI_GPD(6)"
 CONFIG_CONSOLE_MUX=y
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/ot1200_spl_defconfig b/configs/ot1200_spl_defconfig
index d1bdbde..6355a9f 100644
--- a/configs/ot1200_spl_defconfig
+++ b/configs/ot1200_spl_defconfig
@@ -12,6 +12,7 @@  CONFIG_SPL_WATCHDOG_SUPPORT=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,MX6Q"
 CONFIG_BOOTDELAY=3
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
diff --git a/configs/parrot_r16_defconfig b/configs/parrot_r16_defconfig
index ffe15e5..242641b 100644
--- a/configs/parrot_r16_defconfig
+++ b/configs/parrot_r16_defconfig
@@ -12,6 +12,7 @@  CONFIG_AXP_GPIO=y
 CONFIG_DEFAULT_DEVICE_TREE="sun8i-r16-parrot"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/pcm051_rev1_defconfig b/configs/pcm051_rev1_defconfig
index bc6e92d..d944e33 100644
--- a/configs/pcm051_rev1_defconfig
+++ b/configs/pcm051_rev1_defconfig
@@ -18,6 +18,7 @@  CONFIG_SYS_EXTRA_OPTIONS="REV1"
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_ETH_SUPPORT=y
 CONFIG_SPL_NET_SUPPORT=y
 CONFIG_SPL_NET_VCI_STRING="pcm051 U-Boot SPL"
diff --git a/configs/pcm051_rev3_defconfig b/configs/pcm051_rev3_defconfig
index acdf192..db0b459 100644
--- a/configs/pcm051_rev3_defconfig
+++ b/configs/pcm051_rev3_defconfig
@@ -18,6 +18,7 @@  CONFIG_SYS_EXTRA_OPTIONS="REV3"
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_ETH_SUPPORT=y
 CONFIG_SPL_NET_SUPPORT=y
 CONFIG_SPL_NET_VCI_STRING="pcm051 U-Boot SPL"
diff --git a/configs/pcm058_defconfig b/configs/pcm058_defconfig
index b2f70ea..bd909ff 100644
--- a/configs/pcm058_defconfig
+++ b/configs/pcm058_defconfig
@@ -17,6 +17,7 @@  CONFIG_FIT=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,MX6Q"
 CONFIG_BOOTDELAY=3
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_DMA_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
diff --git a/configs/pengwyn_defconfig b/configs/pengwyn_defconfig
index 2da2126..4012654 100644
--- a/configs/pengwyn_defconfig
+++ b/configs/pengwyn_defconfig
@@ -18,6 +18,7 @@  CONFIG_SPL_YMODEM_SUPPORT=y
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_ETH_SUPPORT=y
 CONFIG_SPL_MTD_SUPPORT=y
 CONFIG_SPL_NET_SUPPORT=y
diff --git a/configs/pepper_defconfig b/configs/pepper_defconfig
index 0592ed9..6e533b6 100644
--- a/configs/pepper_defconfig
+++ b/configs/pepper_defconfig
@@ -15,6 +15,7 @@  CONFIG_SPL_WATCHDOG_SUPPORT=y
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="pepper# "
 CONFIG_CMD_BOOTZ=y
diff --git a/configs/picosam9g45_defconfig b/configs/picosam9g45_defconfig
index 90cc75e..62217d2 100644
--- a/configs/picosam9g45_defconfig
+++ b/configs/picosam9g45_defconfig
@@ -15,6 +15,7 @@  CONFIG_BOOTDELAY=3
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="U-Boot> "
 # CONFIG_CMD_BDI is not set
diff --git a/configs/platinum_picon_defconfig b/configs/platinum_picon_defconfig
index 71ebc25..c5f66a6 100644
--- a/configs/platinum_picon_defconfig
+++ b/configs/platinum_picon_defconfig
@@ -14,6 +14,7 @@  CONFIG_SPL_WATCHDOG_SUPPORT=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,MX6DL"
 CONFIG_BOOTDELAY=3
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_DMA_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="picon > "
diff --git a/configs/platinum_titanium_defconfig b/configs/platinum_titanium_defconfig
index 51aeff1..af3bb8e 100644
--- a/configs/platinum_titanium_defconfig
+++ b/configs/platinum_titanium_defconfig
@@ -14,6 +14,7 @@  CONFIG_SPL_WATCHDOG_SUPPORT=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,MX6Q"
 CONFIG_BOOTDELAY=3
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_DMA_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="titanium > "
diff --git a/configs/polaroid_mid2407pxe03_defconfig b/configs/polaroid_mid2407pxe03_defconfig
index 2ac6f4c..c04e6c5 100644
--- a/configs/polaroid_mid2407pxe03_defconfig
+++ b/configs/polaroid_mid2407pxe03_defconfig
@@ -17,6 +17,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun8i-a23-polaroid-mid2407pxe03"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=5"
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/polaroid_mid2809pxe04_defconfig b/configs/polaroid_mid2809pxe04_defconfig
index d9bcd4f..d10f1f5 100644
--- a/configs/polaroid_mid2809pxe04_defconfig
+++ b/configs/polaroid_mid2809pxe04_defconfig
@@ -17,6 +17,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun8i-a23-polaroid-mid2809pxe04"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=5"
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/popmetal-rk3288_defconfig b/configs/popmetal-rk3288_defconfig
index ff6a153..941a2f8 100644
--- a/configs/popmetal-rk3288_defconfig
+++ b/configs/popmetal-rk3288_defconfig
@@ -10,6 +10,7 @@  CONFIG_CONSOLE_MUX=y
 # CONFIG_DISPLAY_CPUINFO is not set
 CONFIG_SPL_STACK_R=y
 CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x2000
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
diff --git a/configs/pov_protab2_ips9_defconfig b/configs/pov_protab2_ips9_defconfig
index 8e81e69..786ad53 100644
--- a/configs/pov_protab2_ips9_defconfig
+++ b/configs/pov_protab2_ips9_defconfig
@@ -15,6 +15,7 @@  CONFIG_VIDEO_LCD_PANEL_LVDS=y
 CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-pov-protab2-ips9"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/pxm2_defconfig b/configs/pxm2_defconfig
index b73e426..66fcde0 100644
--- a/configs/pxm2_defconfig
+++ b/configs/pxm2_defconfig
@@ -23,6 +23,7 @@  CONFIG_SYS_CONSOLE_INFO_QUIET=y
 # CONFIG_DISPLAY_CPUINFO is not set
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="U-Boot# "
 CONFIG_AUTOBOOT_KEYED=y
diff --git a/configs/q8_a13_tablet_defconfig b/configs/q8_a13_tablet_defconfig
index 6b516db..a0fc169 100644
--- a/configs/q8_a13_tablet_defconfig
+++ b/configs/q8_a13_tablet_defconfig
@@ -17,6 +17,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun5i-a13-q8-tablet"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=2"
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/q8_a23_tablet_800x480_defconfig b/configs/q8_a23_tablet_800x480_defconfig
index 971dcea..d2c6b06 100644
--- a/configs/q8_a23_tablet_800x480_defconfig
+++ b/configs/q8_a23_tablet_800x480_defconfig
@@ -17,6 +17,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun8i-a23-q8-tablet"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=5"
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/q8_a33_tablet_1024x600_defconfig b/configs/q8_a33_tablet_1024x600_defconfig
index f99e347..c21b3fb 100644
--- a/configs/q8_a33_tablet_1024x600_defconfig
+++ b/configs/q8_a33_tablet_1024x600_defconfig
@@ -17,6 +17,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun8i-a33-q8-tablet"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=5"
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/q8_a33_tablet_800x480_defconfig b/configs/q8_a33_tablet_800x480_defconfig
index 182bd9a..1baecd2 100644
--- a/configs/q8_a33_tablet_800x480_defconfig
+++ b/configs/q8_a33_tablet_800x480_defconfig
@@ -17,6 +17,7 @@  CONFIG_DEFAULT_DEVICE_TREE="sun8i-a33-q8-tablet"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=5"
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/r7-tv-dongle_defconfig b/configs/r7-tv-dongle_defconfig
index afbc9a6..c114e91 100644
--- a/configs/r7-tv-dongle_defconfig
+++ b/configs/r7-tv-dongle_defconfig
@@ -7,6 +7,7 @@  CONFIG_USB1_VBUS_PIN="PG13"
 CONFIG_DEFAULT_DEVICE_TREE="sun5i-a10s-r7-tv-dongle"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/rastaban_defconfig b/configs/rastaban_defconfig
index ab65c14..028252f 100644
--- a/configs/rastaban_defconfig
+++ b/configs/rastaban_defconfig
@@ -19,6 +19,7 @@  CONFIG_BOOTDELAY=3
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="U-Boot# "
 CONFIG_AUTOBOOT_KEYED=y
diff --git a/configs/rock2_defconfig b/configs/rock2_defconfig
index 1883f07..017cd8b 100644
--- a/configs/rock2_defconfig
+++ b/configs/rock2_defconfig
@@ -11,6 +11,7 @@  CONFIG_SILENT_CONSOLE=y
 # CONFIG_DISPLAY_CPUINFO is not set
 CONFIG_SPL_STACK_R=y
 CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x2000
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
diff --git a/configs/rut_defconfig b/configs/rut_defconfig
index ff3c571..edab198 100644
--- a/configs/rut_defconfig
+++ b/configs/rut_defconfig
@@ -23,6 +23,7 @@  CONFIG_SYS_CONSOLE_INFO_QUIET=y
 # CONFIG_DISPLAY_CPUINFO is not set
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="U-Boot# "
 CONFIG_AUTOBOOT_KEYED=y
diff --git a/configs/sama5d2_xplained_mmc_defconfig b/configs/sama5d2_xplained_mmc_defconfig
index 8a786f1..8e1764d 100644
--- a/configs/sama5d2_xplained_mmc_defconfig
+++ b/configs/sama5d2_xplained_mmc_defconfig
@@ -8,14 +8,13 @@  CONFIG_SPL_FAT_SUPPORT=y
 CONFIG_SPL_LIBDISK_SUPPORT=y
 CONFIG_SPL_MMC_SUPPORT=y
 CONFIG_SPL_SERIAL_SUPPORT=y
-CONFIG_DM_GPIO=y
-CONFIG_DM_SERIAL=y
 CONFIG_DEFAULT_DEVICE_TREE="at91-sama5d2_xplained"
 CONFIG_FIT=y
 CONFIG_SYS_EXTRA_OPTIONS="SAMA5D2,SYS_USE_MMC"
 CONFIG_BOOTDELAY=3
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMI is not set
@@ -34,24 +33,24 @@  CONFIG_OF_CONTROL=y
 CONFIG_SPL_OF_CONTROL=y
 CONFIG_DM=y
 CONFIG_SPL_DM=y
-CONFIG_BLK=y
 CONFIG_CLK=y
 CONFIG_SPL_CLK=y
 CONFIG_CLK_AT91=y
 CONFIG_AT91_UTMI=y
 CONFIG_AT91_H32MX=y
 CONFIG_AT91_GENERIC_CLK=y
+CONFIG_DM_GPIO=y
 CONFIG_ATMEL_PIO4=y
 CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_AT91=y
 CONFIG_DM_MMC=y
-CONFIG_DM_MMC_OPS=y
 CONFIG_ATMEL_SDHCI=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_ATMEL=y
 CONFIG_PINCTRL=y
 CONFIG_PINCTRL_AT91PIO4=y
+CONFIG_DM_SERIAL=y
 CONFIG_DEBUG_UART=y
 CONFIG_DEBUG_UART_ATMEL=y
 CONFIG_DEBUG_UART_BASE=0xf8020000
@@ -62,8 +61,8 @@  CONFIG_ATMEL_USART=y
 CONFIG_DM_SPI=y
 CONFIG_ATMEL_SPI=y
 CONFIG_USB=y
-CONFIG_USB_STORAGE=y
 CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
+CONFIG_USB_STORAGE=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_ATMEL_USBA=y
diff --git a/configs/sama5d2_xplained_spiflash_defconfig b/configs/sama5d2_xplained_spiflash_defconfig
index 51594e7..b388b62 100644
--- a/configs/sama5d2_xplained_spiflash_defconfig
+++ b/configs/sama5d2_xplained_spiflash_defconfig
@@ -7,14 +7,13 @@  CONFIG_SPL_LIBGENERIC_SUPPORT=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_SPI_FLASH_SUPPORT=y
 CONFIG_SPL_SPI_SUPPORT=y
-CONFIG_DM_GPIO=y
-CONFIG_DM_SERIAL=y
 CONFIG_DEFAULT_DEVICE_TREE="at91-sama5d2_xplained"
 CONFIG_FIT=y
 CONFIG_SYS_EXTRA_OPTIONS="SAMA5D2,SYS_USE_SERIALFLASH"
 CONFIG_BOOTDELAY=3
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMI is not set
@@ -33,24 +32,24 @@  CONFIG_OF_CONTROL=y
 CONFIG_SPL_OF_CONTROL=y
 CONFIG_DM=y
 CONFIG_SPL_DM=y
-CONFIG_BLK=y
 CONFIG_CLK=y
 CONFIG_SPL_CLK=y
 CONFIG_CLK_AT91=y
 CONFIG_AT91_UTMI=y
 CONFIG_AT91_H32MX=y
 CONFIG_AT91_GENERIC_CLK=y
+CONFIG_DM_GPIO=y
 CONFIG_ATMEL_PIO4=y
 CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_AT91=y
 CONFIG_DM_MMC=y
-CONFIG_DM_MMC_OPS=y
 CONFIG_ATMEL_SDHCI=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_ATMEL=y
 CONFIG_PINCTRL=y
 CONFIG_PINCTRL_AT91PIO4=y
+CONFIG_DM_SERIAL=y
 CONFIG_DEBUG_UART=y
 CONFIG_DEBUG_UART_ATMEL=y
 CONFIG_DEBUG_UART_BASE=0xf8020000
diff --git a/configs/sama5d3_xplained_mmc_defconfig b/configs/sama5d3_xplained_mmc_defconfig
index 4f4e51b..e99feca 100644
--- a/configs/sama5d3_xplained_mmc_defconfig
+++ b/configs/sama5d3_xplained_mmc_defconfig
@@ -13,6 +13,7 @@  CONFIG_SYS_EXTRA_OPTIONS="SAMA5D3,SYS_USE_MMC"
 CONFIG_BOOTDELAY=3
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMI is not set
diff --git a/configs/sama5d3_xplained_nandflash_defconfig b/configs/sama5d3_xplained_nandflash_defconfig
index e83d047..10aaedb 100644
--- a/configs/sama5d3_xplained_nandflash_defconfig
+++ b/configs/sama5d3_xplained_nandflash_defconfig
@@ -11,6 +11,7 @@  CONFIG_SYS_EXTRA_OPTIONS="SAMA5D3,SYS_USE_NANDFLASH"
 CONFIG_BOOTDELAY=3
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMI is not set
diff --git a/configs/sama5d3xek_mmc_defconfig b/configs/sama5d3xek_mmc_defconfig
index ea6d4b9..4abc71e 100644
--- a/configs/sama5d3xek_mmc_defconfig
+++ b/configs/sama5d3xek_mmc_defconfig
@@ -15,6 +15,7 @@  CONFIG_BOOTDELAY=3
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMI is not set
diff --git a/configs/sama5d3xek_nandflash_defconfig b/configs/sama5d3xek_nandflash_defconfig
index f8504cc..a18286f 100644
--- a/configs/sama5d3xek_nandflash_defconfig
+++ b/configs/sama5d3xek_nandflash_defconfig
@@ -13,6 +13,7 @@  CONFIG_BOOTDELAY=3
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMI is not set
diff --git a/configs/sama5d3xek_spiflash_defconfig b/configs/sama5d3xek_spiflash_defconfig
index b5cabaf..bc06666 100644
--- a/configs/sama5d3xek_spiflash_defconfig
+++ b/configs/sama5d3xek_spiflash_defconfig
@@ -14,6 +14,7 @@  CONFIG_BOOTDELAY=3
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMI is not set
diff --git a/configs/sama5d4_xplained_mmc_defconfig b/configs/sama5d4_xplained_mmc_defconfig
index 5ff4688..d144ee2 100644
--- a/configs/sama5d4_xplained_mmc_defconfig
+++ b/configs/sama5d4_xplained_mmc_defconfig
@@ -13,6 +13,7 @@  CONFIG_SYS_EXTRA_OPTIONS="SAMA5D4,SYS_USE_MMC"
 CONFIG_BOOTDELAY=3
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMI is not set
diff --git a/configs/sama5d4_xplained_nandflash_defconfig b/configs/sama5d4_xplained_nandflash_defconfig
index 800a8b2..e4131ec 100644
--- a/configs/sama5d4_xplained_nandflash_defconfig
+++ b/configs/sama5d4_xplained_nandflash_defconfig
@@ -11,6 +11,7 @@  CONFIG_SYS_EXTRA_OPTIONS="SAMA5D4,SYS_USE_NANDFLASH"
 CONFIG_BOOTDELAY=3
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMI is not set
diff --git a/configs/sama5d4_xplained_spiflash_defconfig b/configs/sama5d4_xplained_spiflash_defconfig
index e5d2f54..70567a3 100644
--- a/configs/sama5d4_xplained_spiflash_defconfig
+++ b/configs/sama5d4_xplained_spiflash_defconfig
@@ -12,6 +12,7 @@  CONFIG_SYS_EXTRA_OPTIONS="SAMA5D4,SYS_USE_SERIALFLASH"
 CONFIG_BOOTDELAY=3
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMI is not set
diff --git a/configs/sama5d4ek_mmc_defconfig b/configs/sama5d4ek_mmc_defconfig
index 4899970..8d5429f 100644
--- a/configs/sama5d4ek_mmc_defconfig
+++ b/configs/sama5d4ek_mmc_defconfig
@@ -15,6 +15,7 @@  CONFIG_BOOTDELAY=3
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMI is not set
diff --git a/configs/sama5d4ek_nandflash_defconfig b/configs/sama5d4ek_nandflash_defconfig
index 9ebe295..4e2cb3b 100644
--- a/configs/sama5d4ek_nandflash_defconfig
+++ b/configs/sama5d4ek_nandflash_defconfig
@@ -13,6 +13,7 @@  CONFIG_BOOTDELAY=3
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMI is not set
diff --git a/configs/sama5d4ek_spiflash_defconfig b/configs/sama5d4ek_spiflash_defconfig
index dff8995..f064eda 100644
--- a/configs/sama5d4ek_spiflash_defconfig
+++ b/configs/sama5d4ek_spiflash_defconfig
@@ -14,6 +14,7 @@  CONFIG_BOOTDELAY=3
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMI is not set
diff --git a/configs/socfpga_arria5_defconfig b/configs/socfpga_arria5_defconfig
index d91990c..39270f0 100644
--- a/configs/socfpga_arria5_defconfig
+++ b/configs/socfpga_arria5_defconfig
@@ -13,6 +13,7 @@  CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
 CONFIG_SPL_SYS_MALLOC_SIMPLE=y
 CONFIG_SPL_STACK_R=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
diff --git a/configs/socfpga_cyclone5_defconfig b/configs/socfpga_cyclone5_defconfig
index 905f766..1f61131 100644
--- a/configs/socfpga_cyclone5_defconfig
+++ b/configs/socfpga_cyclone5_defconfig
@@ -13,6 +13,7 @@  CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
 CONFIG_SPL_SYS_MALLOC_SIMPLE=y
 CONFIG_SPL_STACK_R=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
diff --git a/configs/socfpga_de0_nano_soc_defconfig b/configs/socfpga_de0_nano_soc_defconfig
index 7daf81a..d699f5f 100644
--- a/configs/socfpga_de0_nano_soc_defconfig
+++ b/configs/socfpga_de0_nano_soc_defconfig
@@ -13,6 +13,7 @@  CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
 CONFIG_SPL_SYS_MALLOC_SIMPLE=y
 CONFIG_SPL_STACK_R=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
diff --git a/configs/socfpga_is1_defconfig b/configs/socfpga_is1_defconfig
index a0f04d0..7af9d04 100644
--- a/configs/socfpga_is1_defconfig
+++ b/configs/socfpga_is1_defconfig
@@ -12,6 +12,7 @@  CONFIG_VERSION_VARIABLE=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_SPL=y
 CONFIG_SPL_STACK_R=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
diff --git a/configs/socfpga_mcvevk_defconfig b/configs/socfpga_mcvevk_defconfig
index 5a53246..31f7fd5 100644
--- a/configs/socfpga_mcvevk_defconfig
+++ b/configs/socfpga_mcvevk_defconfig
@@ -13,6 +13,7 @@  CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
 CONFIG_SPL_SYS_MALLOC_SIMPLE=y
 CONFIG_SPL_STACK_R=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
diff --git a/configs/socfpga_sockit_defconfig b/configs/socfpga_sockit_defconfig
index 9450d21..5b3c696 100644
--- a/configs/socfpga_sockit_defconfig
+++ b/configs/socfpga_sockit_defconfig
@@ -13,6 +13,7 @@  CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
 CONFIG_SPL_SYS_MALLOC_SIMPLE=y
 CONFIG_SPL_STACK_R=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
diff --git a/configs/socfpga_socrates_defconfig b/configs/socfpga_socrates_defconfig
index 84a8890..69d2235 100644
--- a/configs/socfpga_socrates_defconfig
+++ b/configs/socfpga_socrates_defconfig
@@ -13,6 +13,7 @@  CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
 CONFIG_SPL_SYS_MALLOC_SIMPLE=y
 CONFIG_SPL_STACK_R=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
diff --git a/configs/socfpga_sr1500_defconfig b/configs/socfpga_sr1500_defconfig
index 641dd4d..d93ee0c 100644
--- a/configs/socfpga_sr1500_defconfig
+++ b/configs/socfpga_sr1500_defconfig
@@ -14,6 +14,7 @@  CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
 CONFIG_SPL_SYS_MALLOC_SIMPLE=y
 CONFIG_SPL_STACK_R=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
diff --git a/configs/socfpga_vining_fpga_defconfig b/configs/socfpga_vining_fpga_defconfig
index 608cdf8..b41c4a0 100644
--- a/configs/socfpga_vining_fpga_defconfig
+++ b/configs/socfpga_vining_fpga_defconfig
@@ -14,6 +14,7 @@  CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
 CONFIG_SPL_SYS_MALLOC_SIMPLE=y
 CONFIG_SPL_STACK_R=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
diff --git a/configs/sunxi_Gemei_G9_defconfig b/configs/sunxi_Gemei_G9_defconfig
index 7309022..79d5db4 100644
--- a/configs/sunxi_Gemei_G9_defconfig
+++ b/configs/sunxi_Gemei_G9_defconfig
@@ -12,6 +12,7 @@  CONFIG_VIDEO_LCD_PANEL_LVDS=y
 CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-gemei-g9"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/tao3530_defconfig b/configs/tao3530_defconfig
index 88a3725..fb99112 100644
--- a/configs/tao3530_defconfig
+++ b/configs/tao3530_defconfig
@@ -4,6 +4,7 @@  CONFIG_OMAP34XX=y
 CONFIG_TARGET_TAO3530=y
 CONFIG_BOOTDELAY=3
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="TAO-3530 # "
 # CONFIG_CMD_IMI is not set
diff --git a/configs/thuban_defconfig b/configs/thuban_defconfig
index a9d3e7e..9028dad 100644
--- a/configs/thuban_defconfig
+++ b/configs/thuban_defconfig
@@ -19,6 +19,7 @@  CONFIG_BOOTDELAY=3
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="U-Boot# "
 CONFIG_AUTOBOOT_KEYED=y
diff --git a/configs/ti814x_evm_defconfig b/configs/ti814x_evm_defconfig
index 9d1df81..cccff99 100644
--- a/configs/ti814x_evm_defconfig
+++ b/configs/ti814x_evm_defconfig
@@ -14,6 +14,7 @@  CONFIG_VERSION_VARIABLE=y
 # CONFIG_DISPLAY_CPUINFO is not set
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="U-Boot# "
 # CONFIG_CMD_IMLS is not set
diff --git a/configs/ti816x_evm_defconfig b/configs/ti816x_evm_defconfig
index e3a9f03..2af915a 100644
--- a/configs/ti816x_evm_defconfig
+++ b/configs/ti816x_evm_defconfig
@@ -13,6 +13,7 @@  CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="u-boot/ti816x# "
 # CONFIG_CMD_IMLS is not set
diff --git a/configs/tricorder_defconfig b/configs/tricorder_defconfig
index 5bf0c9a..76e7980 100644
--- a/configs/tricorder_defconfig
+++ b/configs/tricorder_defconfig
@@ -4,6 +4,7 @@  CONFIG_TARGET_TRICORDER=y
 CONFIG_BOOTDELAY=0
 CONFIG_SILENT_CONSOLE=y
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="OMAP3 Tricorder # "
 # CONFIG_CMD_IMI is not set
diff --git a/configs/tricorder_flash_defconfig b/configs/tricorder_flash_defconfig
index 68d8fb6..0c846ef 100644
--- a/configs/tricorder_flash_defconfig
+++ b/configs/tricorder_flash_defconfig
@@ -5,6 +5,7 @@  CONFIG_SYS_EXTRA_OPTIONS="FLASHCARD"
 CONFIG_BOOTDELAY=0
 CONFIG_SILENT_CONSOLE=y
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_IMI is not set
 # CONFIG_CMD_IMLS is not set
diff --git a/configs/twister_defconfig b/configs/twister_defconfig
index c92bfc8..d022754 100644
--- a/configs/twister_defconfig
+++ b/configs/twister_defconfig
@@ -5,6 +5,7 @@  CONFIG_TARGET_TWISTER=y
 CONFIG_FIT=y
 CONFIG_BOOTDELAY=10
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="twister => "
diff --git a/configs/udoo_defconfig b/configs/udoo_defconfig
index a4a17c1..e2bf66d 100644
--- a/configs/udoo_defconfig
+++ b/configs/udoo_defconfig
@@ -13,6 +13,7 @@  CONFIG_SPL_WATCHDOG_SUPPORT=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,MX6QDL"
 CONFIG_BOOTDELAY=3
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
diff --git a/configs/uniphier_ld11_defconfig b/configs/uniphier_ld11_defconfig
index c0ac5ac..c398043 100644
--- a/configs/uniphier_ld11_defconfig
+++ b/configs/uniphier_ld11_defconfig
@@ -6,6 +6,7 @@  CONFIG_ARCH_UNIPHIER_LD11=y
 CONFIG_MICRO_SUPPORT_CARD=y
 CONFIG_SYS_TEXT_BASE=0x84000000
 CONFIG_DEFAULT_DEVICE_TREE="uniphier-ld11-ref"
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_NOR_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_XIMG is not set
diff --git a/configs/uniphier_ld20_defconfig b/configs/uniphier_ld20_defconfig
index 3e802d3..7fbd827 100644
--- a/configs/uniphier_ld20_defconfig
+++ b/configs/uniphier_ld20_defconfig
@@ -6,6 +6,7 @@  CONFIG_ARCH_UNIPHIER_LD20=y
 CONFIG_MICRO_SUPPORT_CARD=y
 CONFIG_SYS_TEXT_BASE=0x84000000
 CONFIG_DEFAULT_DEVICE_TREE="uniphier-ld20-ref"
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_NOR_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_XIMG is not set
diff --git a/configs/uniphier_ld4_sld8_defconfig b/configs/uniphier_ld4_sld8_defconfig
index b141561..bf394a9 100644
--- a/configs/uniphier_ld4_sld8_defconfig
+++ b/configs/uniphier_ld4_sld8_defconfig
@@ -8,6 +8,7 @@  CONFIG_ARCH_UNIPHIER_LD4_SLD8=y
 CONFIG_MICRO_SUPPORT_CARD=y
 CONFIG_SYS_TEXT_BASE=0x84000000
 CONFIG_DEFAULT_DEVICE_TREE="uniphier-ld4-ref"
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_NOR_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
diff --git a/configs/uniphier_pro4_defconfig b/configs/uniphier_pro4_defconfig
index f71ef56..d7819a1 100644
--- a/configs/uniphier_pro4_defconfig
+++ b/configs/uniphier_pro4_defconfig
@@ -7,6 +7,7 @@  CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_MICRO_SUPPORT_CARD=y
 CONFIG_SYS_TEXT_BASE=0x84000000
 CONFIG_DEFAULT_DEVICE_TREE="uniphier-pro4-ref"
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_NOR_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
diff --git a/configs/uniphier_pxs2_ld6b_defconfig b/configs/uniphier_pxs2_ld6b_defconfig
index ba3867f..1763848 100644
--- a/configs/uniphier_pxs2_ld6b_defconfig
+++ b/configs/uniphier_pxs2_ld6b_defconfig
@@ -8,6 +8,7 @@  CONFIG_ARCH_UNIPHIER_PRO5_PXS2_LD6B=y
 CONFIG_MICRO_SUPPORT_CARD=y
 CONFIG_SYS_TEXT_BASE=0x84000000
 CONFIG_DEFAULT_DEVICE_TREE="uniphier-pxs2-vodka"
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_NOR_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
diff --git a/configs/uniphier_sld3_defconfig b/configs/uniphier_sld3_defconfig
index 3568f7a..28b3f23 100644
--- a/configs/uniphier_sld3_defconfig
+++ b/configs/uniphier_sld3_defconfig
@@ -8,6 +8,7 @@  CONFIG_ARCH_UNIPHIER_SLD3=y
 CONFIG_MICRO_SUPPORT_CARD=y
 CONFIG_SYS_TEXT_BASE=0x84000000
 CONFIG_DEFAULT_DEVICE_TREE="uniphier-sld3-ref"
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_NOR_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
diff --git a/configs/wandboard_defconfig b/configs/wandboard_defconfig
index d338ffc..5e24e0e 100644
--- a/configs/wandboard_defconfig
+++ b/configs/wandboard_defconfig
@@ -16,6 +16,7 @@  CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,MX6QDL"
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
diff --git a/configs/woodburn_sd_defconfig b/configs/woodburn_sd_defconfig
index 01aae3b..d0109e1 100644
--- a/configs/woodburn_sd_defconfig
+++ b/configs/woodburn_sd_defconfig
@@ -10,6 +10,7 @@  CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/woodburn/imximage.cfg"
 CONFIG_BOOTDELAY=3
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="woodburn U-Boot > "
 CONFIG_CMD_MMC=y
diff --git a/configs/xpress_spl_defconfig b/configs/xpress_spl_defconfig
index 2089a47..2c08197 100644
--- a/configs/xpress_spl_defconfig
+++ b/configs/xpress_spl_defconfig
@@ -14,6 +14,7 @@  CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg"
 CONFIG_BOOTDELAY=3
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
diff --git a/configs/zc5202_defconfig b/configs/zc5202_defconfig
index 65d10fd..86aeffd 100644
--- a/configs/zc5202_defconfig
+++ b/configs/zc5202_defconfig
@@ -13,9 +13,10 @@  CONFIG_SPL_SPI_FLASH_SUPPORT=y
 CONFIG_SPL_SPI_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,MX6Q"
-CONFIG_DEFAULT_FDT_FILE="imx6q-zc5202.dtb"
 CONFIG_BOOTDELAY=3
+CONFIG_DEFAULT_FDT_FILE="imx6q-zc5202.dtb"
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
diff --git a/configs/zc5601_defconfig b/configs/zc5601_defconfig
index a539e58..0076092 100644
--- a/configs/zc5601_defconfig
+++ b/configs/zc5601_defconfig
@@ -13,9 +13,10 @@  CONFIG_SPL_SPI_FLASH_SUPPORT=y
 CONFIG_SPL_SPI_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,MX6Q"
-CONFIG_DEFAULT_FDT_FILE="imx6q-zc5601.dtb"
 CONFIG_BOOTDELAY=3
+CONFIG_DEFAULT_FDT_FILE="imx6q-zc5601.dtb"
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
diff --git a/configs/zynq_microzed_defconfig b/configs/zynq_microzed_defconfig
index 16d26c0..30c4b2c 100644
--- a/configs/zynq_microzed_defconfig
+++ b/configs/zynq_microzed_defconfig
@@ -7,6 +7,7 @@  CONFIG_FIT_SIGNATURE=y
 CONFIG_SYS_NO_FLASH=y
 # CONFIG_DISPLAY_CPUINFO is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
diff --git a/configs/zynq_picozed_defconfig b/configs/zynq_picozed_defconfig
index 3ba6b66..2190ecd 100644
--- a/configs/zynq_picozed_defconfig
+++ b/configs/zynq_picozed_defconfig
@@ -4,6 +4,7 @@  CONFIG_DEFAULT_DEVICE_TREE="zynq-picozed"
 CONFIG_SYS_NO_FLASH=y
 # CONFIG_DISPLAY_CPUINFO is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
diff --git a/configs/zynq_zc702_defconfig b/configs/zynq_zc702_defconfig
index 117bfda..05c8489 100644
--- a/configs/zynq_zc702_defconfig
+++ b/configs/zynq_zc702_defconfig
@@ -8,6 +8,7 @@  CONFIG_FIT_SIGNATURE=y
 CONFIG_SYS_NO_FLASH=y
 # CONFIG_DISPLAY_CPUINFO is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
diff --git a/configs/zynq_zc706_defconfig b/configs/zynq_zc706_defconfig
index ef73849..5bdb199 100644
--- a/configs/zynq_zc706_defconfig
+++ b/configs/zynq_zc706_defconfig
@@ -8,6 +8,7 @@  CONFIG_FIT_SIGNATURE=y
 CONFIG_SYS_NO_FLASH=y
 # CONFIG_DISPLAY_CPUINFO is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
diff --git a/configs/zynq_zc770_xm010_defconfig b/configs/zynq_zc770_xm010_defconfig
index 1419efa..8e00717 100644
--- a/configs/zynq_zc770_xm010_defconfig
+++ b/configs/zynq_zc770_xm010_defconfig
@@ -8,6 +8,7 @@  CONFIG_SYS_EXTRA_OPTIONS="ZC770_XM010"
 CONFIG_SYS_NO_FLASH=y
 # CONFIG_DISPLAY_CPUINFO is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
diff --git a/configs/zynq_zc770_xm011_defconfig b/configs/zynq_zc770_xm011_defconfig
index 56c2851..8185640 100644
--- a/configs/zynq_zc770_xm011_defconfig
+++ b/configs/zynq_zc770_xm011_defconfig
@@ -8,6 +8,7 @@  CONFIG_SYS_EXTRA_OPTIONS="ZC770_XM011"
 CONFIG_SYS_NO_FLASH=y
 # CONFIG_DISPLAY_CPUINFO is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
diff --git a/configs/zynq_zc770_xm012_defconfig b/configs/zynq_zc770_xm012_defconfig
index d3116e1..d3e1df4 100644
--- a/configs/zynq_zc770_xm012_defconfig
+++ b/configs/zynq_zc770_xm012_defconfig
@@ -7,6 +7,7 @@  CONFIG_FIT_SIGNATURE=y
 CONFIG_SYS_EXTRA_OPTIONS="ZC770_XM012"
 # CONFIG_DISPLAY_CPUINFO is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
diff --git a/configs/zynq_zc770_xm013_defconfig b/configs/zynq_zc770_xm013_defconfig
index add038c..be75e09 100644
--- a/configs/zynq_zc770_xm013_defconfig
+++ b/configs/zynq_zc770_xm013_defconfig
@@ -8,6 +8,7 @@  CONFIG_SYS_EXTRA_OPTIONS="ZC770_XM013"
 CONFIG_SYS_NO_FLASH=y
 # CONFIG_DISPLAY_CPUINFO is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
diff --git a/configs/zynq_zed_defconfig b/configs/zynq_zed_defconfig
index 96f00e4..7450745 100644
--- a/configs/zynq_zed_defconfig
+++ b/configs/zynq_zed_defconfig
@@ -7,6 +7,7 @@  CONFIG_FIT_SIGNATURE=y
 CONFIG_SYS_NO_FLASH=y
 # CONFIG_DISPLAY_CPUINFO is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
diff --git a/configs/zynq_zybo_defconfig b/configs/zynq_zybo_defconfig
index dfac764..da67dc3 100644
--- a/configs/zynq_zybo_defconfig
+++ b/configs/zynq_zybo_defconfig
@@ -8,6 +8,7 @@  CONFIG_FIT_SIGNATURE=y
 CONFIG_SYS_NO_FLASH=y
 # CONFIG_DISPLAY_CPUINFO is not set
 CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
diff --git a/include/configs/am3517_crane.h b/include/configs/am3517_crane.h
index 6d27110..943ab3a 100644
--- a/include/configs/am3517_crane.h
+++ b/include/configs/am3517_crane.h
@@ -275,7 +275,6 @@ 
 #define CONFIG_SPL_BSS_START_ADDR	0x80000000
 #define CONFIG_SPL_BSS_MAX_SIZE		0x80000		/* 512 KB */
 
-#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR	0x300 /* address 0x60000 */
 #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS	0x200 /* 256 KB */
 #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION	1
 #define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME	"u-boot.img"
diff --git a/include/configs/am3517_evm.h b/include/configs/am3517_evm.h
index cc89a16..deb1bab 100644
--- a/include/configs/am3517_evm.h
+++ b/include/configs/am3517_evm.h
@@ -335,7 +335,6 @@ 
 #define CONFIG_SPL_BSS_START_ADDR	0x80000000
 #define CONFIG_SPL_BSS_MAX_SIZE		0x80000		/* 512 KB */
 
-#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR	0x300 /* address 0x60000 */
 #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS	0x200 /* 256 KB */
 #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION	1
 #define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME		"u-boot.img"
diff --git a/include/configs/at91sam9m10g45ek.h b/include/configs/at91sam9m10g45ek.h
index 5e37e2a..cb066ac 100644
--- a/include/configs/at91sam9m10g45ek.h
+++ b/include/configs/at91sam9m10g45ek.h
@@ -194,7 +194,6 @@ 
 
 #define CONFIG_SPL_LDSCRIPT		arch/arm/mach-at91/arm926ejs/u-boot-spl.lds
 #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS	0x400
-#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 0x200
 #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION	1
 #define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME		"u-boot.img"
 
diff --git a/include/configs/at91sam9n12ek.h b/include/configs/at91sam9n12ek.h
index 7fddf4f..faa232c 100644
--- a/include/configs/at91sam9n12ek.h
+++ b/include/configs/at91sam9n12ek.h
@@ -238,7 +238,6 @@ 
 #ifdef CONFIG_SYS_USE_MMC
 #define CONFIG_SPL_LDSCRIPT		arch/arm/mach-at91/arm926ejs/u-boot-spl.lds
 #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS	0x400
-#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 0x200
 #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION	1
 #define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME		"u-boot.img"
 
diff --git a/include/configs/at91sam9x5ek.h b/include/configs/at91sam9x5ek.h
index db9bdef..efdf88d 100644
--- a/include/configs/at91sam9x5ek.h
+++ b/include/configs/at91sam9x5ek.h
@@ -237,7 +237,6 @@ 
 #ifdef CONFIG_SYS_USE_MMC
 #define CONFIG_SPL_LDSCRIPT		arch/arm/mach-at91/arm926ejs/u-boot-spl.lds
 #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS	0x400
-#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 0x200
 #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION	1
 #define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME		"u-boot.img"
 
diff --git a/include/configs/brppt1.h b/include/configs/brppt1.h
index 0e13864..724343e 100644
--- a/include/configs/brppt1.h
+++ b/include/configs/brppt1.h
@@ -53,7 +53,6 @@ 
  #define CONFIG_OMAP_HSMMC
  #define CONFIG_SUPPORT_EMMC_BOOT
 /* RAW SD card / eMMC locations. */
- #define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR	0x300 /*addr. 0x60000 */
  #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS		0x200 /* 256 KB */
 #endif /* CONFIG_EMMC_BOOT */
 
diff --git a/include/configs/brxre1.h b/include/configs/brxre1.h
index b9f69be..d3ce692 100644
--- a/include/configs/brxre1.h
+++ b/include/configs/brxre1.h
@@ -48,7 +48,6 @@ 
 #define CONFIG_OMAP_HSMMC
 #define CONFIG_SUPPORT_EMMC_BOOT
 /* RAW SD card / eMMC locations. */
-#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR	0x300 /*addr. 0x60000 */
 #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS		0x200 /* 256 KB */
 
 /* Always 64 KiB env size */
diff --git a/include/configs/clearfog.h b/include/configs/clearfog.h
index a8cda40..bf123bb 100644
--- a/include/configs/clearfog.h
+++ b/include/configs/clearfog.h
@@ -131,8 +131,6 @@ 
 /* SPL related MMC defines */
 #define CONFIG_SYS_MMC_U_BOOT_OFFS		(160 << 10)
 #define CONFIG_SYS_U_BOOT_OFFS			CONFIG_SYS_MMC_U_BOOT_OFFS
-#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR	((CONFIG_SYS_U_BOOT_OFFS / 512)\
-						 + 1)
 #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS	((512 << 10) / 512) /* 512KiB */
 #ifdef CONFIG_SPL_BUILD
 #define CONFIG_FIXED_SDHCI_ALIGNED_BUFFER	0x00180000	/* in SDRAM */
diff --git a/include/configs/cm_fx6.h b/include/configs/cm_fx6.h
index 0ac3ec7..c47d1fb 100644
--- a/include/configs/cm_fx6.h
+++ b/include/configs/cm_fx6.h
@@ -245,8 +245,6 @@ 
 
 /* SPL */
 #include "imx6_spl.h"
-#undef CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR
-#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR	0x80 /* offset 64 kb */
 #define CONFIG_SYS_SPI_U_BOOT_OFFS	(64 * 1024)
 #define CONFIG_SPL_SPI_LOAD
 
diff --git a/include/configs/cm_t35.h b/include/configs/cm_t35.h
index 6caac1d..6672775 100644
--- a/include/configs/cm_t35.h
+++ b/include/configs/cm_t35.h
@@ -292,7 +292,6 @@ 
 #define CONFIG_SPL_FRAMEWORK
 #define CONFIG_SPL_NAND_SIMPLE
 
-#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR	0x300 /* address 0x60000 */
 #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS	0x200 /* 256 KB */
 #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION	1
 #define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME	"u-boot.img"
diff --git a/include/configs/cm_t43.h b/include/configs/cm_t43.h
index 3a605f7..5ec4926 100644
--- a/include/configs/cm_t43.h
+++ b/include/configs/cm_t43.h
@@ -91,7 +91,6 @@ 
 
 #include <configs/ti_armv7_omap.h>
 #undef CONFIG_SYS_MONITOR_LEN
-#undef CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR
 
 #define CONFIG_ENV_SIZE			(16 * 1024)
 #define CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
@@ -152,7 +151,6 @@ 
 #define CONFIG_SYS_SPL_ARGS_ADDR	(CONFIG_SYS_SDRAM_BASE + (128 << 20))
 #define CONFIG_SYS_SPI_U_BOOT_OFFS	(256 * 1024)
 #define CONFIG_SYS_MONITOR_LEN		(512 * 1024)
-#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR	0x480
 #define CONFIG_SPL_SPI_LOAD
 
 /* EEPROM */
diff --git a/include/configs/cm_t54.h b/include/configs/cm_t54.h
index a3b1e5f..abca5be 100644
--- a/include/configs/cm_t54.h
+++ b/include/configs/cm_t54.h
@@ -31,10 +31,8 @@ 
 #define CONFIG_BAUDRATE			115200
 
 /* SD/MMC RAW boot */
-#undef CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR
 #undef CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS
 
-#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR	0x200 /* 0x40000 - 256 KB */
 #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS	0x300 /* 384 KB */
 
 /* MMC ENV related defines */
diff --git a/include/configs/da850evm.h b/include/configs/da850evm.h
index 2403ca3..3560115 100644
--- a/include/configs/da850evm.h
+++ b/include/configs/da850evm.h
@@ -346,7 +346,6 @@ 
 
 /* Load U-Boot Image From MMC */
 #ifdef CONFIG_SPL_MMC_LOAD
-#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR	0x75
 #undef CONFIG_SPL_SPI_LOAD
 #endif
 
diff --git a/include/configs/db-88f6820-gp.h b/include/configs/db-88f6820-gp.h
index 72c38e2..70c5e6a 100644
--- a/include/configs/db-88f6820-gp.h
+++ b/include/configs/db-88f6820-gp.h
@@ -133,7 +133,6 @@ 
 #define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION 1
 #define CONFIG_SYS_MMC_U_BOOT_OFFS		(160 << 10)
 #define CONFIG_SYS_U_BOOT_OFFS			CONFIG_SYS_MMC_U_BOOT_OFFS
-#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR	(CONFIG_SYS_U_BOOT_OFFS / 512)
 #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS	((512 << 10) / 512) /* 512KiB */
 #ifdef CONFIG_SPL_BUILD
 #define CONFIG_FIXED_SDHCI_ALIGNED_BUFFER	0x00180000	/* in SDRAM */
diff --git a/include/configs/imx6_spl.h b/include/configs/imx6_spl.h
index 76d1ca0..be31d1a 100644
--- a/include/configs/imx6_spl.h
+++ b/include/configs/imx6_spl.h
@@ -37,7 +37,6 @@ 
 
 /* MMC support */
 #if defined(CONFIG_SPL_MMC_SUPPORT)
-#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR	138 /* offset 69KB */
 #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS	800 /* 400 KB */
 #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION	1
 #define CONFIG_SYS_MONITOR_LEN  (CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS/2*1024)
diff --git a/include/configs/ls1021aqds.h b/include/configs/ls1021aqds.h
index 53f0368..fdef29b 100644
--- a/include/configs/ls1021aqds.h
+++ b/include/configs/ls1021aqds.h
@@ -61,7 +61,6 @@  unsigned long get_board_ddr_clk(void);
 #endif
 #define CONFIG_SPL_FRAMEWORK
 #define CONFIG_SPL_LDSCRIPT	"arch/$(ARCH)/cpu/u-boot-spl.lds"
-#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR		0xe8
 #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS		0x600
 
 #define CONFIG_SPL_TEXT_BASE		0x10000000
diff --git a/include/configs/ls1021atwr.h b/include/configs/ls1021atwr.h
index 4a579b1..3cc97cd 100644
--- a/include/configs/ls1021atwr.h
+++ b/include/configs/ls1021atwr.h
@@ -106,7 +106,6 @@ 
 #endif
 #define CONFIG_SPL_FRAMEWORK
 #define CONFIG_SPL_LDSCRIPT	"arch/$(ARCH)/cpu/u-boot-spl.lds"
-#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR		0xe8
 
 #ifdef CONFIG_SECURE_BOOT
 #define CONFIG_U_BOOT_HDR_SIZE				(16 << 10)
diff --git a/include/configs/ls1043a_common.h b/include/configs/ls1043a_common.h
index 64682b1..06c2974 100644
--- a/include/configs/ls1043a_common.h
+++ b/include/configs/ls1043a_common.h
@@ -52,7 +52,6 @@ 
 #define CONFIG_SPL_FRAMEWORK
 #define CONFIG_SPL_LDSCRIPT		"arch/arm/cpu/armv8/u-boot-spl.lds"
 #define CONFIG_SPL_TARGET		"u-boot-with-spl.bin"
-#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR		0xf0
 #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS		0x500
 
 #define CONFIG_SPL_TEXT_BASE		0x10000000
diff --git a/include/configs/ls1046a_common.h b/include/configs/ls1046a_common.h
index c4bbd56..df482e2 100644
--- a/include/configs/ls1046a_common.h
+++ b/include/configs/ls1046a_common.h
@@ -61,7 +61,6 @@ 
 #define CONFIG_SPL_DRIVERS_MISC_SUPPORT
 
 #define CONFIG_SPL_MMC_SUPPORT
-#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR		0x110
 #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS		0x500
 #define CONFIG_SPL_TEXT_BASE		0x10000000
 #define CONFIG_SPL_MAX_SIZE		0x1f000		/* 124 KiB */
diff --git a/include/configs/mcx.h b/include/configs/mcx.h
index b9a2ad3..7db9e5a 100644
--- a/include/configs/mcx.h
+++ b/include/configs/mcx.h
@@ -328,7 +328,6 @@ 
 #define CONFIG_SPL_BSS_START_ADDR	0x8f080000 /* end of RAM */
 #define CONFIG_SPL_BSS_MAX_SIZE		0x80000
 
-#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR	0x300 /* address 0x60000 */
 #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION	1
 #define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME	"u-boot.img"
 
diff --git a/include/configs/omap3_evm.h b/include/configs/omap3_evm.h
index b2a8412..16f897d 100644
--- a/include/configs/omap3_evm.h
+++ b/include/configs/omap3_evm.h
@@ -52,7 +52,6 @@ 
 #define CONFIG_OMAP_HSMMC
 
 /* SPL */
-#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR	0x300 /* address 0x60000 */
 #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS	0x200 /* 256 KB */
 #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION	1
 #define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME	"u-boot.img"
diff --git a/include/configs/picosam9g45.h b/include/configs/picosam9g45.h
index 64db0da..36fe94d 100644
--- a/include/configs/picosam9g45.h
+++ b/include/configs/picosam9g45.h
@@ -171,7 +171,6 @@ 
 
 #define CONFIG_SPL_LDSCRIPT	arch/arm/mach-at91/arm926ejs/u-boot-spl.lds
 #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS	0x400
-#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 0x200
 #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION	1
 #define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME		"u-boot.img"
 
diff --git a/include/configs/rk3288_common.h b/include/configs/rk3288_common.h
index cf6f355..d23ca50 100644
--- a/include/configs/rk3288_common.h
+++ b/include/configs/rk3288_common.h
@@ -49,7 +49,6 @@ 
 #define CONFIG_CMD_PART
 
 /* RAW SD card / eMMC locations. */
-#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR	256
 #define CONFIG_SYS_SPI_U_BOOT_OFFS	(128 << 10)
 
 /* FAT sd card locations. */
diff --git a/include/configs/rk3399_common.h b/include/configs/rk3399_common.h
index bec004a..68f429d 100644
--- a/include/configs/rk3399_common.h
+++ b/include/configs/rk3399_common.h
@@ -39,7 +39,6 @@ 
 #define CONFIG_CMD_PART
 
 /* RAW SD card / eMMC locations. */
-#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR	256
 #define CONFIG_SYS_SPI_U_BOOT_OFFS	(128 << 10)
 
 /* FAT sd card locations. */
diff --git a/include/configs/sama5d2_xplained.h b/include/configs/sama5d2_xplained.h
index f694645..55ec917 100644
--- a/include/configs/sama5d2_xplained.h
+++ b/include/configs/sama5d2_xplained.h
@@ -112,7 +112,6 @@ 
 #ifdef CONFIG_SYS_USE_MMC
 #define CONFIG_SPL_LDSCRIPT		arch/arm/mach-at91/armv7/u-boot-spl.lds
 #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS	0x400
-#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 0x200
 #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION	1
 #define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME		"u-boot.img"
 
diff --git a/include/configs/sama5d3_xplained.h b/include/configs/sama5d3_xplained.h
index 5e661741..c72fc53 100644
--- a/include/configs/sama5d3_xplained.h
+++ b/include/configs/sama5d3_xplained.h
@@ -129,7 +129,6 @@ 
 #ifdef CONFIG_SYS_USE_MMC
 #define CONFIG_SPL_LDSCRIPT		arch/arm/mach-at91/armv7/u-boot-spl.lds
 #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS	0x400
-#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 0x200
 #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION	1
 #define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME	"u-boot.img"
 
diff --git a/include/configs/sama5d3xek.h b/include/configs/sama5d3xek.h
index 1b053a6..f9ca914 100644
--- a/include/configs/sama5d3xek.h
+++ b/include/configs/sama5d3xek.h
@@ -168,7 +168,6 @@ 
 #ifdef CONFIG_SYS_USE_MMC
 #define CONFIG_SPL_LDSCRIPT		arch/arm/mach-at91/armv7/u-boot-spl.lds
 #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS	0x400
-#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 0x200
 #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION	1
 #define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME	"u-boot.img"
 
diff --git a/include/configs/sama5d4_xplained.h b/include/configs/sama5d4_xplained.h
index 249e661..0ae858d 100644
--- a/include/configs/sama5d4_xplained.h
+++ b/include/configs/sama5d4_xplained.h
@@ -128,7 +128,6 @@ 
 #ifdef CONFIG_SYS_USE_MMC
 #define CONFIG_SPL_LDSCRIPT		arch/arm/mach-at91/armv7/u-boot-spl.lds
 #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS	0x400
-#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 0x200
 #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION	1
 #define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME		"u-boot.img"
 
diff --git a/include/configs/sama5d4ek.h b/include/configs/sama5d4ek.h
index 00ed400..5588a18 100644
--- a/include/configs/sama5d4ek.h
+++ b/include/configs/sama5d4ek.h
@@ -126,7 +126,6 @@ 
 #ifdef CONFIG_SYS_USE_MMC
 #define CONFIG_SPL_LDSCRIPT		arch/arm/mach-at91/armv7/u-boot-spl.lds
 #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS	0x400
-#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 0x200
 #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION	1
 #define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME		"u-boot.img"
 
diff --git a/include/configs/siemens-am33x-common.h b/include/configs/siemens-am33x-common.h
index 7de3cf6..31fcc94 100644
--- a/include/configs/siemens-am33x-common.h
+++ b/include/configs/siemens-am33x-common.h
@@ -129,7 +129,6 @@ 
 #define CONFIG_SPL_BSS_START_ADDR	0x80000000
 #define CONFIG_SPL_BSS_MAX_SIZE		0x80000		/* 512 KB */
 
-#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR	0x300 /* address 0x60000 */
 #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION	1
 #define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME	"u-boot.img"
 #define CONFIG_FS_FAT
diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h
index d37e595..58a6550 100644
--- a/include/configs/socfpga_common.h
+++ b/include/configs/socfpga_common.h
@@ -320,7 +320,6 @@  unsigned int cm_get_qspi_controller_clk_hz(void);
 #define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME		"u-boot-dtb.img"
 #else
 #define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION	1
-#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR	0x200 /* offset 512 sect (256k) */
 #endif
 #endif
 
diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h
index 8363414..2e02f8c 100644
--- a/include/configs/sunxi-common.h
+++ b/include/configs/sunxi-common.h
@@ -199,7 +199,6 @@ 
 #define CONFIG_SPL_LDSCRIPT "arch/arm/cpu/armv7/sunxi/u-boot-spl.lds"
 #endif
 
-#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR	80	/* 40KiB */
 #define CONFIG_SPL_PAD_TO		32768		/* decimal for 'dd' */
 
 #if defined(CONFIG_MACH_SUN9I) || defined(CONFIG_MACH_SUN50I)
diff --git a/include/configs/tam3517-common.h b/include/configs/tam3517-common.h
index 1527d90..098c9bc 100644
--- a/include/configs/tam3517-common.h
+++ b/include/configs/tam3517-common.h
@@ -210,7 +210,6 @@ 
 #define CONFIG_SPL_BSS_START_ADDR	0x8f080000 /* end of RAM */
 #define CONFIG_SPL_BSS_MAX_SIZE		0x80000
 
-#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR	0x300 /* address 0x60000 */
 #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION	1
 #define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME		"u-boot.img"
 
diff --git a/include/configs/tao3530.h b/include/configs/tao3530.h
index 9e85b1d..6a169b0 100644
--- a/include/configs/tao3530.h
+++ b/include/configs/tao3530.h
@@ -276,7 +276,6 @@ 
 #define CONFIG_SPL_FRAMEWORK
 #define CONFIG_SPL_NAND_SIMPLE
 
-#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR	0x300 /* address 0x60000 */
 #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS	0x200 /* 256 KB */
 #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION	1
 #define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME	"u-boot.img"
diff --git a/include/configs/ti814x_evm.h b/include/configs/ti814x_evm.h
index e7f4fba..5cfed0d 100644
--- a/include/configs/ti814x_evm.h
+++ b/include/configs/ti814x_evm.h
@@ -161,7 +161,6 @@ 
 #define CONFIG_SPL_BSS_START_ADDR	0x80000000
 #define CONFIG_SPL_BSS_MAX_SIZE		0x80000		/* 512 KB */
 
-#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 0x300 /* address 0x60000 */
 #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS      0x200 /* 256 KB */
 #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION     1
 #define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME        "u-boot.img"
diff --git a/include/configs/ti816x_evm.h b/include/configs/ti816x_evm.h
index 390c5ae..0a459fb 100644
--- a/include/configs/ti816x_evm.h
+++ b/include/configs/ti816x_evm.h
@@ -125,7 +125,6 @@ 
 #define CONFIG_SPL_BSS_START_ADDR   0x80000000
 #define CONFIG_SPL_BSS_MAX_SIZE     0x80000     /* 512 KB */
 
-#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 0x300 /* address 0x60000 */
 #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS      0x200 /* 256 KB */
 #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION     1
 #define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME        "u-boot.img"
diff --git a/include/configs/ti_armv7_common.h b/include/configs/ti_armv7_common.h
index 0d74c50..03496c7 100644
--- a/include/configs/ti_armv7_common.h
+++ b/include/configs/ti_armv7_common.h
@@ -236,7 +236,6 @@ 
 
 
 /* RAW SD card / eMMC locations. */
-#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR	0x300 /* address 0x60000 */
 #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS	0x200 /* 256 KB */
 
 /* FAT sd card locations. */
diff --git a/include/configs/tricorder.h b/include/configs/tricorder.h
index 6cd3ca5..fbef1f0 100644
--- a/include/configs/tricorder.h
+++ b/include/configs/tricorder.h
@@ -318,7 +318,6 @@ 
 #define CONFIG_SPL_LDSCRIPT		"$(CPUDIR)/omap-common/u-boot-spl.lds"
 #define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME        "u-boot.img"
 #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION     1
-#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 0x300 /* address 0x60000 */
 
 #define CONFIG_SPL_TEXT_BASE		0x40200000 /*CONFIG_SYS_SRAM_START*/
 #define CONFIG_SPL_MAX_SIZE		(SRAM_SCRATCH_SPACE_ADDR - \
diff --git a/include/configs/uniphier.h b/include/configs/uniphier.h
index 5be46e5..f9c9f82 100644
--- a/include/configs/uniphier.h
+++ b/include/configs/uniphier.h
@@ -280,7 +280,6 @@ 
 
 /* subtract sizeof(struct image_header) */
 #define CONFIG_SYS_UBOOT_BASE			(0x60000 - 0x40)
-#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR	0x80
 
 #define CONFIG_SPL_TARGET			"u-boot-with-spl.bin"
 #define CONFIG_SPL_MAX_FOOTPRINT		0x10000
diff --git a/include/configs/woodburn_sd.h b/include/configs/woodburn_sd.h
index 5a04b99..4c509df 100644
--- a/include/configs/woodburn_sd.h
+++ b/include/configs/woodburn_sd.h
@@ -23,7 +23,6 @@ 
 #define CONFIG_SPL_FRAMEWORK
 #define	CONFIG_SPL_LDSCRIPT	"arch/arm/cpu/arm1136/u-boot-spl.lds"
 #define CONFIG_SPL_BOARD_INIT
-#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR	0x100 /* address 0x60000 */
 #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS	0x400 /* 512 KB */
 
 #define CONFIG_SPL_TEXT_BASE		0x10002300
diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h
index 4f0253c..fd86304 100644
--- a/include/configs/zynq-common.h
+++ b/include/configs/zynq-common.h
@@ -296,7 +296,6 @@ 
 
 /* MMC support */
 #ifdef CONFIG_ZYNQ_SDHCI
-#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 0x300 /* address 0x60000 */
 #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS      0x200 /* 256 KB */
 #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION     1
 #define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME     "u-boot.img"
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index d476367..f511e29 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -6482,7 +6482,6 @@  CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR
 CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS
 CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR
 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION
-CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR
 CONFIG_SYS_MMC_BASE
 CONFIG_SYS_MMC_CD_PIN
 CONFIG_SYS_MMC_CLK_OD