]> git.baikalelectronics.ru Git - uboot.git/commit
Convert CONFIG_SYS_BOOTM_LEN to Kconfig
authorTom Rini <trini@konsulko.com>
Sat, 25 Jun 2022 23:29:46 +0000 (19:29 -0400)
committerTom Rini <trini@konsulko.com>
Thu, 7 Jul 2022 18:01:09 +0000 (14:01 -0400)
commit3ee83fffb85613494cb2687281a9a9d60f3c035d
treebb66c9a10c18650315c7bf140ee85eab6d64ddc7
parent8367aed9f36092c06cdf704eff1947ca09a58602
Convert CONFIG_SYS_BOOTM_LEN to Kconfig

This converts the following to Kconfig:
   CONFIG_SYS_BOOTM_LEN

As part of this, rework error handling in boot/bootm.c so that we pass
the buffer size to handle_decomp_error as CONFIG_SYS_BOOTM_LEN will not
be available to host tools but we do know the size that we passed to
malloc().

Cc: Soeren Moch <smoch@web.de>
Signed-off-by: Tom Rini <trini@konsulko.com>
456 files changed:
README
boot/bootm.c
cmd/Kconfig
configs/M5208EVBE_defconfig
configs/M5235EVB_Flash32_defconfig
configs/M5235EVB_defconfig
configs/M5253DEMO_defconfig
configs/M5275EVB_defconfig
configs/M53017EVB_defconfig
configs/M5329AFEE_defconfig
configs/M5329BFEE_defconfig
configs/M5373EVB_defconfig
configs/MCR3000_defconfig
configs/a3y17lte_defconfig
configs/a5y17lte_defconfig
configs/a64-olinuxino-emmc_defconfig
configs/a64-olinuxino_defconfig
configs/a7y17lte_defconfig
configs/ae350_rv32_defconfig
configs/ae350_rv32_spl_defconfig
configs/ae350_rv32_spl_xip_defconfig
configs/ae350_rv32_xip_defconfig
configs/ae350_rv64_defconfig
configs/ae350_rv64_spl_defconfig
configs/ae350_rv64_spl_xip_defconfig
configs/ae350_rv64_xip_defconfig
configs/am335x_baltos_defconfig
configs/am335x_boneblack_vboot_defconfig
configs/am335x_evm_defconfig
configs/am335x_evm_spiboot_defconfig
configs/am335x_guardian_defconfig
configs/am335x_hs_evm_defconfig
configs/am335x_hs_evm_uart_defconfig
configs/am335x_shc_defconfig
configs/am335x_shc_ict_defconfig
configs/am335x_shc_netboot_defconfig
configs/am335x_shc_sdboot_defconfig
configs/am335x_sl50_defconfig
configs/am57xx_evm_defconfig
configs/am57xx_hs_evm_defconfig
configs/am57xx_hs_evm_usb_defconfig
configs/am62x_evm_a53_defconfig
configs/am64x_evm_a53_defconfig
configs/am65x_evm_r5_defconfig
configs/am65x_evm_r5_usbdfu_defconfig
configs/am65x_evm_r5_usbmsc_defconfig
configs/am65x_hs_evm_r5_defconfig
configs/amarula_a64_relic_defconfig
configs/apple_m1_defconfig
configs/avnet_ultrazedev_cc_v1_0_ultrazedev_som_v1_0_defconfig
configs/axs101_defconfig
configs/axs103_defconfig
configs/bananapi_m2_plus_h5_defconfig
configs/bananapi_m64_defconfig
configs/bcm7260_defconfig
configs/bcm7445_defconfig
configs/bcm947622_defconfig
configs/bcm963158_ram_defconfig
configs/bcm968360bg_ram_defconfig
configs/bcm968580xref_ram_defconfig
configs/bcm_ns3_defconfig
configs/beelink_gs1_defconfig
configs/bitmain_antminer_s9_defconfig
configs/boston32r2_defconfig
configs/boston32r2el_defconfig
configs/boston32r6_defconfig
configs/boston32r6el_defconfig
configs/boston64r2_defconfig
configs/boston64r2el_defconfig
configs/boston64r6_defconfig
configs/boston64r6el_defconfig
configs/brppt1_mmc_defconfig
configs/brppt1_nand_defconfig
configs/brppt1_spi_defconfig
configs/brsmarc1_defconfig
configs/bubblegum_96_defconfig
configs/cgtqmx8_defconfig
configs/chromebit_mickey_defconfig
configs/chromebook_jerry_defconfig
configs/chromebook_minnie_defconfig
configs/chromebook_speedy_defconfig
configs/ci20_mmc_defconfig
configs/clearfog_gt_8k_defconfig
configs/corstone1000_defconfig
configs/cortina_presidio-asic-base_defconfig
configs/cortina_presidio-asic-emmc_defconfig
configs/cortina_presidio-asic-pnand_defconfig
configs/crs305-1g-4s-bit_defconfig
configs/crs305-1g-4s_defconfig
configs/crs326-24g-2s-bit_defconfig
configs/crs326-24g-2s_defconfig
configs/crs328-4c-20s-4s-bit_defconfig
configs/crs328-4c-20s-4s_defconfig
configs/cubieboard7_defconfig
configs/deneb_defconfig
configs/durian_defconfig
configs/emlid_neutis_n5_devboard_defconfig
configs/espresso7420_defconfig
configs/evb-rk3128_defconfig
configs/evb-rk3229_defconfig
configs/evb-rk3288_defconfig
configs/firefly-rk3288_defconfig
configs/gazerbeam_defconfig
configs/giedi_defconfig
configs/gwventana_emmc_defconfig
configs/gwventana_gw5904_defconfig
configs/gwventana_nand_defconfig
configs/hsdk_4xd_defconfig
configs/hsdk_defconfig
configs/ids8313_defconfig
configs/imx8mm-cl-iot-gate-optee_defconfig
configs/imx8mm-cl-iot-gate_defconfig
configs/imx8mm-icore-mx8mm-ctouch2_defconfig
configs/imx8mm-icore-mx8mm-edimm2.2_defconfig
configs/imx8mm_beacon_defconfig
configs/imx8mm_data_modul_edm_sbc_defconfig
configs/imx8mm_venice_defconfig
configs/imx8mn_beacon_2g_defconfig
configs/imx8mn_beacon_defconfig
configs/imx8mn_bsh_smm_s2_defconfig
configs/imx8mn_bsh_smm_s2pro_defconfig
configs/imx8mn_ddr4_evk_defconfig
configs/imx8mn_evk_defconfig
configs/imx8mn_var_som_defconfig
configs/imx8mn_venice_defconfig
configs/imx8mp_dhcom_pdk2_defconfig
configs/imx8mp_evk_defconfig
configs/imx8mp_rsb3720a1_4G_defconfig
configs/imx8mp_rsb3720a1_6G_defconfig
configs/imx8mp_venice_defconfig
configs/imx8mq_cm_defconfig
configs/imx8mq_phanbell_defconfig
configs/imx8qxp_mek_defconfig
configs/j7200_evm_r5_defconfig
configs/j721e_evm_r5_defconfig
configs/j721e_hs_evm_r5_defconfig
configs/j721s2_evm_r5_defconfig
configs/km_kirkwood_128m16_defconfig
configs/km_kirkwood_defconfig
configs/km_kirkwood_pci_defconfig
configs/kmcoge5ne_defconfig
configs/kmcoge5un_defconfig
configs/kmeter1_defconfig
configs/kmnusa_defconfig
configs/kmopti2_defconfig
configs/kmsupx5_defconfig
configs/kmsuse2_defconfig
configs/kmtegr1_defconfig
configs/kmtepr2_defconfig
configs/kontron_pitx_imx8m_defconfig
configs/kontron_sl28_defconfig
configs/libretech_all_h3_cc_h5_defconfig
configs/libretech_all_h3_it_h5_defconfig
configs/libretech_all_h5_cc_h5_defconfig
configs/ls1021aqds_ddr4_nor_defconfig
configs/ls1021aqds_ddr4_nor_lpuart_defconfig
configs/ls1021aqds_nand_defconfig
configs/ls1021aqds_nor_SECURE_BOOT_defconfig
configs/ls1021aqds_nor_defconfig
configs/ls1021aqds_nor_lpuart_defconfig
configs/ls1021aqds_qspi_defconfig
configs/ls1021aqds_sdcard_ifc_defconfig
configs/ls1021aqds_sdcard_qspi_defconfig
configs/ls1021atsn_qspi_defconfig
configs/ls1021atsn_sdcard_defconfig
configs/ls1021atwr_nor_SECURE_BOOT_defconfig
configs/ls1021atwr_nor_defconfig
configs/ls1021atwr_nor_lpuart_defconfig
configs/ls1021atwr_qspi_defconfig
configs/ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig
configs/ls1021atwr_sdcard_ifc_defconfig
configs/ls1021atwr_sdcard_qspi_defconfig
configs/malta64_defconfig
configs/malta64el_defconfig
configs/malta_defconfig
configs/maltael_defconfig
configs/microblaze-generic_defconfig
configs/microchip_mpfs_icicle_defconfig
configs/miqi-rk3288_defconfig
configs/mscc_jr2_defconfig
configs/mscc_luton_defconfig
configs/mscc_ocelot_defconfig
configs/mscc_serval_defconfig
configs/mscc_servalt_defconfig
configs/mt7620_mt7530_rfb_defconfig
configs/mt7620_rfb_defconfig
configs/mt7623a_unielec_u7623_02_defconfig
configs/mt7623n_bpir2_defconfig
configs/mt7628_rfb_defconfig
configs/mt7629_rfb_defconfig
configs/mvebu_crb_cn9130_defconfig
configs/mvebu_db_armada8k_defconfig
configs/mvebu_db_cn9130_defconfig
configs/mvebu_mcbin-88f8040_defconfig
configs/mvebu_puzzle-m801-88f8040_defconfig
configs/mx7ulp_com_defconfig
configs/mx7ulp_evk_defconfig
configs/mx7ulp_evk_plugin_defconfig
configs/nanopi_a64_defconfig
configs/nanopi_neo2_defconfig
configs/nanopi_neo_plus2_defconfig
configs/nanopi_r1s_h5_defconfig
configs/nsim_700_defconfig
configs/nsim_700be_defconfig
configs/nsim_hs38_defconfig
configs/nsim_hs38be_defconfig
configs/oceanic_5205_5inmfd_defconfig
configs/octeon_ebb7304_defconfig
configs/octeon_nic23_defconfig
configs/octeontx2_95xx_defconfig
configs/octeontx2_96xx_defconfig
configs/octeontx_81xx_defconfig
configs/octeontx_83xx_defconfig
configs/openpiton_riscv64_defconfig
configs/openpiton_riscv64_spl_defconfig
configs/orangepi_3_defconfig
configs/orangepi_lite2_defconfig
configs/orangepi_one_plus_defconfig
configs/orangepi_pc2_defconfig
configs/orangepi_prime_defconfig
configs/orangepi_win_defconfig
configs/orangepi_zero2_defconfig
configs/orangepi_zero_plus2_defconfig
configs/orangepi_zero_plus_defconfig
configs/p2371-0000_defconfig
configs/p2371-2180_defconfig
configs/p2571_defconfig
configs/p2771-0000-000_defconfig
configs/p2771-0000-500_defconfig
configs/p3450-0000_defconfig
configs/pg_wcom_expu1_defconfig
configs/pg_wcom_expu1_update_defconfig
configs/pg_wcom_seli8_defconfig
configs/pg_wcom_seli8_update_defconfig
configs/phycore-rk3288_defconfig
configs/pico-imx8mq_defconfig
configs/pine64-lts_defconfig
configs/pine64_plus_defconfig
configs/pine_h64_defconfig
configs/pinebook_defconfig
configs/pinephone_defconfig
configs/pinetab_defconfig
configs/pomelo_defconfig
configs/popmetal-rk3288_defconfig
configs/qemu-riscv32_defconfig
configs/qemu-riscv32_smode_defconfig
configs/qemu-riscv32_spl_defconfig
configs/qemu-riscv64_defconfig
configs/qemu-riscv64_smode_defconfig
configs/qemu-riscv64_spl_defconfig
configs/qemu_arm_defconfig
configs/rock-pi-n8-rk3288_defconfig
configs/rock2_defconfig
configs/sama7g5ek_mmc1_defconfig
configs/sama7g5ek_mmc_defconfig
configs/sifive_unleashed_defconfig
configs/sifive_unmatched_defconfig
configs/socfpga_agilex_atf_defconfig
configs/socfpga_agilex_defconfig
configs/socfpga_agilex_vab_defconfig
configs/socfpga_n5x_atf_defconfig
configs/socfpga_n5x_defconfig
configs/socfpga_n5x_vab_defconfig
configs/socfpga_secu1_defconfig
configs/socfpga_stratix10_atf_defconfig
configs/socfpga_stratix10_defconfig
configs/socfpga_vining_fpga_defconfig
configs/socrates_defconfig
configs/sopine_baseboard_defconfig
configs/stemmy_defconfig
configs/stih410-b2260_defconfig
configs/stm32mp13_defconfig
configs/stm32mp15-icore-stm32mp1-ctouch2_defconfig
configs/stm32mp15-icore-stm32mp1-edimm2.2_defconfig
configs/stm32mp15-microgea-stm32mp1-microdev2-of7_defconfig
configs/stm32mp15-microgea-stm32mp1-microdev2_defconfig
configs/stm32mp15_basic_defconfig
configs/stm32mp15_defconfig
configs/stm32mp15_dhcom_basic_defconfig
configs/stm32mp15_dhcor_basic_defconfig
configs/stm32mp15_trusted_defconfig
configs/synquacer_developerbox_defconfig
configs/syzygy_hub_defconfig
configs/tanix_tx6_defconfig
configs/tb100_defconfig
configs/teres_i_defconfig
configs/thunderx_88xx_defconfig
configs/tinker-rk3288_defconfig
configs/tinker-s-rk3288_defconfig
configs/topic_miami_defconfig
configs/topic_miamilite_defconfig
configs/topic_miamiplus_defconfig
configs/tuge1_defconfig
configs/tuxx1_defconfig
configs/uniphier_ld4_sld8_defconfig
configs/uniphier_v7_defconfig
configs/uniphier_v8_defconfig
configs/vyasa-rk3288_defconfig
configs/xenguest_arm64_defconfig
configs/xilinx_versal_virt_defconfig
configs/xilinx_zynq_virt_defconfig
configs/xilinx_zynqmp_r5_defconfig
configs/xilinx_zynqmp_virt_defconfig
include/configs/M5208EVBE.h
include/configs/M5235EVB.h
include/configs/M5253DEMO.h
include/configs/M5275EVB.h
include/configs/M53017EVB.h
include/configs/M5329EVB.h
include/configs/M5373EVB.h
include/configs/MPC837XERDB.h
include/configs/MPC8548CDS.h
include/configs/P1010RDB.h
include/configs/P2041RDB.h
include/configs/T102xRDB.h
include/configs/T104xRDB.h
include/configs/T208xQDS.h
include/configs/T208xRDB.h
include/configs/T4240RDB.h
include/configs/am335x_evm.h
include/configs/am335x_guardian.h
include/configs/am335x_shc.h
include/configs/am335x_sl50.h
include/configs/am57xx_evm.h
include/configs/am65x_evm.h
include/configs/apalis-imx8.h
include/configs/ax25-ae350.h
include/configs/axs10x.h
include/configs/baltos.h
include/configs/bcm947622.h
include/configs/bcm_ns3.h
include/configs/bcmstb.h
include/configs/boston.h
include/configs/broadcom_bcm963158.h
include/configs/brppt1.h
include/configs/brsmarc1.h
include/configs/ci20.h
include/configs/colibri-imx8x.h
include/configs/corenet_ds.h
include/configs/crs3xx-98dx3236.h
include/configs/dragonboard410c.h
include/configs/dragonboard820c.h
include/configs/durian.h
include/configs/exynos78x0-common.h
include/configs/gw_ventana.h
include/configs/hikey.h
include/configs/hikey960.h
include/configs/hsdk-4xd.h
include/configs/hsdk.h
include/configs/imx8mm-cl-iot-gate.h
include/configs/imx8mm_data_modul_edm_sbc.h
include/configs/imx8mm_evk.h
include/configs/imx8mm_icore_mx8mm.h
include/configs/imx8mm_venice.h
include/configs/imx8mn_bsh_smm_s2_common.h
include/configs/imx8mn_evk.h
include/configs/imx8mn_var_som.h
include/configs/imx8mn_venice.h
include/configs/imx8mp_dhcom_pdk2.h
include/configs/imx8mp_evk.h
include/configs/imx8mp_rsb3720.h
include/configs/imx8mp_venice.h
include/configs/imx8mq_cm.h
include/configs/imx8mq_evk.h
include/configs/imx8qm_mek.h
include/configs/imx8qm_rom7720.h
include/configs/imx8ulp_evk.h
include/configs/iot2050.h
include/configs/iot_devkit.h
include/configs/j721e_evm.h
include/configs/j721s2_evm.h
include/configs/km/km-powerpc.h
include/configs/km/km_arm.h
include/configs/km/pg-wcom-ls102xa.h
include/configs/kmcent2.h
include/configs/kontron-sl-mx8mm.h
include/configs/kontron_pitx_imx8m.h
include/configs/ls1012a_common.h
include/configs/ls1021aqds.h
include/configs/ls1021atsn.h
include/configs/ls1021atwr.h
include/configs/ls1028a_common.h
include/configs/ls1043a_common.h
include/configs/ls1046a_common.h
include/configs/ls1088a_common.h
include/configs/ls2080a_common.h
include/configs/lx2160a_common.h
include/configs/malta.h
include/configs/meson64.h
include/configs/microblaze-generic.h
include/configs/microchip_mpfs_icicle.h
include/configs/mt7620.h
include/configs/mt7622.h
include/configs/mt7623.h
include/configs/mt7628.h
include/configs/mt7629.h
include/configs/mt8183.h
include/configs/mt8512.h
include/configs/mt8516.h
include/configs/mt8518.h
include/configs/mvebu_armada-37xx.h
include/configs/mx6_common.h
include/configs/mx7_common.h
include/configs/mx7ulp_com.h
include/configs/mx7ulp_evk.h
include/configs/nsim.h
include/configs/octeon_common.h
include/configs/octeontx2_common.h
include/configs/octeontx_common.h
include/configs/openpiton-riscv64.h
include/configs/p1_p2_rdb_pc.h
include/configs/phycore_imx8mm.h
include/configs/phycore_imx8mp.h
include/configs/pico-imx8mq.h
include/configs/pomelo.h
include/configs/poplar.h
include/configs/presidio_asic.h
include/configs/px30_common.h
include/configs/qemu-arm.h
include/configs/qemu-ppce500.h
include/configs/qemu-riscv.h
include/configs/rcar-gen3-common.h
include/configs/rk3128_common.h
include/configs/rk322x_common.h
include/configs/rk3288_common.h
include/configs/rk3308_common.h
include/configs/rk3328_common.h
include/configs/rk3368_common.h
include/configs/rk3399_common.h
include/configs/rk3568_common.h
include/configs/rpi.h
include/configs/sama7g5ek.h
include/configs/sdm845.h
include/configs/sifive-unleashed.h
include/configs/sifive-unmatched.h
include/configs/socfpga_arria5_secu1.h
include/configs/socfpga_soc64_common.h
include/configs/socfpga_vining_fpga.h
include/configs/stemmy.h
include/configs/stih410-b2260.h
include/configs/stm32mp13_common.h
include/configs/stm32mp15_common.h
include/configs/sunxi-common.h
include/configs/tb100.h
include/configs/total_compute.h
include/configs/turris_mox.h
include/configs/uniphier.h
include/configs/vcoreiii.h
include/configs/verdin-imx8mm.h
include/configs/verdin-imx8mp.h
include/configs/vexpress_aemv8.h
include/configs/x86-common.h
include/configs/xilinx_versal.h
include/configs/xilinx_zynqmp.h
include/configs/xilinx_zynqmp_r5.h
include/configs/zynq-common.h