spl: Preparation for Universal Payload
Subsystems (22)
v3 cover spl: Preparation for Universal Payload
This series tidies up SPL a little and adds some core ofnode functions needed to support Universal Payload. It also includes a few minor fix-ups for sandbox.
For SPL the changes include CONFIG naming, removing various #ifdefs and tidying up the FIT code.
One notable piece of the ofnode improvements is support for flattening a livetree. This should be useful in future as we move FDT fixups to use the ofnode API.
Changes in v3:
- Mention testing on qemu-ppce500
- Add new patch to create a proper symbol for enabling the malloc() pool
- Add new patch to enable CONFIG_SPL_SYS_MALLOC_F where needed
- Add new patch to nable CONFIG_TPL_SYS_MALLOC_F where needed
- Add new patch to use SYS_MALLOC_F instead of SYS_MALLOC_F_LEN
- Add new patch to tidy up uses of CONFIG_SYS_MALLOC_F_LEN
- Add new patch to clean up SYS_MALLOC_SIMPLE documentation
- Add new patch to correct help in TPL_DM and VPL_DM
- Rebase on the new patch
Changes in v2:
- Rename based on Tom's feedback
- Improve readability by moving the size part to the header file
- Explicitly copy two maintainers as it seems only Mario was auto-cc'd
- Change the approach to use the header file
- Use the same condition for both pieces to avoid possible problems
- No changes as it still seems unclear what should be done
Simon Glass (38):
spl: Use CONFIG_SPL... instead of CONFIG_..._SPL_...
spl: Rename SYS_SPL_ARGS_ADDR to SPL_PAYLOAD_ARGS_ADDR
spl: Avoid #ifdef with CONFIG_SPL_SYS_MALLOC
spl: mx6: powerpc: Drop the condition on timer_init()
spl: Drop #ifdefs for BOARD_INIT and watchdog
spl: Avoid #ifdef with CONFIG_SPL_PAYLOAD_ARGS_ADDR
spl: Drop the switch() statement for OS selection
spl: Create proper symbols for enabling the malloc() pool
spl: Enable CONFIG_SPL_SYS_MALLOC_F where needed
tpl: Enable CONFIG_TPL_SYS_MALLOC_F where needed
spl: Use SYS_MALLOC_F instead of SYS_MALLOC_F_LEN Tidy up uses of CONFIG_SYS_MALLOC_F_LEN
doc: Clean up SYS_MALLOC_SIMPLE
dm: core: Correct help in TPL_DM and VPL_DM
spl: Avoid an #ifdef when printing gd->malloc_ptr
spl: Remove #ifdefs with BOOTSTAGE
spl: Rename spl_load_fit_image() to load_simple_fit()
spl: Move the full FIT code to spl_fit.c
spl: Use the correct FIT_..._PROP constants
spl: Move bloblist writing until the image is known
dm: core: Reverse the argument order in ofnode_copy_props()
dm: core: Ensure we run flattree tests on ofnode
dm: core: Tidy up comments in the ofnode tests
dm: core: Add a function to create an empty tree
dm: core: Add a way to copy a node
dm: core: Add a way to delete a node
dm: core: Add a way to convert a devicetree to a dtb
dm: core: Support writing a boolean
dm: core: Support writing a 64-bit value
dm: core: Add tests for oftree_path()
sandbox: Move reading the RAM buffer into a better place
sandbox: Init the EC properly even if no state file is available
sandbox: Only read the state if we have a state file
sandbox: Move the bloblist down a little in memory
bloblist: Support initing from multiple places
fdt: Allow the devicetree to come from a bloblist
command: Include a required header in command.h
pci: serial: Support reading PCI-register size with base
Kconfig | 69 +++-- Makefile | 2 +- README | 18 -- arch/arm/cpu/armv7/ls102xa/fdt.c | 2 +- .../armv8/fsl-layerscape/doc/README.falcon | 2 +- arch/arm/lib/bdinfo.c | 2 +- arch/arm/mach-rockchip/rv1126/Kconfig | 3 + arch/arm/mach-snapdragon/Kconfig | 3 + arch/arm/mach-socfpga/Kconfig | 3 + arch/mips/cpu/start.S | 4 +- arch/mips/mach-mtmips/mt7621/spl/start.S | 4 +- arch/powerpc/cpu/mpc83xx/start.S | 2 +- arch/powerpc/cpu/mpc85xx/start.S | 4 +- arch/sandbox/cpu/start.c | 29 +- arch/sandbox/cpu/state.c | 2 + arch/sandbox/dts/test.dts | 6 +- arch/sh/lib/start.S | 4 +- boot/vbe_request.c | 2 +- boot/vbe_simple_os.c | 2 +- common/Kconfig | 2 +- common/Makefile | 6 +- common/bloblist.c | 15 +- common/board_f.c | 6 +- common/board_r.c | 2 +- common/dlmalloc.c | 12 +- common/init/board_init.c | 4 +- common/spl/Kconfig | 16 +- common/spl/Kconfig.nxp | 2 +- common/spl/spl.c | 226 ++++----------- common/spl/spl_ext.c | 4 +- common/spl/spl_fat.c | 4 +- common/spl/spl_fit.c | 127 +++++++-- common/spl/spl_mmc.c | 2 +- common/spl/spl_nand.c | 10 +- common/spl/spl_nor.c | 8 +- common/spl/spl_spi.c | 2 +- common/spl/spl_ubi.c | 2 +- common/spl/spl_xip.c | 2 +- configs/am335x_baltos_defconfig | 4 +- configs/am335x_boneblack_vboot_defconfig | 4 +- configs/am335x_evm_defconfig | 4 +- configs/am335x_evm_spiboot_defconfig | 4 +- configs/am335x_guardian_defconfig | 4 +- configs/am335x_hs_evm_defconfig | 4 +- configs/am335x_hs_evm_uart_defconfig | 4 +- configs/am335x_igep003x_defconfig | 4 +- configs/am335x_pdu001_defconfig | 4 +- configs/am335x_shc_defconfig | 4 +- configs/am335x_shc_ict_defconfig | 4 +- configs/am335x_shc_netboot_defconfig | 4 +- configs/am335x_shc_sdboot_defconfig | 4 +- configs/am335x_sl50_defconfig | 4 +- configs/am3517_evm_defconfig | 6 +- configs/am43xx_evm_defconfig | 4 +- configs/am43xx_evm_rtconly_defconfig | 4 +- configs/am43xx_evm_usbhost_boot_defconfig | 4 +- configs/am43xx_hs_evm_defconfig | 4 +- configs/am57xx_evm_defconfig | 4 +- configs/am57xx_hs_evm_defconfig | 4 +- configs/am57xx_hs_evm_usb_defconfig | 4 +- configs/am62ax_evm_r5_defconfig | 6 +- configs/am62x_evm_r5_defconfig | 8 +- configs/am64x_evm_a53_defconfig | 4 +- configs/am64x_evm_r5_defconfig | 8 +- configs/am65x_evm_a53_defconfig | 4 +- configs/am65x_evm_r5_defconfig | 8 +- configs/am65x_evm_r5_usbdfu_defconfig | 8 +- configs/am65x_evm_r5_usbmsc_defconfig | 8 +- configs/am65x_hs_evm_a53_defconfig | 4 +- configs/am65x_hs_evm_r5_defconfig | 8 +- configs/apalis-tk1_defconfig | 8 +- configs/apalis_imx6_defconfig | 2 +- configs/apalis_t30_defconfig | 8 +- configs/axm_defconfig | 8 +- configs/beaver_defconfig | 8 +- configs/bitmain_antminer_s9_defconfig | 4 +- configs/brppt1_mmc_defconfig | 4 +- configs/brppt2_defconfig | 2 +- configs/brsmarc1_defconfig | 4 +- configs/brxre1_defconfig | 4 +- configs/cardhu_defconfig | 8 +- configs/cei-tk1-som_defconfig | 8 +- configs/cgtqmx8_defconfig | 8 +- configs/chiliboard_defconfig | 4 +- configs/cl-som-imx7_defconfig | 2 +- configs/cm_fx6_defconfig | 2 +- configs/cm_t43_defconfig | 4 +- configs/colibri_imx6_defconfig | 2 +- configs/colibri_t20_defconfig | 8 +- configs/colibri_t30_defconfig | 8 +- configs/da850evm_defconfig | 8 +- configs/da850evm_nand_defconfig | 8 +- configs/dalmore_defconfig | 8 +- configs/deneb_defconfig | 8 +- configs/devkit8000_defconfig | 8 +- configs/dh_imx6_defconfig | 2 +- configs/display5_defconfig | 4 +- configs/display5_factory_defconfig | 4 +- configs/dra7xx_evm_defconfig | 4 +- configs/dra7xx_hs_evm_defconfig | 4 +- configs/dra7xx_hs_evm_usb_defconfig | 4 +- configs/draco_defconfig | 6 +- configs/endeavoru_defconfig | 8 +- configs/etamin_defconfig | 6 +- .../gardena-smart-gateway-at91sam_defconfig | 4 +- configs/ge_b1x5v2_defconfig | 2 +- configs/giedi_defconfig | 8 +- configs/grouper_common_defconfig | 8 +- configs/gwventana_emmc_defconfig | 4 +- configs/gwventana_nand_defconfig | 4 +- configs/harmony_defconfig | 8 +- configs/igep00x0_defconfig | 6 +- configs/imx28_xea_defconfig | 2 +- configs/imx6dl_icore_nand_defconfig | 2 +- configs/imx6dl_mamoj_defconfig | 4 +- configs/imx6q_bosch_acc_defconfig | 2 +- configs/imx6q_icore_nand_defconfig | 2 +- configs/imx6q_logic_defconfig | 4 +- configs/imx6qdl_icore_mipi_defconfig | 4 +- configs/imx6qdl_icore_mmc_defconfig | 4 +- configs/imx6qdl_icore_nand_defconfig | 2 +- configs/imx6qdl_icore_rqs_defconfig | 4 +- configs/imx6ul_geam_mmc_defconfig | 2 +- configs/imx6ul_geam_nand_defconfig | 2 +- configs/imx6ul_isiot_emmc_defconfig | 2 +- configs/imx6ul_isiot_nand_defconfig | 2 +- configs/imx6ulz_smm_m2_defconfig | 2 +- configs/imx7_cm_defconfig | 2 +- configs/imx8mm-cl-iot-gate-optee_defconfig | 8 +- configs/imx8mm-cl-iot-gate_defconfig | 8 +- configs/imx8mm-icore-mx8mm-ctouch2_defconfig | 8 +- configs/imx8mm-icore-mx8mm-edimm2.2_defconfig | 8 +- configs/imx8mm-mx8menlo_defconfig | 8 +- configs/imx8mm_beacon_defconfig | 8 +- configs/imx8mm_beacon_fspi_defconfig | 8 +- configs/imx8mm_data_modul_edm_sbc_defconfig | 8 +- configs/imx8mm_evk_defconfig | 8 +- configs/imx8mm_evk_fspi_defconfig | 8 +- configs/imx8mm_phg_defconfig | 8 +- configs/imx8mm_venice_defconfig | 6 +- configs/imx8mn_beacon_2g_defconfig | 8 +- configs/imx8mn_beacon_defconfig | 8 +- configs/imx8mn_beacon_fspi_defconfig | 8 +- configs/imx8mn_bsh_smm_s2_defconfig | 8 +- configs/imx8mn_bsh_smm_s2pro_defconfig | 8 +- configs/imx8mn_ddr4_evk_defconfig | 8 +- configs/imx8mn_evk_defconfig | 8 +- configs/imx8mn_var_som_defconfig | 8 +- configs/imx8mn_venice_defconfig | 8 +- configs/imx8mp-icore-mx8mp-edimm2.2_defconfig | 8 +- configs/imx8mp_beacon_defconfig | 8 +- configs/imx8mp_data_modul_edm_sbc_defconfig | 8 +- configs/imx8mp_dhcom_pdk2_defconfig | 8 +- configs/imx8mp_dhcom_pdk3_defconfig | 8 +- configs/imx8mp_evk_defconfig | 8 +- configs/imx8mp_rsb3720a1_4G_defconfig | 8 +- configs/imx8mp_rsb3720a1_6G_defconfig | 8 +- configs/imx8mp_venice_defconfig | 8 +- configs/imx8mq_cm_defconfig | 8 +- configs/imx8mq_evk_defconfig | 8 +- configs/imx8mq_phanbell_defconfig | 8 +- configs/imx8mq_reform2_defconfig | 8 +- configs/imx8qm_mek_defconfig | 8 +- configs/imx8qxp_mek_defconfig | 8 +- configs/imx8ulp_evk_defconfig | 8 +- configs/imx93_11x11_evk_defconfig | 8 +- configs/imx93_11x11_evk_ld_defconfig | 8 +- configs/iot2050_defconfig | 4 +- configs/j7200_evm_a72_defconfig | 4 +- configs/j7200_evm_r5_defconfig | 8 +- configs/j721e_evm_a72_defconfig | 4 +- configs/j721e_evm_r5_defconfig | 8 +- configs/j721s2_evm_a72_defconfig | 4 +- configs/j721s2_evm_r5_defconfig | 8 +- configs/jetson-tk1_defconfig | 8 +- configs/k2e_evm_defconfig | 4 +- configs/k2g_evm_defconfig | 4 +- configs/k2hk_evm_defconfig | 4 +- configs/k2l_evm_defconfig | 4 +- configs/kontron-sl-mx6ul_defconfig | 2 +- configs/kontron-sl-mx8mm_defconfig | 8 +- configs/kontron_pitx_imx8m_defconfig | 8 +- configs/kontron_sl28_defconfig | 2 +- configs/kp_imx6q_tpc_defconfig | 2 +- configs/librem5_defconfig | 8 +- configs/liteboard_defconfig | 2 +- configs/ls1021aiot_sdcard_defconfig | 6 +- configs/ls1021aqds_nand_defconfig | 6 +- configs/ls1021aqds_sdcard_ifc_defconfig | 6 +- configs/ls1021aqds_sdcard_qspi_defconfig | 6 +- configs/ls1021atsn_sdcard_defconfig | 6 +- ...s1021atwr_sdcard_ifc_SECURE_BOOT_defconfig | 6 +- configs/ls1021atwr_sdcard_ifc_defconfig | 6 +- configs/ls1021atwr_sdcard_qspi_defconfig | 6 +- configs/ls1043aqds_nand_defconfig | 6 +- configs/ls1043aqds_sdcard_ifc_defconfig | 2 +- configs/ls1043aqds_sdcard_qspi_defconfig | 2 +- configs/ls1043ardb_nand_SECURE_BOOT_defconfig | 6 +- configs/ls1043ardb_nand_defconfig | 6 +- .../ls1043ardb_sdcard_SECURE_BOOT_defconfig | 2 +- configs/ls1043ardb_sdcard_defconfig | 2 +- configs/ls1046aqds_nand_defconfig | 2 +- configs/ls1046aqds_sdcard_ifc_defconfig | 2 +- configs/ls1046aqds_sdcard_qspi_defconfig | 2 +- configs/ls1046ardb_emmc_defconfig | 2 +- configs/ls1046ardb_qspi_spl_defconfig | 4 +- .../ls1046ardb_sdcard_SECURE_BOOT_defconfig | 2 +- configs/ls1046ardb_sdcard_defconfig | 2 +- configs/ls1088aqds_sdcard_ifc_defconfig | 2 +- configs/ls1088aqds_sdcard_qspi_defconfig | 2 +- ...1088ardb_sdcard_qspi_SECURE_BOOT_defconfig | 2 +- configs/ls1088ardb_sdcard_qspi_defconfig | 2 +- configs/ls2080aqds_nand_defconfig | 2 +- configs/ls2080aqds_sdcard_defconfig | 2 +- configs/ls2080ardb_nand_defconfig | 2 +- configs/mccmon6_nor_defconfig | 4 +- configs/mccmon6_sd_defconfig | 2 +- configs/medcom-wide_defconfig | 8 +- configs/msc_sm2s_imx8mp_defconfig | 8 +- configs/mx6cuboxi_defconfig | 2 +- configs/mx6memcal_defconfig | 2 +- configs/mx6sabreauto_defconfig | 2 +- configs/mx6sabresd_defconfig | 2 +- configs/mx6slevk_spl_defconfig | 2 +- configs/mx6ul_14x14_evk_defconfig | 2 +- configs/mx6ul_9x9_evk_defconfig | 2 +- configs/myir_mys_6ulx_defconfig | 2 +- configs/novena_defconfig | 2 +- configs/nyan-big_defconfig | 8 +- configs/omap35_logic_defconfig | 6 +- configs/omap35_logic_somlv_defconfig | 6 +- configs/omap3_beagle_defconfig | 4 +- configs/omap3_evm_defconfig | 4 +- configs/omap3_logic_defconfig | 6 +- configs/omap3_logic_somlv_defconfig | 6 +- configs/omap4_panda_defconfig | 4 +- configs/omap4_sdp4430_defconfig | 4 +- configs/omapl138_lcdk_defconfig | 8 +- configs/openpiton_riscv64_spl_defconfig | 2 +- configs/opos6uldev_defconfig | 2 +- configs/paz00_defconfig | 8 +- configs/pcm058_defconfig | 2 +- configs/phycore-am335x-r2-regor_defconfig | 4 +- configs/phycore-am335x-r2-wega_defconfig | 4 +- configs/phycore-imx8mm_defconfig | 8 +- configs/phycore-imx8mp_defconfig | 8 +- configs/phycore_pcl063_defconfig | 2 +- configs/phycore_pcl063_ull_defconfig | 2 +- configs/pico-dwarf-imx6ul_defconfig | 2 +- configs/pico-dwarf-imx7d_defconfig | 2 +- configs/pico-hobbit-imx6ul_defconfig | 2 +- configs/pico-hobbit-imx7d_defconfig | 2 +- configs/pico-imx6_defconfig | 2 +- configs/pico-imx6ul_defconfig | 2 +- configs/pico-imx7d_bl33_defconfig | 2 +- configs/pico-imx7d_defconfig | 2 +- configs/pico-imx8mq_defconfig | 8 +- configs/pico-nymph-imx7d_defconfig | 2 +- configs/pico-pi-imx6ul_defconfig | 2 +- configs/pico-pi-imx7d_defconfig | 2 +- configs/plutux_defconfig | 8 +- configs/pxm2_defconfig | 6 +- configs/qemu-riscv32_spl_defconfig | 2 +- configs/qemu-riscv64_spl_defconfig | 2 +- configs/rastaban_defconfig | 6 +- configs/ringneck-px30_defconfig | 2 +- configs/riotboard_defconfig | 4 +- configs/rut_defconfig | 6 +- configs/sama5d27_giantboard_defconfig | 4 +- configs/sama5d27_som1_ek_mmc1_defconfig | 4 +- configs/sama5d27_som1_ek_mmc_defconfig | 4 +- configs/sama5d27_som1_ek_qspiflash_defconfig | 4 +- configs/sama5d27_wlsom1_ek_mmc_defconfig | 4 +- .../sama5d27_wlsom1_ek_qspiflash_defconfig | 4 +- configs/sama5d2_icp_mmc_defconfig | 4 +- configs/sama5d2_xplained_emmc_defconfig | 4 +- configs/sama5d2_xplained_mmc_defconfig | 4 +- configs/sama5d2_xplained_qspiflash_defconfig | 4 +- configs/sama5d2_xplained_spiflash_defconfig | 4 +- configs/sama5d3_xplained_mmc_defconfig | 4 +- configs/sama5d3_xplained_nandflash_defconfig | 4 +- configs/sama5d3xek_mmc_defconfig | 4 +- configs/sama5d3xek_nandflash_defconfig | 4 +- configs/sama5d3xek_spiflash_defconfig | 4 +- configs/sama5d4_xplained_mmc_defconfig | 4 +- configs/sama5d4_xplained_nandflash_defconfig | 4 +- configs/sama5d4_xplained_spiflash_defconfig | 4 +- configs/sama5d4ek_mmc_defconfig | 4 +- configs/sama5d4ek_nandflash_defconfig | 4 +- configs/sama5d4ek_spiflash_defconfig | 4 +- configs/seaboard_defconfig | 8 +- configs/seeed_npi_imx6ull_defconfig | 2 +- configs/sifive_unleashed_defconfig | 2 +- configs/sifive_unmatched_defconfig | 2 +- configs/smartweb_defconfig | 4 +- configs/sniper_defconfig | 6 +- configs/socfpga_agilex_atf_defconfig | 8 +- configs/socfpga_agilex_defconfig | 8 +- configs/socfpga_agilex_vab_defconfig | 8 +- configs/socfpga_arria10_defconfig | 8 +- configs/socfpga_chameleonv3_defconfig | 8 +- configs/socfpga_n5x_atf_defconfig | 8 +- configs/socfpga_n5x_defconfig | 8 +- configs/socfpga_n5x_vab_defconfig | 8 +- configs/socfpga_stratix10_atf_defconfig | 8 +- configs/socfpga_stratix10_defconfig | 8 +- configs/starfive_visionfive2_defconfig | 8 +- configs/stm32746g-eval_spl_defconfig | 2 +- configs/stm32f746-disco_spl_defconfig | 2 +- configs/stm32f769-disco_spl_defconfig | 2 +- ...stm32mp15-icore-stm32mp1-ctouch2_defconfig | 8 +- ...tm32mp15-icore-stm32mp1-edimm2.2_defconfig | 8 +- ...-microgea-stm32mp1-microdev2-of7_defconfig | 8 +- ...mp15-microgea-stm32mp1-microdev2_defconfig | 8 +- configs/stm32mp15_basic_defconfig | 8 +- configs/stm32mp15_dhcom_basic_defconfig | 8 +- configs/stm32mp15_dhcor_basic_defconfig | 8 +- configs/syzygy_hub_defconfig | 6 +- configs/taurus_defconfig | 8 +- configs/tec-ng_defconfig | 8 +- configs/tec_defconfig | 8 +- configs/thuban_defconfig | 6 +- configs/topic_miami_defconfig | 4 +- configs/topic_miamilite_defconfig | 4 +- configs/topic_miamiplus_defconfig | 4 +- configs/transformer_t30_defconfig | 8 +- configs/trimslice_defconfig | 8 +- configs/udoo_defconfig | 2 +- configs/udoo_neo_defconfig | 2 +- configs/variscite_dart6ul_defconfig | 2 +- configs/venice2_defconfig | 8 +- configs/ventana_defconfig | 8 +- configs/verdin-am62_r5_defconfig | 8 +- configs/verdin-imx8mm_defconfig | 8 +- configs/verdin-imx8mp_defconfig | 8 +- configs/vining_2000_defconfig | 2 +- configs/vyasa-rk3288_defconfig | 2 +- configs/wandboard_defconfig | 2 +- configs/x3_t30_defconfig | 8 +- configs/xilinx_zynq_virt_defconfig | 6 +- configs/xilinx_zynqmp_mini_emmc0_defconfig | 8 +- configs/xilinx_zynqmp_mini_emmc1_defconfig | 8 +- configs/xilinx_zynqmp_mini_qspi_defconfig | 8 +- configs/xilinx_zynqmp_virt_defconfig | 10 +- configs/zynq_cse_nand_defconfig | 8 +- configs/zynq_cse_nor_defconfig | 8 +- configs/zynq_cse_qspi_defconfig | 8 +- doc/arch/sandbox/sandbox.rst | 4 +- doc/develop/devicetree/control.rst | 3 + doc/develop/falcon.rst | 2 +- doc/usage/cmd/bdinfo.rst | 2 +- drivers/core/Kconfig | 14 +- drivers/core/fdtaddr.c | 6 +- drivers/core/of_access.c | 65 +++++ drivers/core/ofnode.c | 183 ++++++++++++- drivers/core/read.c | 6 +- drivers/core/util.c | 2 +- drivers/misc/cros_ec_sandbox.c | 9 +- drivers/pci/pci-uclass.c | 2 +- drivers/pci/pci_mvebu.c | 3 +- drivers/pci/pci_tegra.c | 2 +- drivers/pci/pcie_mediatek.c | 4 +- drivers/serial/Kconfig | 2 +- drivers/serial/ns16550.c | 15 +- dts/Kconfig | 8 + include/asm-generic/global_data.h | 12 +- include/bloblist.h | 23 ++ include/bootstage.h | 26 ++ include/command.h | 3 + include/configs/socfpga_common.h | 2 +- include/configs/socfpga_soc64_common.h | 2 +- include/dm/fdtaddr.h | 3 +- include/dm/of_access.h | 18 ++ include/dm/ofnode.h | 102 ++++++- include/dm/read.h | 8 +- include/fdtdec.h | 3 +- include/ns16550.h | 4 +- include/of_live.h | 18 ++ include/serial.h | 2 + include/spl.h | 28 +- include/system-constants.h | 20 +- lib/asm-offsets.c | 2 +- lib/fdtdec.c | 44 ++- lib/of_live.c | 141 ++++++++++ test/dm/ofnode.c | 258 ++++++++++++++++-- test/dm/pci.c | 14 +- test/lib/kconfig.c | 4 +- 387 files changed, 2074 insertions(+), 1204 deletions(-)
Signature · 1 line
2.42.0.515.g380fc7ccd1-goog
PATCH v3 1/38 spl: Use CONFIG_SPL... instead of CONFIG_..._SPL_...
We like to put the SPL first so it is clear that it relates to SPL. Rename various malloc-related options which have crept in, to stick to this convention.
---
(no changes since v1)
Kconfig | 2 +- README | 2 +- arch/arm/cpu/armv7/ls102xa/fdt.c | 2 +- common/spl/Kconfig | 14 +++++++------- common/spl/Kconfig.nxp | 2 +- common/spl/spl.c | 6 +++--- common/spl/spl_fit.c | 2 +- configs/am335x_baltos_defconfig | 4 ++-- configs/am335x_boneblack_vboot_defconfig | 4 ++-- configs/am335x_evm_defconfig | 4 ++-- configs/am335x_evm_spiboot_defconfig | 4 ++-- configs/am335x_guardian_defconfig | 4 ++-- configs/am335x_hs_evm_defconfig | 4 ++-- configs/am335x_hs_evm_uart_defconfig | 4 ++-- configs/am335x_igep003x_defconfig | 4 ++-- configs/am335x_pdu001_defconfig | 4 ++-- configs/am335x_shc_defconfig | 4 ++-- configs/am335x_shc_ict_defconfig | 4 ++-- configs/am335x_shc_netboot_defconfig | 4 ++-- configs/am335x_shc_sdboot_defconfig | 4 ++-- configs/am335x_sl50_defconfig | 4 ++-- configs/am3517_evm_defconfig | 4 ++-- configs/am43xx_evm_defconfig | 4 ++-- configs/am43xx_evm_rtconly_defconfig | 4 ++-- configs/am43xx_evm_usbhost_boot_defconfig | 4 ++-- configs/am43xx_hs_evm_defconfig | 4 ++-- configs/am57xx_evm_defconfig | 4 ++-- configs/am57xx_hs_evm_defconfig | 4 ++-- configs/am57xx_hs_evm_usb_defconfig | 4 ++-- configs/am62ax_evm_r5_defconfig | 6 +++--- configs/am62x_evm_r5_defconfig | 8 ++++---- configs/am64x_evm_a53_defconfig | 4 ++-- configs/am64x_evm_r5_defconfig | 8 ++++---- configs/am65x_evm_a53_defconfig | 4 ++-- configs/am65x_evm_r5_defconfig | 8 ++++---- configs/am65x_evm_r5_usbdfu_defconfig | 8 ++++---- configs/am65x_evm_r5_usbmsc_defconfig | 8 ++++---- configs/am65x_hs_evm_a53_defconfig | 4 ++-- configs/am65x_hs_evm_r5_defconfig | 8 ++++---- configs/apalis-tk1_defconfig | 8 ++++---- configs/apalis_imx6_defconfig | 2 +- configs/apalis_t30_defconfig | 8 ++++---- configs/axm_defconfig | 8 ++++---- configs/beaver_defconfig | 8 ++++---- configs/bitmain_antminer_s9_defconfig | 4 ++-- configs/brppt1_mmc_defconfig | 4 ++-- configs/brppt2_defconfig | 2 +- configs/brsmarc1_defconfig | 4 ++-- configs/brxre1_defconfig | 4 ++-- configs/cardhu_defconfig | 8 ++++---- configs/cei-tk1-som_defconfig | 8 ++++---- configs/cgtqmx8_defconfig | 8 ++++---- configs/chiliboard_defconfig | 4 ++-- configs/cl-som-imx7_defconfig | 2 +- configs/cm_fx6_defconfig | 2 +- configs/cm_t43_defconfig | 4 ++-- configs/colibri_imx6_defconfig | 2 +- configs/colibri_t20_defconfig | 8 ++++---- configs/colibri_t30_defconfig | 8 ++++---- configs/da850evm_defconfig | 8 ++++---- configs/da850evm_nand_defconfig | 8 ++++---- configs/dalmore_defconfig | 8 ++++---- configs/deneb_defconfig | 8 ++++---- configs/devkit8000_defconfig | 6 +++--- configs/dh_imx6_defconfig | 2 +- configs/display5_defconfig | 2 +- configs/display5_factory_defconfig | 2 +- configs/dra7xx_evm_defconfig | 4 ++-- configs/dra7xx_hs_evm_defconfig | 4 ++-- configs/dra7xx_hs_evm_usb_defconfig | 4 ++-- configs/draco_defconfig | 6 +++--- configs/endeavoru_defconfig | 8 ++++---- configs/etamin_defconfig | 6 +++--- configs/gardena-smart-gateway-at91sam_defconfig | 4 ++-- configs/ge_b1x5v2_defconfig | 2 +- configs/giedi_defconfig | 8 ++++---- configs/grouper_common_defconfig | 8 ++++---- configs/gwventana_emmc_defconfig | 2 +- configs/gwventana_nand_defconfig | 2 +- configs/harmony_defconfig | 8 ++++---- configs/igep00x0_defconfig | 4 ++-- configs/imx6dl_icore_nand_defconfig | 2 +- configs/imx6dl_mamoj_defconfig | 2 +- configs/imx6q_bosch_acc_defconfig | 2 +- configs/imx6q_icore_nand_defconfig | 2 +- configs/imx6q_logic_defconfig | 2 +- configs/imx6qdl_icore_mipi_defconfig | 2 +- configs/imx6qdl_icore_mmc_defconfig | 2 +- configs/imx6qdl_icore_nand_defconfig | 2 +- configs/imx6qdl_icore_rqs_defconfig | 2 +- configs/imx6ul_geam_mmc_defconfig | 2 +- configs/imx6ul_geam_nand_defconfig | 2 +- configs/imx6ul_isiot_emmc_defconfig | 2 +- configs/imx6ul_isiot_nand_defconfig | 2 +- configs/imx6ulz_smm_m2_defconfig | 2 +- configs/imx7_cm_defconfig | 2 +- configs/imx8mm-cl-iot-gate-optee_defconfig | 8 ++++---- configs/imx8mm-cl-iot-gate_defconfig | 8 ++++---- configs/imx8mm-icore-mx8mm-ctouch2_defconfig | 8 ++++---- configs/imx8mm-icore-mx8mm-edimm2.2_defconfig | 8 ++++---- configs/imx8mm-mx8menlo_defconfig | 8 ++++---- configs/imx8mm_beacon_defconfig | 8 ++++---- configs/imx8mm_beacon_fspi_defconfig | 8 ++++---- configs/imx8mm_data_modul_edm_sbc_defconfig | 8 ++++---- configs/imx8mm_evk_defconfig | 8 ++++---- configs/imx8mm_evk_fspi_defconfig | 8 ++++---- configs/imx8mm_phg_defconfig | 8 ++++---- configs/imx8mm_venice_defconfig | 6 +++--- configs/imx8mn_beacon_2g_defconfig | 8 ++++---- configs/imx8mn_beacon_defconfig | 8 ++++---- configs/imx8mn_beacon_fspi_defconfig | 8 ++++---- configs/imx8mn_bsh_smm_s2_defconfig | 8 ++++---- configs/imx8mn_bsh_smm_s2pro_defconfig | 8 ++++---- configs/imx8mn_ddr4_evk_defconfig | 8 ++++---- configs/imx8mn_evk_defconfig | 8 ++++---- configs/imx8mn_var_som_defconfig | 8 ++++---- configs/imx8mn_venice_defconfig | 8 ++++---- configs/imx8mp-icore-mx8mp-edimm2.2_defconfig | 8 ++++---- configs/imx8mp_beacon_defconfig | 8 ++++---- configs/imx8mp_data_modul_edm_sbc_defconfig | 8 ++++---- configs/imx8mp_dhcom_pdk2_defconfig | 8 ++++---- configs/imx8mp_dhcom_pdk3_defconfig | 8 ++++---- configs/imx8mp_evk_defconfig | 8 ++++---- configs/imx8mp_rsb3720a1_4G_defconfig | 8 ++++---- configs/imx8mp_rsb3720a1_6G_defconfig | 8 ++++---- configs/imx8mp_venice_defconfig | 8 ++++---- configs/imx8mq_cm_defconfig | 8 ++++---- configs/imx8mq_evk_defconfig | 8 ++++---- configs/imx8mq_phanbell_defconfig | 8 ++++---- configs/imx8mq_reform2_defconfig | 8 ++++---- configs/imx8qm_mek_defconfig | 8 ++++---- configs/imx8qxp_mek_defconfig | 8 ++++---- configs/imx8ulp_evk_defconfig | 8 ++++---- configs/imx93_11x11_evk_defconfig | 8 ++++---- configs/imx93_11x11_evk_ld_defconfig | 8 ++++---- configs/iot2050_defconfig | 4 ++-- configs/j7200_evm_a72_defconfig | 4 ++-- configs/j7200_evm_r5_defconfig | 8 ++++---- configs/j721e_evm_a72_defconfig | 4 ++-- configs/j721e_evm_r5_defconfig | 8 ++++---- configs/j721s2_evm_a72_defconfig | 4 ++-- configs/j721s2_evm_r5_defconfig | 8 ++++---- configs/jetson-tk1_defconfig | 8 ++++---- configs/k2e_evm_defconfig | 4 ++-- configs/k2g_evm_defconfig | 4 ++-- configs/k2hk_evm_defconfig | 4 ++-- configs/k2l_evm_defconfig | 4 ++-- configs/kontron-sl-mx6ul_defconfig | 2 +- configs/kontron-sl-mx8mm_defconfig | 8 ++++---- configs/kontron_pitx_imx8m_defconfig | 8 ++++---- configs/kontron_sl28_defconfig | 2 +- configs/kp_imx6q_tpc_defconfig | 2 +- configs/librem5_defconfig | 8 ++++---- configs/liteboard_defconfig | 2 +- configs/ls1021aiot_sdcard_defconfig | 6 +++--- configs/ls1021aqds_nand_defconfig | 6 +++--- configs/ls1021aqds_sdcard_ifc_defconfig | 6 +++--- configs/ls1021aqds_sdcard_qspi_defconfig | 6 +++--- configs/ls1021atsn_sdcard_defconfig | 6 +++--- .../ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig | 6 +++--- configs/ls1021atwr_sdcard_ifc_defconfig | 6 +++--- configs/ls1021atwr_sdcard_qspi_defconfig | 6 +++--- configs/ls1043aqds_nand_defconfig | 6 +++--- configs/ls1043aqds_sdcard_ifc_defconfig | 2 +- configs/ls1043aqds_sdcard_qspi_defconfig | 2 +- configs/ls1043ardb_nand_SECURE_BOOT_defconfig | 6 +++--- configs/ls1043ardb_nand_defconfig | 6 +++--- configs/ls1043ardb_sdcard_SECURE_BOOT_defconfig | 2 +- configs/ls1043ardb_sdcard_defconfig | 2 +- configs/ls1046aqds_nand_defconfig | 2 +- configs/ls1046aqds_sdcard_ifc_defconfig | 2 +- configs/ls1046aqds_sdcard_qspi_defconfig | 2 +- configs/ls1046ardb_emmc_defconfig | 2 +- configs/ls1046ardb_qspi_spl_defconfig | 2 +- configs/ls1046ardb_sdcard_SECURE_BOOT_defconfig | 2 +- configs/ls1046ardb_sdcard_defconfig | 2 +- configs/ls1088aqds_sdcard_ifc_defconfig | 2 +- configs/ls1088aqds_sdcard_qspi_defconfig | 2 +- .../ls1088ardb_sdcard_qspi_SECURE_BOOT_defconfig | 2 +- configs/ls1088ardb_sdcard_qspi_defconfig | 2 +- configs/ls2080aqds_nand_defconfig | 2 +- configs/ls2080aqds_sdcard_defconfig | 2 +- configs/ls2080ardb_nand_defconfig | 2 +- configs/mccmon6_nor_defconfig | 2 +- configs/mccmon6_sd_defconfig | 2 +- configs/medcom-wide_defconfig | 8 ++++---- configs/msc_sm2s_imx8mp_defconfig | 8 ++++---- configs/mx6cuboxi_defconfig | 2 +- configs/mx6memcal_defconfig | 2 +- configs/mx6sabreauto_defconfig | 2 +- configs/mx6sabresd_defconfig | 2 +- configs/mx6slevk_spl_defconfig | 2 +- configs/mx6ul_14x14_evk_defconfig | 2 +- configs/mx6ul_9x9_evk_defconfig | 2 +- configs/myir_mys_6ulx_defconfig | 2 +- configs/novena_defconfig | 2 +- configs/nyan-big_defconfig | 8 ++++---- configs/omap35_logic_defconfig | 4 ++-- configs/omap35_logic_somlv_defconfig | 4 ++-- configs/omap3_beagle_defconfig | 4 ++-- configs/omap3_evm_defconfig | 4 ++-- configs/omap3_logic_defconfig | 4 ++-- configs/omap3_logic_somlv_defconfig | 4 ++-- configs/omap4_panda_defconfig | 4 ++-- configs/omap4_sdp4430_defconfig | 4 ++-- configs/omapl138_lcdk_defconfig | 8 ++++---- configs/openpiton_riscv64_spl_defconfig | 2 +- configs/opos6uldev_defconfig | 2 +- configs/paz00_defconfig | 8 ++++---- configs/pcm058_defconfig | 2 +- configs/phycore-am335x-r2-regor_defconfig | 4 ++-- configs/phycore-am335x-r2-wega_defconfig | 4 ++-- configs/phycore-imx8mm_defconfig | 8 ++++---- configs/phycore-imx8mp_defconfig | 8 ++++---- configs/phycore_pcl063_defconfig | 2 +- configs/phycore_pcl063_ull_defconfig | 2 +- configs/pico-dwarf-imx6ul_defconfig | 2 +- configs/pico-dwarf-imx7d_defconfig | 2 +- configs/pico-hobbit-imx6ul_defconfig | 2 +- configs/pico-hobbit-imx7d_defconfig | 2 +- configs/pico-imx6_defconfig | 2 +- configs/pico-imx6ul_defconfig | 2 +- configs/pico-imx7d_bl33_defconfig | 2 +- configs/pico-imx7d_defconfig | 2 +- configs/pico-imx8mq_defconfig | 8 ++++---- configs/pico-nymph-imx7d_defconfig | 2 +- configs/pico-pi-imx6ul_defconfig | 2 +- configs/pico-pi-imx7d_defconfig | 2 +- configs/plutux_defconfig | 8 ++++---- configs/pxm2_defconfig | 6 +++--- configs/qemu-riscv32_spl_defconfig | 2 +- configs/qemu-riscv64_spl_defconfig | 2 +- configs/rastaban_defconfig | 6 +++--- configs/ringneck-px30_defconfig | 2 +- configs/riotboard_defconfig | 2 +- configs/rut_defconfig | 6 +++--- configs/sama5d27_giantboard_defconfig | 4 ++-- configs/sama5d27_som1_ek_mmc1_defconfig | 4 ++-- configs/sama5d27_som1_ek_mmc_defconfig | 4 ++-- configs/sama5d27_som1_ek_qspiflash_defconfig | 4 ++-- configs/sama5d27_wlsom1_ek_mmc_defconfig | 4 ++-- configs/sama5d27_wlsom1_ek_qspiflash_defconfig | 4 ++-- configs/sama5d2_icp_mmc_defconfig | 4 ++-- configs/sama5d2_xplained_emmc_defconfig | 4 ++-- configs/sama5d2_xplained_mmc_defconfig | 4 ++-- configs/sama5d2_xplained_qspiflash_defconfig | 4 ++-- configs/sama5d2_xplained_spiflash_defconfig | 4 ++-- configs/sama5d3_xplained_mmc_defconfig | 4 ++-- configs/sama5d3_xplained_nandflash_defconfig | 4 ++-- configs/sama5d3xek_mmc_defconfig | 4 ++-- configs/sama5d3xek_nandflash_defconfig | 4 ++-- configs/sama5d3xek_spiflash_defconfig | 4 ++-- configs/sama5d4_xplained_mmc_defconfig | 4 ++-- configs/sama5d4_xplained_nandflash_defconfig | 4 ++-- configs/sama5d4_xplained_spiflash_defconfig | 4 ++-- configs/sama5d4ek_mmc_defconfig | 4 ++-- configs/sama5d4ek_nandflash_defconfig | 4 ++-- configs/sama5d4ek_spiflash_defconfig | 4 ++-- configs/seaboard_defconfig | 8 ++++---- configs/seeed_npi_imx6ull_defconfig | 2 +- configs/sifive_unleashed_defconfig | 2 +- configs/sifive_unmatched_defconfig | 2 +- configs/smartweb_defconfig | 4 ++-- configs/sniper_defconfig | 6 +++--- configs/socfpga_agilex_atf_defconfig | 8 ++++---- configs/socfpga_agilex_defconfig | 8 ++++---- configs/socfpga_agilex_vab_defconfig | 8 ++++---- configs/socfpga_arria10_defconfig | 8 ++++---- configs/socfpga_chameleonv3_defconfig | 8 ++++---- configs/socfpga_n5x_atf_defconfig | 8 ++++---- configs/socfpga_n5x_defconfig | 8 ++++---- configs/socfpga_n5x_vab_defconfig | 8 ++++---- configs/socfpga_stratix10_atf_defconfig | 8 ++++---- configs/socfpga_stratix10_defconfig | 8 ++++---- configs/starfive_visionfive2_defconfig | 8 ++++---- configs/stm32mp15-icore-stm32mp1-ctouch2_defconfig | 8 ++++---- .../stm32mp15-icore-stm32mp1-edimm2.2_defconfig | 8 ++++---- ...2mp15-microgea-stm32mp1-microdev2-of7_defconfig | 8 ++++---- ...stm32mp15-microgea-stm32mp1-microdev2_defconfig | 8 ++++---- configs/stm32mp15_basic_defconfig | 8 ++++---- configs/stm32mp15_dhcom_basic_defconfig | 8 ++++---- configs/stm32mp15_dhcor_basic_defconfig | 8 ++++---- configs/syzygy_hub_defconfig | 4 ++-- configs/taurus_defconfig | 8 ++++---- configs/tec-ng_defconfig | 8 ++++---- configs/tec_defconfig | 8 ++++---- configs/thuban_defconfig | 6 +++--- configs/topic_miami_defconfig | 4 ++-- configs/topic_miamilite_defconfig | 4 ++-- configs/topic_miamiplus_defconfig | 4 ++-- configs/transformer_t30_defconfig | 8 ++++---- configs/trimslice_defconfig | 8 ++++---- configs/udoo_defconfig | 2 +- configs/udoo_neo_defconfig | 2 +- configs/variscite_dart6ul_defconfig | 2 +- configs/venice2_defconfig | 8 ++++---- configs/ventana_defconfig | 8 ++++---- configs/verdin-am62_r5_defconfig | 8 ++++---- configs/verdin-imx8mm_defconfig | 8 ++++---- configs/verdin-imx8mp_defconfig | 8 ++++---- configs/vining_2000_defconfig | 2 +- configs/wandboard_defconfig | 2 +- configs/x3_t30_defconfig | 8 ++++---- configs/xilinx_zynq_virt_defconfig | 4 ++-- configs/xilinx_zynqmp_mini_emmc0_defconfig | 8 ++++---- configs/xilinx_zynqmp_mini_emmc1_defconfig | 8 ++++---- configs/xilinx_zynqmp_mini_qspi_defconfig | 8 ++++---- configs/xilinx_zynqmp_virt_defconfig | 8 ++++---- configs/zynq_cse_nand_defconfig | 8 ++++---- configs/zynq_cse_nor_defconfig | 8 ++++---- configs/zynq_cse_qspi_defconfig | 8 ++++---- drivers/core/Kconfig | 6 +++--- drivers/serial/Kconfig | 2 +- include/configs/socfpga_common.h | 2 +- include/configs/socfpga_soc64_common.h | 2 +- include/system-constants.h | 6 +++--- 316 files changed, 794 insertions(+), 794 deletions(-)
Kconfig +1 -1
@@ -308,7 +308,7 @@ config SPL_SYS_MALLOC_F_LEN particular needs this to operate, so that it can allocate the initial serial device and any others that are needed. - It is possible to enable CFG_SYS_SPL_MALLOC_START to start a new + It is possible to enable CFG_SPL_SYS_MALLOC_START to start a new malloc() region in SDRAM once it is inited. config TPL_SYS_MALLOC_F_LEN
README +1 -1
@@ -1297,7 +1297,7 @@ Configuration Settings: - CONFIG_SYS_MALLOC_SIMPLE Provides a simple and small malloc() and calloc() for those boards which do not use the full malloc in SPL (which is - enabled with CONFIG_SYS_SPL_MALLOC). + enabled with CONFIG_SPL_SYS_MALLOC). - CFG_SYS_BOOTMAPSZ: Maximum size of memory mapped by the startup code of
arch/arm/cpu/armv7/ls102xa/fdt.c +1 -1
@@ -136,7 +136,7 @@ void ft_cpu_setup(void *blob, struct bd_info *bd)*/ off =fdt_add_mem_rsv (blob,CONFIG_TEXT_BASE -UBOOT_HEAD_LEN ,CONFIG_SYS_MONITOR_LEN + -CONFIG_SYS_SPL_MALLOC_SIZE +UBOOT_HEAD_LEN ); +CONFIG_SPL_SYS_MALLOC_SIZE +UBOOT_HEAD_LEN );if (off <0 )printf ("Failed to reserve memory for SD boot deep sleep: %s\n" ,fdt_strerror (off));
common/spl/Kconfig +7 -7
@@ -402,21 +402,21 @@ config SPL_SEPARATE_BSS location is used. Normally we put the device tree at the end of BSS but with this option enabled, it goes at _image_binary_end. -config SYS_SPL_MALLOC +config SPL_SYS_MALLOC bool "Enable malloc pool in SPL" depends on SPL_FRAMEWORK -config HAS_CUSTOM_SPL_MALLOC_START +config SPL_HAS_CUSTOM_MALLOC_START bool "For the SPL malloc pool, define a custom starting address" - depends on SYS_SPL_MALLOC + depends on SPL_SYS_MALLOC -config CUSTOM_SYS_SPL_MALLOC_ADDR +config SPL_CUSTOM_SYS_MALLOC_ADDR hex "SPL malloc addr" - depends on HAS_CUSTOM_SPL_MALLOC_START + depends on SPL_HAS_CUSTOM_MALLOC_START -config SYS_SPL_MALLOC_SIZE +config SPL_SYS_MALLOC_SIZE hex "Size of the SPL malloc pool" - depends on SYS_SPL_MALLOC + depends on SPL_SYS_MALLOC default 0x100000 config SPL_READ_ONLY
common/spl/Kconfig.nxp +1 -1
@@ -59,7 +59,7 @@ config SPL_RELOC_TEXT_BASE config SPL_RELOC_STACK hex "Address of the start of the stack SPL will use after relocation." help - If unspecified, this is equal to CFG_SYS_SPL_MALLOC_START. Starting + If unspecified, this is equal to CFG_SPL_SYS_MALLOC_START. Starting address of the malloc pool used in SPL. When this option is set the full malloc is used in SPL and it is set up by spl_init() and before that, the simple malloc() can be used if CONFIG_SYS_MALLOC_F is defined.
common/spl/spl.c +3 -3
@@ -754,8 +754,8 @@ void board_init_r(gd_t *dummy1, ulong dummy2)spl_set_bd (); -#if defined(CONFIG_SYS_SPL_MALLOC ) -mem_malloc_init (SYS_SPL_MALLOC_START ,CONFIG_SYS_SPL_MALLOC_SIZE ); +#if defined(CONFIG_SPL_SYS_MALLOC ) +mem_malloc_init (SPL_SYS_MALLOC_START ,CONFIG_SPL_SYS_MALLOC_SIZE ); gd->flags |=GD_FLG_FULL_MALLOC_INIT ;#endif if (!(gd->flags &GD_FLG_SPL_INIT )) {
@@ -886,7 +886,7 @@ void board_init_r(gd_t *dummy1, ulong dummy2)default :debug ("Unsupported OS image.. Jumping nevertheless..\n" ); } -#if CONFIG_VAL (SYS_MALLOC_F_LEN ) && !defined(CONFIG_SYS_SPL_MALLOC_SIZE ) +#if CONFIG_VAL (SYS_MALLOC_F_LEN ) && !defined(CONFIG_SPL_SYS_MALLOC_SIZE )debug ("SPL malloc() used 0x%lx bytes (%ld KB)\n" , gd->malloc_ptr, gd->malloc_ptr /1024 );#endif
common/spl/spl_fit.c +1 -1
@@ -530,7 +530,7 @@ static void *spl_get_fit_load_buffer(size_t size) buf =malloc_cache_aligned (size);if (!buf) {pr_err ("Could not get FIT buffer of %lu bytes\n" , (ulong )size); -pr_err ("\tcheck CONFIG_SYS_SPL_MALLOC_SIZE\n" ); +pr_err ("\tcheck CONFIG_SPL_SYS_MALLOC_SIZE\n" ); buf =spl_get_load_buffer (0 , size); }return buf;
configs/am335x_baltos_defconfig +2 -2
@@ -18,8 +18,8 @@ CONFIG_DISTRO_DEFAULTS=y CONFIG_OF_BOARD_SETUP=y CONFIG_BOOTCOMMAND="run findfdt; run usbboot;run mmcboot;setenv mmcdev 1; setenv bootpart 1:2; run mmcboot;run nandboot;" CONFIG_SYS_CONSOLE_INFO_QUIET=y -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x800000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x800000 CONFIG_SPL_FS_EXT4=y CONFIG_SPL_I2C=y CONFIG_SPL_MTD_SUPPORT=y
configs/am335x_boneblack_vboot_defconfig +2 -2
@@ -23,8 +23,8 @@ CONFIG_AUTOBOOT_STOP_STR=" " CONFIG_BOOTCOMMAND="run findfdt; run init_console; run finduuid; run distro_bootcmd" CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_ARCH_MISC_INIT=y -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x800000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x800000 CONFIG_SPL_MUSB_NEW=y # CONFIG_SPL_NAND_SUPPORT is not set CONFIG_SPL_NET=y
configs/am335x_evm_defconfig +2 -2
@@ -20,8 +20,8 @@ CONFIG_BOOTCOMMAND="run findfdt; run init_console; run finduuid; run distro_boot CONFIG_LOGLEVEL=3 CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_ARCH_MISC_INIT=y -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x800000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x800000 CONFIG_SPL_FIT_IMAGE_TINY=y CONFIG_SPL_ETH=y # CONFIG_SPL_FS_EXT4 is not set
configs/am335x_evm_spiboot_defconfig +2 -2
@@ -23,8 +23,8 @@ CONFIG_BOOTCOMMAND="run findfdt; run init_console; run finduuid; run distro_boot CONFIG_LOGLEVEL=3 CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_ARCH_MISC_INIT=y -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x800000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x800000 CONFIG_SPL_FIT_IMAGE_TINY=y # CONFIG_SPL_FS_EXT4 is not set CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img"
configs/am335x_guardian_defconfig +2 -2
@@ -31,8 +31,8 @@ CONFIG_AUTOBOOT_STOP_STR=" " CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_ARCH_MISC_INIT=y # CONFIG_SPL_RAW_IMAGE_SUPPORT is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x800000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x800000 # CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set CONFIG_SPL_ENV_SUPPORT=y CONFIG_SPL_ETH=y
configs/am335x_hs_evm_defconfig +2 -2
@@ -21,8 +21,8 @@ CONFIG_LOGLEVEL=3 CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_ARCH_MISC_INIT=y CONFIG_SPL_MAX_SIZE=0xb0b0 -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x800000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x800000 CONFIG_SPL_FIT_IMAGE_TINY=y # CONFIG_SPL_ENV_SUPPORT is not set # CONFIG_SPL_FS_EXT4 is not set
configs/am335x_hs_evm_uart_defconfig +2 -2
@@ -24,8 +24,8 @@ CONFIG_LOGLEVEL=3 CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_ARCH_MISC_INIT=y CONFIG_SPL_MAX_SIZE=0x9ab0 -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x800000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x800000 CONFIG_SPL_FIT_IMAGE_TINY=y # CONFIG_SPL_ENV_SUPPORT is not set # CONFIG_SPL_FS_EXT4 is not set
configs/am335x_igep003x_defconfig +2 -2
@@ -20,8 +20,8 @@ CONFIG_OF_BOARD_SETUP=y CONFIG_FDT_FIXUP_PARTITIONS=y CONFIG_BOOTCOMMAND="run findfdt;run mmcboot;run nandboot;run netboot;" CONFIG_SYS_CONSOLE_INFO_QUIET=y -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x800000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x800000 CONFIG_SPL_FS_EXT4=y CONFIG_SPL_I2C=y CONFIG_SPL_MTD_SUPPORT=y
configs/am335x_pdu001_defconfig +2 -2
@@ -24,8 +24,8 @@ CONFIG_AUTOBOOT_PROMPT="Press SPACE to abort autoboot in %d seconds\n" CONFIG_AUTOBOOT_STOP_STR=" " CONFIG_BOOTCOMMAND="run eval_boot_device;part uuid mmc ${mmc_boot}:${root_fs_partition} root_fs_partuuid;setenv bootargs console=${console} vt.global_cursor_default=0 root=PARTUUID=${root_fs_partuuid} rootfstype=ext4 rootwait rootdelay=1;fatload mmc ${mmc_boot} ${fdtaddr} ${fdtfile};fatload mmc ${mmc_boot} ${loadaddr} ${bootfile};bootz ${loadaddr} - ${fdtaddr}" CONFIG_BOARD_LATE_INIT=y -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x800000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x800000 # CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set CONFIG_SPL_I2C=y # CONFIG_SPL_NAND_SUPPORT is not set
configs/am335x_shc_defconfig +2 -2
@@ -33,8 +33,8 @@ CONFIG_BOOTCOMMAND="if mmc dev 1; mmc rescan; then run emmc_setup; else echo ERR CONFIG_DEFAULT_FDT_FILE="am335x-shc" CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_SPL_SYS_MALLOC_SIMPLE=y -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x800000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x800000 CONFIG_SPL_FS_EXT4=y CONFIG_SPL_I2C=y # CONFIG_SPL_NAND_SUPPORT is not set
configs/am335x_shc_ict_defconfig +2 -2
@@ -31,8 +31,8 @@ CONFIG_BOOTCOMMAND="if mmc dev 0; mmc rescan; then run sd_setup; else echo ERROR CONFIG_DEFAULT_FDT_FILE="am335x-shc" CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_SPL_SYS_MALLOC_SIMPLE=y -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x800000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x800000 CONFIG_SPL_FS_EXT4=y CONFIG_SPL_I2C=y # CONFIG_SPL_NAND_SUPPORT is not set
configs/am335x_shc_netboot_defconfig +2 -2
@@ -34,8 +34,8 @@ CONFIG_BOOTCOMMAND="run fusecmd; if run netboot; then echo Booting from network; CONFIG_DEFAULT_FDT_FILE="am335x-shc" CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_SPL_SYS_MALLOC_SIMPLE=y -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x800000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x800000 CONFIG_SPL_ENV_SUPPORT=y CONFIG_SPL_FS_EXT4=y CONFIG_SPL_I2C=y
configs/am335x_shc_sdboot_defconfig +2 -2
@@ -34,8 +34,8 @@ CONFIG_BOOTCOMMAND="if mmc dev 0; mmc rescan; then run sd_setup; else echo ERROR CONFIG_DEFAULT_FDT_FILE="am335x-shc" CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_SPL_SYS_MALLOC_SIMPLE=y -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x800000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x800000 CONFIG_SPL_FS_EXT4=y CONFIG_SPL_I2C=y # CONFIG_SPL_NAND_SUPPORT is not set
configs/am335x_sl50_defconfig +2 -2
@@ -23,8 +23,8 @@ CONFIG_AUTOBOOT_PROMPT="Press SPACE to abort autoboot in %d seconds\n" CONFIG_AUTOBOOT_DELAY_STR="d" CONFIG_AUTOBOOT_STOP_STR=" " CONFIG_SYS_CONSOLE_INFO_QUIET=y -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x800000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x800000 CONFIG_SPL_ENV_SUPPORT=y CONFIG_SPL_FS_EXT4=y CONFIG_SPL_I2C=y
configs/am3517_evm_defconfig +2 -2
@@ -22,8 +22,8 @@ CONFIG_BOOTDELAY=10 CONFIG_BOOTCOMMAND="mmc dev ${mmcdev}; if mmc rescan; then echo SD/MMC found on device $mmcdev; if run loadbootenv; then run importbootenv; fi; echo Checking if uenvcmd is set ...; if test -n $uenvcmd; then echo Running uenvcmd ...; run uenvcmd; fi; echo Running default loadimage ...; setenv bootfile zImage; if run loadimage; then run loadfdt; run mmcboot; fi; else run nandboot; fi" CONFIG_SPL_MAX_SIZE=0xec00 CONFIG_SPL_SYS_MALLOC_SIMPLE=y -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x800000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x800000 # CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set # CONFIG_SPL_FS_EXT4 is not set # CONFIG_SPL_I2C is not set
configs/am43xx_evm_defconfig +2 -2
@@ -18,8 +18,8 @@ CONFIG_BOOTCOMMAND="run findfdt; run finduuid; run distro_bootcmd" CONFIG_SYS_CONSOLE_INFO_QUIET=y # CONFIG_MISC_INIT_R is not set CONFIG_SPL_MAX_SIZE=0x439e0 -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x800000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x800000 CONFIG_SPL_ETH=y CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img" CONFIG_SPL_MTD_SUPPORT=y
configs/am43xx_evm_rtconly_defconfig +2 -2
@@ -18,8 +18,8 @@ CONFIG_BOOTCOMMAND="run findfdt; run finduuid; run distro_bootcmd" CONFIG_SYS_CONSOLE_INFO_QUIET=y # CONFIG_MISC_INIT_R is not set CONFIG_SPL_MAX_SIZE=0x439e0 -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x800000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x800000 CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img" CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_NAND_DRIVERS=y
configs/am43xx_evm_usbhost_boot_defconfig +2 -2
@@ -17,8 +17,8 @@ CONFIG_BOOTCOMMAND="run findfdt; run finduuid; run distro_bootcmd" CONFIG_SYS_CONSOLE_INFO_QUIET=y # CONFIG_MISC_INIT_R is not set CONFIG_SPL_MAX_SIZE=0x37690 -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x800000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x800000 CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img" CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_NAND_DRIVERS=y
configs/am43xx_hs_evm_defconfig +2 -2
@@ -24,8 +24,8 @@ CONFIG_BOOTCOMMAND="run findfdt; run finduuid; run distro_bootcmd" CONFIG_SYS_CONSOLE_INFO_QUIET=y # CONFIG_MISC_INIT_R is not set CONFIG_SPL_MAX_SIZE=0x36100 -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x800000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x800000 CONFIG_SPL_ETH=y CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img" CONFIG_SPL_MTD_SUPPORT=y
configs/am57xx_evm_defconfig +2 -2
@@ -30,8 +30,8 @@ CONFIG_AVB_VERIFY=y CONFIG_ANDROID_AB=y CONFIG_SPL_MAX_SIZE=0x7bc00 CONFIG_SPL_SYS_MALLOC_SIMPLE=y -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x800000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x800000 CONFIG_SPL_DMA=y CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img" # CONFIG_SPL_NAND_SUPPORT is not set
configs/am57xx_hs_evm_defconfig +2 -2
@@ -33,8 +33,8 @@ CONFIG_AVB_VERIFY=y CONFIG_ANDROID_AB=y CONFIG_SPL_MAX_SIZE=0x7a8b0 CONFIG_SPL_SYS_MALLOC_SIMPLE=y -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x800000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x800000 CONFIG_SPL_DMA=y CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img" # CONFIG_SPL_NAND_SUPPORT is not set
configs/am57xx_hs_evm_usb_defconfig +2 -2
@@ -35,8 +35,8 @@ CONFIG_AVB_VERIFY=y CONFIG_ANDROID_AB=y CONFIG_SPL_MAX_SIZE=0x74eb0 CONFIG_SPL_SYS_MALLOC_SIMPLE=y -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x800000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x800000 CONFIG_SPL_DMA=y CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img" # CONFIG_SPL_NAND_SUPPORT is not set
configs/am62ax_evm_r5_defconfig +3 -3
@@ -36,9 +36,9 @@ CONFIG_SPL_SYS_REPORT_STACK_F_USAGE=y CONFIG_SPL_SYS_MALLOC_SIMPLE=y CONFIG_SPL_STACK_R=y CONFIG_SPL_SEPARATE_BSS=y -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x84000000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x84000000 CONFIG_SPL_EARLY_BSS=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x400
configs/am62x_evm_r5_defconfig +4 -4
@@ -43,10 +43,10 @@ CONFIG_SPL_SYS_REPORT_STACK_F_USAGE=y CONFIG_SPL_SYS_MALLOC_SIMPLE=y CONFIG_SPL_STACK_R=y CONFIG_SPL_SEPARATE_BSS=y -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x84000000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x1000000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x84000000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x1000000 CONFIG_SPL_EARLY_BSS=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x400
configs/am64x_evm_a53_defconfig +2 -2
@@ -41,8 +41,8 @@ CONFIG_SPL_BSS_MAX_SIZE=0x80000 CONFIG_SPL_BOARD_INIT=y CONFIG_SPL_SYS_MALLOC_SIMPLE=y CONFIG_SPL_STACK_R=y -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x800000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x800000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x1400 CONFIG_SPL_DMA=y
configs/am64x_evm_r5_defconfig +4 -4
@@ -44,10 +44,10 @@ CONFIG_SPL_BOARD_INIT=y CONFIG_SPL_SYS_MALLOC_SIMPLE=y CONFIG_SPL_STACK_R=y CONFIG_SPL_SEPARATE_BSS=y -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x84000000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x1000000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x84000000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x1000000 CONFIG_SPL_EARLY_BSS=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x400
configs/am65x_evm_a53_defconfig +2 -2
@@ -43,8 +43,8 @@ CONFIG_SPL_BSS_START_ADDR=0x80a00000 CONFIG_SPL_BSS_MAX_SIZE=0x80000 CONFIG_SPL_SYS_MALLOC_SIMPLE=y CONFIG_SPL_STACK_R=y -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x800000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x800000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x1400 CONFIG_SPL_DMA=y
configs/am65x_evm_r5_defconfig +4 -4
@@ -40,10 +40,10 @@ CONFIG_SPL_BSS_MAX_SIZE=0xc00 CONFIG_SPL_SYS_REPORT_STACK_F_USAGE=y CONFIG_SPL_STACK_R=y CONFIG_SPL_SEPARATE_BSS=y -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x84000000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x1000000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x84000000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x1000000 CONFIG_SPL_EARLY_BSS=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x400
configs/am65x_evm_r5_usbdfu_defconfig +4 -4
@@ -37,10 +37,10 @@ CONFIG_SPL_BSS_MAX_SIZE=0xc00 CONFIG_SPL_SYS_REPORT_STACK_F_USAGE=y CONFIG_SPL_STACK_R=y CONFIG_SPL_SEPARATE_BSS=y -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x84000000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x1000000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x84000000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x1000000 CONFIG_SPL_EARLY_BSS=y CONFIG_SPL_DMA=y CONFIG_SPL_ENV_SUPPORT=y
configs/am65x_evm_r5_usbmsc_defconfig +4 -4
@@ -36,10 +36,10 @@ CONFIG_SPL_BSS_MAX_SIZE=0xc00 CONFIG_SPL_SYS_REPORT_STACK_F_USAGE=y CONFIG_SPL_STACK_R=y CONFIG_SPL_SEPARATE_BSS=y -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x84000000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x1000000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x84000000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x1000000 CONFIG_SPL_EARLY_BSS=y CONFIG_SPL_DMA=y CONFIG_SPL_ENV_SUPPORT=y
configs/am65x_hs_evm_a53_defconfig +2 -2
@@ -43,8 +43,8 @@ CONFIG_SPL_BSS_START_ADDR=0x80a00000 CONFIG_SPL_BSS_MAX_SIZE=0x80000 CONFIG_SPL_SYS_MALLOC_SIMPLE=y CONFIG_SPL_STACK_R=y -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x800000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x800000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x1400 CONFIG_SPL_DMA=y
configs/am65x_hs_evm_r5_defconfig +4 -4
@@ -36,10 +36,10 @@ CONFIG_SPL_BSS_START_ADDR=0x41c7effc CONFIG_SPL_BSS_MAX_SIZE=0xc00 CONFIG_SPL_STACK_R=y CONFIG_SPL_SEPARATE_BSS=y -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x84000000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x1000000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x84000000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x1000000 CONFIG_SPL_EARLY_BSS=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x400
configs/apalis-tk1_defconfig +4 -4
@@ -29,10 +29,10 @@ CONFIG_ARCH_MISC_INIT=y CONFIG_SPL_FOOTPRINT_LIMIT=y CONFIG_SPL_MAX_FOOTPRINT=0x8000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x80090000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x10000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x80090000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x10000 CONFIG_SYS_MAXARGS=32 CONFIG_SYS_CBSIZE=1024 CONFIG_SYS_PBSIZE=1054
configs/apalis_imx6_defconfig +1 -1
@@ -40,7 +40,7 @@ CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y CONFIG_DISPLAY_BOARDINFO_LATE=y CONFIG_BOARD_EARLY_INIT_F=y CONFIG_MISC_INIT_R=y -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_DMA=y CONFIG_SPL_I2C=y CONFIG_SYS_MAXARGS=48
configs/apalis_t30_defconfig +4 -4
@@ -24,10 +24,10 @@ CONFIG_ARCH_MISC_INIT=y CONFIG_SPL_FOOTPRINT_LIMIT=y CONFIG_SPL_MAX_FOOTPRINT=0x8000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x80090000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x10000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x80090000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x10000 CONFIG_SYS_MAXARGS=32 CONFIG_SYS_CBSIZE=1024 CONFIG_SYS_PBSIZE=1054
configs/axm_defconfig +4 -4
@@ -45,10 +45,10 @@ CONFIG_SPL_BSS_MAX_SIZE=0x600 # CONFIG_SPL_LEGACY_IMAGE_FORMAT is not set CONFIG_SPL_SYS_MALLOC_SIMPLE=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x20ba0000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x460000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x20ba0000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x460000 CONFIG_SPL_NAND_SUPPORT=y CONFIG_SPL_NAND_RAW_ONLY=y CONFIG_SPL_NAND_DRIVERS=y
configs/beaver_defconfig +4 -4
@@ -22,10 +22,10 @@ CONFIG_SYS_STDIO_DEREGISTER=y CONFIG_SPL_FOOTPRINT_LIMIT=y CONFIG_SPL_MAX_FOOTPRINT=0x8000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x80090000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x10000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x80090000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x10000 CONFIG_SYS_MAXARGS=64 CONFIG_SYS_PBSIZE=2084 # CONFIG_CMD_IMI is not set
configs/bitmain_antminer_s9_defconfig +2 -2
@@ -34,8 +34,8 @@ CONFIG_SPL_BSS_START_ADDR=0x100000 CONFIG_SPL_BSS_MAX_SIZE=0x100000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set CONFIG_SPL_STACK_R=y -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x2000000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x2000000 CONFIG_HUSH_PARSER=y CONFIG_SYS_MAXARGS=32 CONFIG_SYS_PBSIZE=2075
configs/brppt1_mmc_defconfig +2 -2
@@ -37,8 +37,8 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y # CONFIG_DISPLAY_BOARDINFO is not set CONFIG_ARCH_MISC_INIT=y CONFIG_SPL_SYS_MALLOC_SIMPLE=y -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x500000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x500000 CONFIG_SPL_I2C=y # CONFIG_SPL_NAND_SUPPORT is not set CONFIG_SPL_POWER=y
configs/brppt2_defconfig +1 -1
@@ -32,7 +32,7 @@ CONFIG_USE_BOOTCOMMAND=y CONFIG_BOOTCOMMAND="run b_default" CONFIG_BOARD_EARLY_INIT_F=y CONFIG_SPL_BOARD_INIT=y -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y # CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set CONFIG_SPL_I2C=y CONFIG_SPL_DM_SPI_FLASH=y
configs/brsmarc1_defconfig +2 -2
@@ -38,8 +38,8 @@ CONFIG_BOARD_TYPES=y CONFIG_ARCH_MISC_INIT=y # CONFIG_SPL_RAW_IMAGE_SUPPORT is not set CONFIG_SPL_SYS_MALLOC_SIMPLE=y -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x500000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x500000 # CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set CONFIG_SPL_I2C=y # CONFIG_SPL_NAND_SUPPORT is not set
configs/brxre1_defconfig +2 -2
@@ -34,8 +34,8 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y # CONFIG_DISPLAY_BOARDINFO is not set CONFIG_ARCH_MISC_INIT=y CONFIG_SPL_SYS_MALLOC_SIMPLE=y -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x500000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x500000 CONFIG_SPL_I2C=y # CONFIG_SPL_NAND_SUPPORT is not set CONFIG_SPL_POWER=y
configs/cardhu_defconfig +4 -4
@@ -21,10 +21,10 @@ CONFIG_SYS_STDIO_DEREGISTER=y CONFIG_SPL_FOOTPRINT_LIMIT=y CONFIG_SPL_MAX_FOOTPRINT=0x8000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x80090000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x10000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x80090000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x10000 CONFIG_SYS_MAXARGS=64 CONFIG_SYS_PBSIZE=2084 # CONFIG_CMD_IMI is not set
configs/cei-tk1-som_defconfig +4 -4
@@ -25,10 +25,10 @@ CONFIG_SYS_STDIO_DEREGISTER=y CONFIG_SPL_FOOTPRINT_LIMIT=y CONFIG_SPL_MAX_FOOTPRINT=0x8000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x80090000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x10000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x80090000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x10000 CONFIG_SYS_MAXARGS=64 CONFIG_SYS_PBSIZE=2086 # CONFIG_CMD_IMI is not set
configs/cgtqmx8_defconfig +4 -4
@@ -36,10 +36,10 @@ CONFIG_SPL_BSS_MAX_SIZE=0x1000 # CONFIG_SPL_BINMAN_UBOOT_SYMBOLS is not set CONFIG_SPL_BOARD_INIT=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x120000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x3000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x120000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x3000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x800 CONFIG_SYS_MMCSD_FS_BOOT_PARTITION=0
configs/chiliboard_defconfig +2 -2
@@ -24,8 +24,8 @@ CONFIG_BOOTCOMMAND="run mmcboot; run nandboot; run netboot" CONFIG_DEFAULT_FDT_FILE="am335x-chiliboard.dtb" CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_ARCH_MISC_INIT=y -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x800000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x800000 CONFIG_SPL_I2C=y CONFIG_SPL_NAND_DRIVERS=y CONFIG_SPL_NAND_ECC=y
configs/cl-som-imx7_defconfig +1 -1
@@ -32,7 +32,7 @@ CONFIG_SPL_MAX_SIZE=0xe000 CONFIG_SPL_HAS_BSS_LINKER_SECTION=y CONFIG_SPL_BSS_MAX_SIZE=0x100000 CONFIG_SPL_BOARD_INIT=y -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x80 CONFIG_SPL_I2C=y CONFIG_SPL_SPI_LOAD=y
configs/cm_fx6_defconfig +1 -1
@@ -34,7 +34,7 @@ CONFIG_BOOTCOMMAND="run findfdt; run distro_bootcmd; run legacy_bootcmd" CONFIG_USE_PREBOOT=y CONFIG_PREBOOT="usb start;sf probe" CONFIG_MISC_INIT_R=y -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x80 CONFIG_SPL_I2C=y CONFIG_SPL_SPI_LOAD=y
configs/cm_t43_defconfig +2 -2
@@ -33,8 +33,8 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y # CONFIG_DISPLAY_BOARDINFO is not set # CONFIG_MISC_INIT_R is not set CONFIG_SPL_MAX_SIZE=0x37690 -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x800000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x800000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x480 CONFIG_SPL_FS_EXT4=y CONFIG_SPL_I2C=y
configs/colibri_imx6_defconfig +1 -1
@@ -39,7 +39,7 @@ CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y CONFIG_DISPLAY_BOARDINFO_LATE=y CONFIG_BOARD_EARLY_INIT_F=y CONFIG_MISC_INIT_R=y -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_DMA=y CONFIG_SPL_I2C=y CONFIG_SYS_MAXARGS=48
configs/colibri_t20_defconfig +4 -4
@@ -22,10 +22,10 @@ CONFIG_ARCH_MISC_INIT=y CONFIG_SPL_FOOTPRINT_LIMIT=y CONFIG_SPL_MAX_FOOTPRINT=0x8000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x90000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x10000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x90000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x10000 CONFIG_SYS_MAXARGS=32 CONFIG_SYS_CBSIZE=1024 CONFIG_SYS_PBSIZE=1055
configs/colibri_t30_defconfig +4 -4
@@ -23,10 +23,10 @@ CONFIG_ARCH_MISC_INIT=y CONFIG_SPL_FOOTPRINT_LIMIT=y CONFIG_SPL_MAX_FOOTPRINT=0x8000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x80090000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x10000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x80090000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x10000 CONFIG_SYS_MAXARGS=32 CONFIG_SYS_CBSIZE=1024 CONFIG_SYS_PBSIZE=1055
configs/da850evm_defconfig +4 -4
@@ -46,10 +46,10 @@ CONFIG_SPL_FOOTPRINT_LIMIT=y CONFIG_SPL_MAX_FOOTPRINT=0x8000 CONFIG_SPL_SYS_MALLOC_SIMPLE=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0xc0f70000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x110000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0xc0f70000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x110000 # CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set CONFIG_SPL_DM_SPI_FLASH=y CONFIG_SPL_SPI_LOAD=y
configs/da850evm_nand_defconfig +4 -4
@@ -42,10 +42,10 @@ CONFIG_SPL_FOOTPRINT_LIMIT=y CONFIG_SPL_MAX_FOOTPRINT=0x8000 CONFIG_SPL_SYS_MALLOC_SIMPLE=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0xc0f70000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x110000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0xc0f70000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x110000 # CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set CONFIG_SPL_NAND_SUPPORT=y CONFIG_SPL_NAND_DRIVERS=y
configs/dalmore_defconfig +4 -4
@@ -21,10 +21,10 @@ CONFIG_SYS_STDIO_DEREGISTER=y CONFIG_SPL_FOOTPRINT_LIMIT=y CONFIG_SPL_MAX_FOOTPRINT=0x8000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x80090000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x10000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x80090000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x10000 CONFIG_SYS_MAXARGS=64 CONFIG_SYS_PBSIZE=2086 # CONFIG_CMD_IMI is not set
configs/deneb_defconfig +4 -4
@@ -47,10 +47,10 @@ CONFIG_SPL_BSS_MAX_SIZE=0x1000 CONFIG_SPL_BOARD_INIT=y CONFIG_SPL_SYS_MALLOC_SIMPLE=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x120000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x3000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x120000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x3000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x800 CONFIG_SPL_POWER_DOMAIN=y
configs/devkit8000_defconfig +3 -3
@@ -19,9 +19,9 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_SPL_MAX_SIZE=0xec00 CONFIG_SPL_BSS_START_ADDR=0x80000500 CONFIG_SPL_SYS_MALLOC_SIMPLE=y -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x80208000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x80208000 # CONFIG_SPL_FS_EXT4 is not set CONFIG_SPL_NAND_DRIVERS=y CONFIG_SPL_NAND_ECC=y
configs/dh_imx6_defconfig +1 -1
@@ -39,7 +39,7 @@ CONFIG_DISTRO_DEFAULTS=y CONFIG_BOOTDELAY=3 # CONFIG_USE_BOOTCOMMAND is not set CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_SPI_LOAD=y CONFIG_SYS_SPI_U_BOOT_OFFS=0x11400 CONFIG_SPL_WATCHDOG=y
configs/display5_defconfig +1 -1
@@ -39,7 +39,7 @@ CONFIG_USE_BOOTCOMMAND=y CONFIG_BOOTCOMMAND="if run check_em_pad; then run recovery;else if test ${BOOT_FROM} = FACTORY; then run factory_nfs;else run boot_mmc;fi;fi" CONFIG_MISC_INIT_R=y CONFIG_SPL_BOOTCOUNT_LIMIT=y -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y # CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set CONFIG_SPL_DMA=y CONFIG_SPL_ENV_SUPPORT=y
configs/display5_factory_defconfig +1 -1
@@ -36,7 +36,7 @@ CONFIG_OF_BOARD_SETUP=y CONFIG_USE_BOOTCOMMAND=y CONFIG_BOOTCOMMAND="echo SDP Display5 recovery" CONFIG_MISC_INIT_R=y -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y # CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set CONFIG_SPL_DMA=y CONFIG_SPL_I2C=y
configs/dra7xx_evm_defconfig +2 -2
@@ -30,8 +30,8 @@ CONFIG_BOARD_EARLY_INIT_F=y # CONFIG_MISC_INIT_R is not set CONFIG_SPL_MAX_SIZE=0x7bc00 CONFIG_SPL_SYS_MALLOC_SIMPLE=y -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x800000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x800000 CONFIG_SPL_DMA=y CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img" CONFIG_SPL_NAND_DRIVERS=y
configs/dra7xx_hs_evm_defconfig +2 -2
@@ -33,8 +33,8 @@ CONFIG_BOARD_EARLY_INIT_F=y # CONFIG_MISC_INIT_R is not set CONFIG_SPL_MAX_SIZE=0x7a8b0 CONFIG_SPL_SYS_MALLOC_SIMPLE=y -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x800000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x800000 CONFIG_SPL_DMA=y CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img" # CONFIG_SPL_NAND_SUPPORT is not set
configs/dra7xx_hs_evm_usb_defconfig +2 -2
@@ -34,8 +34,8 @@ CONFIG_BOARD_EARLY_INIT_F=y # CONFIG_MISC_INIT_R is not set CONFIG_SPL_MAX_SIZE=0x74eb0 CONFIG_SPL_SYS_MALLOC_SIMPLE=y -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x800000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x800000 CONFIG_SPL_DMA=y CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img" # CONFIG_SPL_NAND_SUPPORT is not set
configs/draco_defconfig +3 -3
@@ -38,9 +38,9 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y # CONFIG_DISPLAY_BOARDINFO is not set CONFIG_ARCH_MISC_INIT=y CONFIG_SPL_BSS_START_ADDR=0x80000000 -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x80208000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x80208000 CONFIG_SPL_I2C=y CONFIG_SPL_NAND_DRIVERS=y CONFIG_SPL_NAND_ECC=y
configs/endeavoru_defconfig +4 -4
@@ -25,10 +25,10 @@ CONFIG_BOOTCOMMAND="if run check_button; then bootmenu; fi; run bootcmd_mmc0; po CONFIG_SPL_FOOTPRINT_LIMIT=y CONFIG_SPL_MAX_FOOTPRINT=0x8000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x80090000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x10000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x80090000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x10000 CONFIG_SYS_MAXARGS=64 CONFIG_SYS_PBSIZE=2084 CONFIG_CMD_BOOTMENU=y
configs/etamin_defconfig +3 -3
@@ -39,9 +39,9 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y # CONFIG_DISPLAY_BOARDINFO is not set CONFIG_ARCH_MISC_INIT=y CONFIG_SPL_BSS_START_ADDR=0x80000000 -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x80208000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x80208000 CONFIG_SPL_I2C=y CONFIG_SPL_NAND_DRIVERS=y CONFIG_SPL_NAND_ECC=y
configs/gardena-smart-gateway-at91sam_defconfig +2 -2
@@ -43,8 +43,8 @@ CONFIG_SPL_BSS_START_ADDR=0x20000000 CONFIG_SPL_BSS_MAX_SIZE=0x80000 CONFIG_SPL_SYS_MALLOC_SIMPLE=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 # CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set CONFIG_SPL_NAND_SUPPORT=y CONFIG_SPL_NAND_RAW_ONLY=y
configs/ge_b1x5v2_defconfig +1 -1
@@ -39,7 +39,7 @@ CONFIG_LOG_MAX_LEVEL=8 CONFIG_LOG_DEFAULT_LEVEL=4 CONFIG_BOARD_EARLY_INIT_F=y CONFIG_MISC_INIT_R=y -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_SPI_LOAD=y CONFIG_SYS_SPI_U_BOOT_OFFS=0x11400 CONFIG_HUSH_PARSER=y
configs/giedi_defconfig +4 -4
@@ -47,10 +47,10 @@ CONFIG_SPL_BSS_MAX_SIZE=0x1000 CONFIG_SPL_BOARD_INIT=y CONFIG_SPL_SYS_MALLOC_SIMPLE=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x120000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x3000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x120000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x3000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x800 CONFIG_SPL_POWER_DOMAIN=y
configs/grouper_common_defconfig +4 -4
@@ -25,10 +25,10 @@ CONFIG_BOOTCOMMAND="if run check_button; then bootmenu; fi; run bootcmd_mmc0; po CONFIG_SPL_FOOTPRINT_LIMIT=y CONFIG_SPL_MAX_FOOTPRINT=0x8000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x80090000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x10000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x80090000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x10000 CONFIG_SYS_MAXARGS=64 CONFIG_SYS_PBSIZE=2084 CONFIG_CMD_BOOTMENU=y
configs/gwventana_emmc_defconfig +1 -1
@@ -45,7 +45,7 @@ CONFIG_MISC_INIT_R=y CONFIG_PCI_INIT_R=y CONFIG_SPL_BOARD_INIT=y CONFIG_SPL_STACK_R=y -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_FIT_IMAGE_TINY=y CONFIG_SPL_DMA=y CONFIG_SPL_I2C=y
configs/gwventana_nand_defconfig +1 -1
@@ -45,7 +45,7 @@ CONFIG_MISC_INIT_R=y CONFIG_PCI_INIT_R=y CONFIG_SPL_BOARD_INIT=y CONFIG_SPL_STACK_R=y -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_FIT_IMAGE_TINY=y CONFIG_SPL_DMA=y CONFIG_SPL_I2C=y
configs/harmony_defconfig +4 -4
@@ -19,10 +19,10 @@ CONFIG_SYS_STDIO_DEREGISTER=y CONFIG_SPL_FOOTPRINT_LIMIT=y CONFIG_SPL_MAX_FOOTPRINT=0x8000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x90000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x10000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x90000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x10000 CONFIG_SYS_MAXARGS=64 CONFIG_SYS_PBSIZE=2085 # CONFIG_CMD_IMI is not set
configs/igep00x0_defconfig +2 -2
@@ -21,8 +21,8 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y # CONFIG_DISPLAY_BOARDINFO is not set CONFIG_SPL_MAX_SIZE=0xec00 CONFIG_SPL_SYS_MALLOC_SIMPLE=y -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x800000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x800000 # CONFIG_SPL_FS_EXT4 is not set CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_NAND_DRIVERS=y
configs/imx6dl_icore_nand_defconfig +1 -1
@@ -25,7 +25,7 @@ CONFIG_LEGACY_IMAGE_FORMAT=y CONFIG_BOOTDELAY=3 CONFIG_USE_BOOTCOMMAND=y CONFIG_BOOTCOMMAND="run $modeboot" -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_DMA=y CONFIG_SPL_NAND_SUPPORT=y CONFIG_SPL_WATCHDOG=y
configs/imx6dl_mamoj_defconfig +1 -1
@@ -18,7 +18,7 @@ CONFIG_SYS_MEMTEST_END=0x88000000 CONFIG_LTO=y CONFIG_DISTRO_DEFAULTS=y CONFIG_BOOTDELAY=3 -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_OS_BOOT=y CONFIG_SYS_SPL_ARGS_ADDR=0x13000000 CONFIG_SPL_FALCON_BOOT_MMCSD=y
configs/imx6q_bosch_acc_defconfig +1 -1
@@ -35,7 +35,7 @@ CONFIG_USE_BOOTCOMMAND=y CONFIG_BOOTCOMMAND="run mmc_mmc_fit" CONFIG_SPL_BOARD_INIT=y CONFIG_SPL_RAW_IMAGE_SUPPORT=y -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0xaa # CONFIG_SPL_CRYPTO is not set CONFIG_SPL_WATCHDOG=y
configs/imx6q_icore_nand_defconfig +1 -1
@@ -26,7 +26,7 @@ CONFIG_SUPPORT_RAW_INITRD=y CONFIG_BOOTDELAY=3 CONFIG_USE_BOOTCOMMAND=y CONFIG_BOOTCOMMAND="run $modeboot" -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_DMA=y CONFIG_SPL_NAND_SUPPORT=y CONFIG_SPL_WATCHDOG=y
configs/imx6q_logic_defconfig +1 -1
@@ -29,7 +29,7 @@ CONFIG_BOOTCOMMAND="run autoboot" CONFIG_SYS_CONSOLE_IS_IN_ENV=y CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y CONFIG_SPL_RAW_IMAGE_SUPPORT=y -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y # CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set CONFIG_SPL_DMA=y CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot-dtb.img"
configs/imx6qdl_icore_mipi_defconfig +1 -1
@@ -34,7 +34,7 @@ CONFIG_BOOTDELAY=3 CONFIG_USE_BOOTCOMMAND=y CONFIG_BOOTCOMMAND="run $modeboot" CONFIG_SPL_RAW_IMAGE_SUPPORT=y -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_OS_BOOT=y CONFIG_SYS_SPL_ARGS_ADDR=0x18000000 CONFIG_SPL_FALCON_BOOT_MMCSD=y
configs/imx6qdl_icore_mmc_defconfig +1 -1
@@ -37,7 +37,7 @@ CONFIG_BOOTDELAY=3 CONFIG_USE_BOOTCOMMAND=y CONFIG_BOOTCOMMAND="run $modeboot" CONFIG_SPL_RAW_IMAGE_SUPPORT=y -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_OS_BOOT=y CONFIG_SYS_SPL_ARGS_ADDR=0x18000000 CONFIG_SPL_FALCON_BOOT_MMCSD=y
configs/imx6qdl_icore_nand_defconfig +1 -1
@@ -26,7 +26,7 @@ CONFIG_SUPPORT_RAW_INITRD=y CONFIG_BOOTDELAY=3 CONFIG_USE_BOOTCOMMAND=y CONFIG_BOOTCOMMAND="run $modeboot" -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_DMA=y CONFIG_SPL_NAND_SUPPORT=y CONFIG_SPL_WATCHDOG=y
configs/imx6qdl_icore_rqs_defconfig +1 -1
@@ -31,7 +31,7 @@ CONFIG_BOOTDELAY=3 CONFIG_USE_BOOTCOMMAND=y CONFIG_BOOTCOMMAND="run $modeboot" CONFIG_SPL_RAW_IMAGE_SUPPORT=y -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_OS_BOOT=y CONFIG_SYS_SPL_ARGS_ADDR=0x18000000 CONFIG_SPL_FALCON_BOOT_MMCSD=y
configs/imx6ul_geam_mmc_defconfig +1 -1
@@ -30,7 +30,7 @@ CONFIG_BOOTDELAY=3 CONFIG_USE_BOOTCOMMAND=y CONFIG_BOOTCOMMAND="run $modeboot" CONFIG_SPL_RAW_IMAGE_SUPPORT=y -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_WATCHDOG=y CONFIG_HUSH_PARSER=y CONFIG_SYS_MAXARGS=32
configs/imx6ul_geam_nand_defconfig +1 -1
@@ -26,7 +26,7 @@ CONFIG_SUPPORT_RAW_INITRD=y CONFIG_BOOTDELAY=3 CONFIG_USE_BOOTCOMMAND=y CONFIG_BOOTCOMMAND="run $modeboot" -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_DMA=y CONFIG_SPL_NAND_SUPPORT=y CONFIG_SPL_WATCHDOG=y
configs/imx6ul_isiot_emmc_defconfig +1 -1
@@ -30,7 +30,7 @@ CONFIG_BOOTDELAY=3 CONFIG_USE_BOOTCOMMAND=y CONFIG_BOOTCOMMAND="run $modeboot" CONFIG_SPL_RAW_IMAGE_SUPPORT=y -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_WATCHDOG=y CONFIG_HUSH_PARSER=y CONFIG_SYS_MAXARGS=32
configs/imx6ul_isiot_nand_defconfig +1 -1
@@ -26,7 +26,7 @@ CONFIG_SUPPORT_RAW_INITRD=y CONFIG_BOOTDELAY=3 CONFIG_USE_BOOTCOMMAND=y CONFIG_BOOTCOMMAND="run $modeboot" -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_DMA=y CONFIG_SPL_NAND_SUPPORT=y CONFIG_SPL_WATCHDOG=y
configs/imx6ulz_smm_m2_defconfig +1 -1
@@ -23,7 +23,7 @@ CONFIG_DISTRO_DEFAULTS=y CONFIG_BOOTDELAY=3 CONFIG_BOARD_LATE_INIT=y CONFIG_SPL_BSS_START_ADDR=0x84100000 -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_DMA=y CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_NAND_SUPPORT=y
configs/imx7_cm_defconfig +1 -1
@@ -28,7 +28,7 @@ CONFIG_DEFAULT_FDT_FILE="ask" CONFIG_SPL_MAX_SIZE=0xe000 CONFIG_SPL_HAS_BSS_LINKER_SECTION=y CONFIG_SPL_BSS_MAX_SIZE=0x100000 -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_I2C=y CONFIG_SYS_MAXARGS=32 CONFIG_SYS_PBSIZE=532
configs/imx8mm-cl-iot-gate-optee_defconfig +4 -4
@@ -31,10 +31,10 @@ CONFIG_SPL_BSS_START_ADDR=0x910000 CONFIG_SPL_BSS_MAX_SIZE=0x2000 CONFIG_SPL_BOARD_INIT=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x42200000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300 CONFIG_SPL_I2C=y
configs/imx8mm-cl-iot-gate_defconfig +4 -4
@@ -33,10 +33,10 @@ CONFIG_SPL_BSS_START_ADDR=0x910000 CONFIG_SPL_BSS_MAX_SIZE=0x2000 CONFIG_SPL_BOARD_INIT=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x42200000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300 CONFIG_SPL_I2C=y
configs/imx8mm-icore-mx8mm-ctouch2_defconfig +4 -4
@@ -30,10 +30,10 @@ CONFIG_SPL_BSS_START_ADDR=0x910000 CONFIG_SPL_BSS_MAX_SIZE=0x2000 CONFIG_SPL_BOARD_INIT=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x42200000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300 CONFIG_SPL_POWER=y
configs/imx8mm-icore-mx8mm-edimm2.2_defconfig +4 -4
@@ -30,10 +30,10 @@ CONFIG_SPL_BSS_START_ADDR=0x910000 CONFIG_SPL_BSS_MAX_SIZE=0x2000 CONFIG_SPL_BOARD_INIT=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x42200000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300 CONFIG_SPL_POWER=y
configs/imx8mm-mx8menlo_defconfig +4 -4
@@ -43,10 +43,10 @@ CONFIG_SPL_BSS_START_ADDR=0x910000 CONFIG_SPL_BSS_MAX_SIZE=0x2000 CONFIG_SPL_BOARD_INIT=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x42200000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300 CONFIG_SPL_I2C=y
configs/imx8mm_beacon_defconfig +4 -4
@@ -33,10 +33,10 @@ CONFIG_SPL_HAS_BSS_LINKER_SECTION=y CONFIG_SPL_BSS_START_ADDR=0x910000 CONFIG_SPL_BSS_MAX_SIZE=0x2000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x42200000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300 CONFIG_SPL_I2C=y
configs/imx8mm_beacon_fspi_defconfig +4 -4
@@ -36,10 +36,10 @@ CONFIG_SPL_BSS_START_ADDR=0x910000 CONFIG_SPL_BSS_MAX_SIZE=0x2000 CONFIG_SPL_BOARD_INIT=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x42200000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300 CONFIG_SPL_I2C=y
configs/imx8mm_data_modul_edm_sbc_defconfig +4 -4
@@ -54,10 +54,10 @@ CONFIG_SPL_BSS_MAX_SIZE=0x2000 CONFIG_SPL_LEGACY_IMAGE_FORMAT=y CONFIG_SPL_LEGACY_IMAGE_CRC_CHECK=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x42200000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x1000000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x1000000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300 CONFIG_SPL_I2C=y
configs/imx8mm_evk_defconfig +4 -4
@@ -31,10 +31,10 @@ CONFIG_SPL_BSS_START_ADDR=0x910000 CONFIG_SPL_BSS_MAX_SIZE=0x2000 CONFIG_SPL_BOARD_INIT=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x42200000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300 CONFIG_SPL_I2C=y
configs/imx8mm_evk_fspi_defconfig +4 -4
@@ -34,10 +34,10 @@ CONFIG_SPL_BSS_START_ADDR=0x910000 CONFIG_SPL_BSS_MAX_SIZE=0x2000 CONFIG_SPL_BOARD_INIT=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x42200000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300 CONFIG_SPL_I2C=y
configs/imx8mm_phg_defconfig +4 -4
@@ -31,10 +31,10 @@ CONFIG_SPL_BSS_START_ADDR=0x910000 CONFIG_SPL_BSS_MAX_SIZE=0x2000 CONFIG_SPL_BOARD_INIT=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x42200000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300 CONFIG_SPL_I2C=y
configs/imx8mm_venice_defconfig +3 -3
@@ -38,9 +38,9 @@ CONFIG_SPL_BSS_START_ADDR=0x910000 CONFIG_SPL_BSS_MAX_SIZE=0x2000 CONFIG_SPL_BOARD_INIT=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x42200000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300 CONFIG_SPL_I2C=y
configs/imx8mn_beacon_2g_defconfig +4 -4
@@ -43,10 +43,10 @@ CONFIG_SPL_BSS_MAX_SIZE=0x2000 CONFIG_SPL_BOARD_INIT=y CONFIG_SPL_BOOTROM_SUPPORT=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x42200000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300 CONFIG_SPL_I2C=y
configs/imx8mn_beacon_defconfig +4 -4
@@ -42,10 +42,10 @@ CONFIG_SPL_BSS_MAX_SIZE=0x2000 CONFIG_SPL_BOARD_INIT=y CONFIG_SPL_BOOTROM_SUPPORT=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x42200000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300 CONFIG_SPL_I2C=y
configs/imx8mn_beacon_fspi_defconfig +4 -4
@@ -42,10 +42,10 @@ CONFIG_SPL_BSS_MAX_SIZE=0x2000 CONFIG_SPL_BOARD_INIT=y CONFIG_SPL_BOOTROM_SUPPORT=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x42200000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300 CONFIG_SPL_I2C=y
configs/imx8mn_bsh_smm_s2_defconfig +4 -4
@@ -36,10 +36,10 @@ CONFIG_SPL_BSS_MAX_SIZE=0x2000 CONFIG_SPL_BOARD_INIT=y CONFIG_SPL_BOOTROM_SUPPORT=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x42200000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300 CONFIG_SPL_DMA=y
configs/imx8mn_bsh_smm_s2pro_defconfig +4 -4
@@ -37,10 +37,10 @@ CONFIG_SPL_BSS_MAX_SIZE=0x2000 CONFIG_SPL_BOARD_INIT=y CONFIG_SPL_BOOTROM_SUPPORT=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x42200000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300 CONFIG_SPL_I2C=y
configs/imx8mn_ddr4_evk_defconfig +4 -4
@@ -35,10 +35,10 @@ CONFIG_SPL_BSS_MAX_SIZE=0x2000 CONFIG_SPL_BOARD_INIT=y CONFIG_SPL_BOOTROM_SUPPORT=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x42200000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300 CONFIG_SPL_I2C=y
configs/imx8mn_evk_defconfig +4 -4
@@ -38,10 +38,10 @@ CONFIG_SPL_BOOTROM_SUPPORT=y CONFIG_SPL_LEGACY_IMAGE_FORMAT=y CONFIG_SPL_LEGACY_IMAGE_CRC_CHECK=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x42200000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300 CONFIG_SPL_I2C=y
configs/imx8mn_var_som_defconfig +4 -4
@@ -40,10 +40,10 @@ CONFIG_SPL_BSS_MAX_SIZE=0x2000 CONFIG_SPL_BOARD_INIT=y CONFIG_SPL_BOOTROM_SUPPORT=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x42200000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300 CONFIG_SPL_I2C=y
configs/imx8mn_venice_defconfig +4 -4
@@ -41,10 +41,10 @@ CONFIG_SPL_BSS_MAX_SIZE=0x2000 CONFIG_SPL_BOARD_INIT=y CONFIG_SPL_BOOTROM_SUPPORT=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x42200000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300 CONFIG_SPL_I2C=y
configs/imx8mp-icore-mx8mp-edimm2.2_defconfig +4 -4
@@ -38,10 +38,10 @@ CONFIG_SPL_BOARD_INIT=y CONFIG_SPL_BOOTROM_SUPPORT=y CONFIG_SPL_SYS_MALLOC_SIMPLE=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x42200000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300 CONFIG_SPL_I2C=y
configs/imx8mp_beacon_defconfig +4 -4
@@ -52,10 +52,10 @@ CONFIG_SPL_BOARD_INIT=y CONFIG_SPL_BOOTROM_SUPPORT=y CONFIG_SPL_SYS_MALLOC_SIMPLE=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x42200000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300 CONFIG_SPL_I2C=y
configs/imx8mp_data_modul_edm_sbc_defconfig +4 -4
@@ -60,10 +60,10 @@ CONFIG_SPL_BSS_MAX_SIZE=0x400 CONFIG_SPL_BOOTROM_SUPPORT=y # CONFIG_SPL_RAW_IMAGE_SUPPORT is not set # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x4c000000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x4c000000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300 CONFIG_SPL_I2C=y
configs/imx8mp_dhcom_pdk2_defconfig +4 -4
@@ -58,10 +58,10 @@ CONFIG_SPL_BSS_MAX_SIZE=0x400 CONFIG_SPL_BOOTROM_SUPPORT=y # CONFIG_SPL_RAW_IMAGE_SUPPORT is not set # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x4c000000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x4c000000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300 CONFIG_SPL_I2C=y
configs/imx8mp_dhcom_pdk3_defconfig +4 -4
@@ -59,10 +59,10 @@ CONFIG_SPL_BSS_MAX_SIZE=0x400 CONFIG_SPL_BOOTROM_SUPPORT=y # CONFIG_SPL_RAW_IMAGE_SUPPORT is not set # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x4c000000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x4c000000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300 CONFIG_SPL_I2C=y
configs/imx8mp_evk_defconfig +4 -4
@@ -38,10 +38,10 @@ CONFIG_SPL_BOARD_INIT=y CONFIG_SPL_BOOTROM_SUPPORT=y CONFIG_SPL_SYS_MALLOC_SIMPLE=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x42200000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300 CONFIG_SPL_I2C=y
configs/imx8mp_rsb3720a1_4G_defconfig +4 -4
@@ -47,10 +47,10 @@ CONFIG_SPL_BOARD_INIT=y CONFIG_SPL_BOOTROM_SUPPORT=y CONFIG_SPL_SYS_MALLOC_SIMPLE=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x42200000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300 CONFIG_SPL_I2C=y
configs/imx8mp_rsb3720a1_6G_defconfig +4 -4
@@ -47,10 +47,10 @@ CONFIG_SPL_BOARD_INIT=y CONFIG_SPL_BOOTROM_SUPPORT=y CONFIG_SPL_SYS_MALLOC_SIMPLE=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x42200000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300 CONFIG_SPL_I2C=y
configs/imx8mp_venice_defconfig +4 -4
@@ -41,10 +41,10 @@ CONFIG_SPL_BSS_MAX_SIZE=0x400 CONFIG_SPL_BOARD_INIT=y CONFIG_SPL_BOOTROM_SUPPORT=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x42200000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300 CONFIG_SPL_I2C=y
configs/imx8mq_cm_defconfig +4 -4
@@ -35,10 +35,10 @@ CONFIG_SPL_BSS_START_ADDR=0x180000 CONFIG_SPL_BSS_MAX_SIZE=0x2000 CONFIG_SPL_BOARD_INIT=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x42200000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300 CONFIG_SPL_I2C=y
configs/imx8mq_evk_defconfig +4 -4
@@ -38,10 +38,10 @@ CONFIG_SPL_BSS_START_ADDR=0x180000 CONFIG_SPL_BSS_MAX_SIZE=0x2000 CONFIG_SPL_BOARD_INIT=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x42200000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300 CONFIG_SPL_I2C=y
configs/imx8mq_phanbell_defconfig +4 -4
@@ -38,10 +38,10 @@ CONFIG_SPL_BSS_START_ADDR=0x180000 CONFIG_SPL_BSS_MAX_SIZE=0x2000 CONFIG_SPL_BOARD_INIT=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x42200000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300 CONFIG_SPL_I2C=y
configs/imx8mq_reform2_defconfig +4 -4
@@ -41,10 +41,10 @@ CONFIG_SPL_BSS_START_ADDR=0x180000 CONFIG_SPL_BSS_MAX_SIZE=0x2000 CONFIG_SPL_BOARD_INIT=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x42200000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300 CONFIG_SPL_I2C=y
configs/imx8qm_mek_defconfig +4 -4
@@ -40,10 +40,10 @@ CONFIG_SPL_BSS_MAX_SIZE=0x1000 CONFIG_SPL_BOARD_INIT=y CONFIG_SPL_SYS_MALLOC_SIMPLE=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x120000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x3000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x120000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x3000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x800 CONFIG_SPL_POWER_DOMAIN=y
configs/imx8qxp_mek_defconfig +4 -4
@@ -40,10 +40,10 @@ CONFIG_SPL_BSS_MAX_SIZE=0x1000 CONFIG_SPL_BOARD_INIT=y CONFIG_SPL_SYS_MALLOC_SIMPLE=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x120000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x3000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x120000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x3000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x800 CONFIG_SPL_POWER_DOMAIN=y
configs/imx8ulp_evk_defconfig +4 -4
@@ -37,10 +37,10 @@ CONFIG_SPL_BSS_MAX_SIZE=0x2000 CONFIG_SPL_BOARD_INIT=y CONFIG_SPL_BOOTROM_SUPPORT=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x22040000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x8000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x22040000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x8000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300 CONFIG_SPL_WATCHDOG=y
configs/imx93_11x11_evk_defconfig +4 -4
@@ -35,10 +35,10 @@ CONFIG_SPL_BSS_MAX_SIZE=0x2000 CONFIG_SPL_BOARD_INIT=y CONFIG_SPL_BOOTROM_SUPPORT=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x83200000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x83200000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x1040 CONFIG_SPL_I2C=y
configs/imx93_11x11_evk_ld_defconfig +4 -4
@@ -36,10 +36,10 @@ CONFIG_SPL_BSS_MAX_SIZE=0x2000 CONFIG_SPL_BOARD_INIT=y CONFIG_SPL_BOOTROM_SUPPORT=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x83200000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x83200000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x1040 CONFIG_SPL_I2C=y
configs/iot2050_defconfig +2 -2
@@ -50,8 +50,8 @@ CONFIG_SPL_BSS_MAX_SIZE=0x80000 CONFIG_SPL_BOARD_INIT=y CONFIG_SPL_SYS_MALLOC_SIMPLE=y CONFIG_SPL_STACK_R=y -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x800000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x800000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x1400 CONFIG_SPL_DM_MAILBOX=y
configs/j7200_evm_a72_defconfig +2 -2
@@ -42,8 +42,8 @@ CONFIG_SPL_BSS_MAX_SIZE=0x80000 CONFIG_SPL_BOARD_INIT=y CONFIG_SPL_SYS_MALLOC_SIMPLE=y CONFIG_SPL_STACK_R=y -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x800000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x800000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x1800 CONFIG_SPL_DMA=y
configs/j7200_evm_r5_defconfig +4 -4
@@ -37,10 +37,10 @@ CONFIG_SPL_BSS_MAX_SIZE=0xa000 CONFIG_SPL_BOARD_INIT=y CONFIG_SPL_STACK_R=y CONFIG_SPL_SEPARATE_BSS=y -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x84000000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x1000000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x84000000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x1000000 CONFIG_SPL_EARLY_BSS=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x800
configs/j721e_evm_a72_defconfig +2 -2
@@ -42,8 +42,8 @@ CONFIG_SPL_BSS_MAX_SIZE=0x80000 CONFIG_SPL_BOARD_INIT=y CONFIG_SPL_SYS_MALLOC_SIMPLE=y CONFIG_SPL_STACK_R=y -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x800000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x800000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x1400 CONFIG_SPL_DMA=y
configs/j721e_evm_r5_defconfig +4 -4
@@ -42,10 +42,10 @@ CONFIG_SPL_BSS_MAX_SIZE=0xa000 CONFIG_SPL_BOARD_INIT=y CONFIG_SPL_STACK_R=y CONFIG_SPL_SEPARATE_BSS=y -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x84000000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x1000000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x84000000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x1000000 CONFIG_SPL_EARLY_BSS=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x400
configs/j721s2_evm_a72_defconfig +2 -2
@@ -41,8 +41,8 @@ CONFIG_SPL_BSS_MAX_SIZE=0x80000 CONFIG_SPL_BOARD_INIT=y CONFIG_SPL_SYS_MALLOC_SIMPLE=y CONFIG_SPL_STACK_R=y -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x800000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x800000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x1400 CONFIG_SPL_DMA=y
configs/j721s2_evm_r5_defconfig +4 -4
@@ -43,10 +43,10 @@ CONFIG_SPL_BOARD_INIT=y CONFIG_SPL_SYS_MALLOC_SIMPLE=y CONFIG_SPL_STACK_R=y CONFIG_SPL_SEPARATE_BSS=y -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x84000000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x1000000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x84000000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x1000000 CONFIG_SPL_EARLY_BSS=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x400
configs/jetson-tk1_defconfig +4 -4
@@ -24,10 +24,10 @@ CONFIG_SYS_STDIO_DEREGISTER=y CONFIG_SPL_FOOTPRINT_LIMIT=y CONFIG_SPL_MAX_FOOTPRINT=0x8000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x80090000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x10000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x80090000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x10000 CONFIG_SYS_MAXARGS=64 CONFIG_SYS_PBSIZE=2089 # CONFIG_CMD_IMI is not set
configs/k2e_evm_defconfig +2 -2
@@ -36,8 +36,8 @@ CONFIG_SPL_HAS_BSS_LINKER_SECTION=y CONFIG_SPL_BSS_START_ADDR=0xc10fff8 CONFIG_SPL_BSS_MAX_SIZE=0x8000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x8000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x8000 CONFIG_SPL_I2C=y CONFIG_SPL_NAND_DRIVERS=y CONFIG_SPL_NAND_ECC=y
configs/k2g_evm_defconfig +2 -2
@@ -35,8 +35,8 @@ CONFIG_SPL_HAS_BSS_LINKER_SECTION=y CONFIG_SPL_BSS_START_ADDR=0xc0afff8 CONFIG_SPL_BSS_MAX_SIZE=0x8000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x8000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x8000 CONFIG_SPL_I2C=y CONFIG_SPL_NAND_DRIVERS=y CONFIG_SPL_NAND_ECC=y
configs/k2hk_evm_defconfig +2 -2
@@ -36,8 +36,8 @@ CONFIG_SPL_HAS_BSS_LINKER_SECTION=y CONFIG_SPL_BSS_START_ADDR=0xc20fff8 CONFIG_SPL_BSS_MAX_SIZE=0x8000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x8000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x8000 CONFIG_SPL_I2C=y CONFIG_SPL_NAND_DRIVERS=y CONFIG_SPL_NAND_ECC=y
configs/k2l_evm_defconfig +2 -2
@@ -36,8 +36,8 @@ CONFIG_SPL_HAS_BSS_LINKER_SECTION=y CONFIG_SPL_BSS_START_ADDR=0xc10fff8 CONFIG_SPL_BSS_MAX_SIZE=0x8000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x8000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x8000 CONFIG_SPL_I2C=y CONFIG_SPL_NAND_DRIVERS=y CONFIG_SPL_NAND_ECC=y
configs/kontron-sl-mx6ul_defconfig +1 -1
@@ -34,7 +34,7 @@ CONFIG_BOARD_EARLY_INIT_F=y CONFIG_SPL_RAW_IMAGE_SUPPORT=y CONFIG_SPL_LEGACY_IMAGE_FORMAT=y CONFIG_SPL_LEGACY_IMAGE_CRC_CHECK=y -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_SPI_LOAD=y CONFIG_SYS_SPI_U_BOOT_OFFS=0x11400 CONFIG_SPL_WATCHDOG=y
configs/kontron-sl-mx8mm_defconfig +4 -4
@@ -38,10 +38,10 @@ CONFIG_SPL_BSS_START_ADDR=0x910000 CONFIG_SPL_BSS_MAX_SIZE=0x2000 CONFIG_SPL_BOARD_INIT=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x42200000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300 CONFIG_SPL_I2C=y
configs/kontron_pitx_imx8m_defconfig +4 -4
@@ -37,10 +37,10 @@ CONFIG_SPL_HAS_BSS_LINKER_SECTION=y CONFIG_SPL_BSS_START_ADDR=0x180000 CONFIG_SPL_BSS_MAX_SIZE=0x2000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x42200000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300 CONFIG_SPL_I2C=y
configs/kontron_sl28_defconfig +1 -1
@@ -47,7 +47,7 @@ CONFIG_SPL_BSS_START_ADDR=0x80100000 CONFIG_SPL_BSS_MAX_SIZE=0x100000 CONFIG_SPL_BOARD_INIT=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x900 CONFIG_SPL_MPC8XXX_INIT_DDR=y
configs/kp_imx6q_tpc_defconfig +1 -1
@@ -28,7 +28,7 @@ CONFIG_AUTOBOOT_STOP_STR="." # CONFIG_USE_BOOTCOMMAND is not set CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y CONFIG_SPL_RAW_IMAGE_SUPPORT=y -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_POWER=y CONFIG_SPL_WATCHDOG=y CONFIG_SYS_MAXARGS=32
configs/librem5_defconfig +4 -4
@@ -42,10 +42,10 @@ CONFIG_SPL_BSS_START_ADDR=0x180000 CONFIG_SPL_BSS_MAX_SIZE=0x2000 CONFIG_SPL_BOARD_INIT=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x42200000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300 CONFIG_SPL_I2C=y
configs/liteboard_defconfig +1 -1
@@ -25,7 +25,7 @@ CONFIG_USE_BOOTCOMMAND=y CONFIG_BOOTCOMMAND="mmc dev ${mmcdev};if mmc rescan; then if run loadbootscript; then run bootscript; else if run loadimage; then run mmcboot; else run netboot; fi; fi; else run netboot; fi" CONFIG_DEFAULT_FDT_FILE="imx6ul-liteboard.dtb" CONFIG_BOARD_EARLY_INIT_F=y -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_WATCHDOG=y CONFIG_HUSH_PARSER=y CONFIG_SYS_MAXARGS=32
configs/ls1021aiot_sdcard_defconfig +3 -3
@@ -44,9 +44,9 @@ CONFIG_SPL_BSS_START_ADDR=0x80100000 CONFIG_SPL_BSS_MAX_SIZE=0x80000 CONFIG_SPL_FSL_PBL=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x82080000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x82080000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0xe8 CONFIG_SPL_ENV_SUPPORT=y
configs/ls1021aqds_nand_defconfig +3 -3
@@ -54,9 +54,9 @@ CONFIG_SPL_BSS_START_ADDR=0x80100000 CONFIG_SPL_BSS_MAX_SIZE=0x80000 CONFIG_SPL_FSL_PBL=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x80200000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x80200000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0xe8 CONFIG_SPL_ENV_SUPPORT=y
configs/ls1021aqds_sdcard_ifc_defconfig +3 -3
@@ -53,9 +53,9 @@ CONFIG_SPL_BSS_START_ADDR=0x80100000 CONFIG_SPL_BSS_MAX_SIZE=0x80000 CONFIG_SPL_FSL_PBL=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x820c0000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x820c0000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0xe8 CONFIG_SPL_ENV_SUPPORT=y
configs/ls1021aqds_sdcard_qspi_defconfig +3 -3
@@ -52,9 +52,9 @@ CONFIG_SPL_BSS_START_ADDR=0x80100000 CONFIG_SPL_BSS_MAX_SIZE=0x80000 CONFIG_SPL_FSL_PBL=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x820c0000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x820c0000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0xe8 CONFIG_SPL_ENV_SUPPORT=y
configs/ls1021atsn_sdcard_defconfig +3 -3
@@ -46,9 +46,9 @@ CONFIG_SPL_BSS_START_ADDR=0x80100000 CONFIG_SPL_BSS_MAX_SIZE=0x80000 CONFIG_SPL_FSL_PBL=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x82100000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x82100000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0xe8 CONFIG_SPL_ENV_SUPPORT=y
configs/ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig +3 -3
@@ -54,9 +54,9 @@ CONFIG_SPL_BSS_START_ADDR=0x80100000 CONFIG_SPL_BSS_MAX_SIZE=0x80000 CONFIG_SPL_FSL_PBL=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x82104000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x82104000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0xe8 CONFIG_SPL_ENV_SUPPORT=y
configs/ls1021atwr_sdcard_ifc_defconfig +3 -3
@@ -55,9 +55,9 @@ CONFIG_SPL_BSS_START_ADDR=0x80100000 CONFIG_SPL_BSS_MAX_SIZE=0x80000 CONFIG_SPL_FSL_PBL=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x82100000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x82100000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0xe8 CONFIG_SPL_ENV_SUPPORT=y
configs/ls1021atwr_sdcard_qspi_defconfig +3 -3
@@ -56,9 +56,9 @@ CONFIG_SPL_BSS_START_ADDR=0x80100000 CONFIG_SPL_BSS_MAX_SIZE=0x80000 CONFIG_SPL_FSL_PBL=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x82100000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x82100000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0xe8 CONFIG_SPL_ENV_SUPPORT=y
configs/ls1043aqds_nand_defconfig +3 -3
@@ -61,9 +61,9 @@ CONFIG_SPL_BSS_START_ADDR=0x80100000 CONFIG_SPL_BSS_MAX_SIZE=0x80000 CONFIG_SPL_FSL_PBL=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x80200000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x80200000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0xf0 CONFIG_SPL_ENV_SUPPORT=y
configs/ls1043aqds_sdcard_ifc_defconfig +1 -1
@@ -62,7 +62,7 @@ CONFIG_SPL_BSS_START_ADDR=0x8f000000 CONFIG_SPL_BSS_MAX_SIZE=0x80000 CONFIG_SPL_FSL_PBL=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0xf0 CONFIG_SPL_ENV_SUPPORT=y
configs/ls1043aqds_sdcard_qspi_defconfig +1 -1
@@ -62,7 +62,7 @@ CONFIG_SPL_BSS_START_ADDR=0x8f000000 CONFIG_SPL_BSS_MAX_SIZE=0x80000 CONFIG_SPL_FSL_PBL=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0xf0 CONFIG_SPL_ENV_SUPPORT=y
configs/ls1043ardb_nand_SECURE_BOOT_defconfig +3 -3
@@ -46,9 +46,9 @@ CONFIG_SPL_BSS_START_ADDR=0x80100000 CONFIG_SPL_BSS_MAX_SIZE=0x80000 CONFIG_SPL_FSL_PBL=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x80200000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x80200000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0xf0 CONFIG_SPL_ENV_SUPPORT=y
configs/ls1043ardb_nand_defconfig +3 -3
@@ -52,9 +52,9 @@ CONFIG_SPL_BSS_MAX_SIZE=0x80000 CONFIG_SPL_FSL_PBL=y CONFIG_SPL_BOARD_INIT=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x80200000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x80200000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0xf0 CONFIG_SPL_ENV_SUPPORT=y
configs/ls1043ardb_sdcard_SECURE_BOOT_defconfig +1 -1
@@ -47,7 +47,7 @@ CONFIG_SPL_BSS_START_ADDR=0x8f000000 CONFIG_SPL_BSS_MAX_SIZE=0x80000 CONFIG_SPL_FSL_PBL=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x110 CONFIG_SPL_ENV_SUPPORT=y
configs/ls1043ardb_sdcard_defconfig +1 -1
@@ -53,7 +53,7 @@ CONFIG_SPL_BSS_MAX_SIZE=0x80000 CONFIG_SPL_FSL_PBL=y CONFIG_SPL_BOARD_INIT=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0xf0 CONFIG_SPL_ENV_SUPPORT=y
configs/ls1046aqds_nand_defconfig +1 -1
@@ -62,7 +62,7 @@ CONFIG_SPL_BSS_MAX_SIZE=0x80000 CONFIG_SPL_FSL_PBL=y CONFIG_SPL_BOARD_INIT=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x110 CONFIG_SPL_ENV_SUPPORT=y
configs/ls1046aqds_sdcard_ifc_defconfig +1 -1
@@ -63,7 +63,7 @@ CONFIG_SPL_BSS_MAX_SIZE=0x80000 CONFIG_SPL_FSL_PBL=y CONFIG_SPL_BOARD_INIT=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x110 CONFIG_SPL_ENV_SUPPORT=y
configs/ls1046aqds_sdcard_qspi_defconfig +1 -1
@@ -63,7 +63,7 @@ CONFIG_SPL_BSS_MAX_SIZE=0x80000 CONFIG_SPL_FSL_PBL=y CONFIG_SPL_BOARD_INIT=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x110 CONFIG_SPL_ENV_SUPPORT=y
configs/ls1046ardb_emmc_defconfig +1 -1
@@ -53,7 +53,7 @@ CONFIG_SPL_BSS_MAX_SIZE=0x80000 CONFIG_SPL_FSL_PBL=y CONFIG_SPL_BOARD_INIT=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x110 CONFIG_SPL_ENV_SUPPORT=y
configs/ls1046ardb_qspi_spl_defconfig +1 -1
@@ -55,7 +55,7 @@ CONFIG_SPL_BSS_START_ADDR=0x8f000000 CONFIG_SPL_BSS_MAX_SIZE=0x80000 CONFIG_SPL_BOARD_INIT=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_ENV_SUPPORT=y CONFIG_SPL_I2C=y CONFIG_SPL_MPC8XXX_INIT_DDR=y
configs/ls1046ardb_sdcard_SECURE_BOOT_defconfig +1 -1
@@ -50,7 +50,7 @@ CONFIG_SPL_BSS_START_ADDR=0x8f000000 CONFIG_SPL_BSS_MAX_SIZE=0x80000 CONFIG_SPL_FSL_PBL=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x110 CONFIG_SPL_ENV_SUPPORT=y
configs/ls1046ardb_sdcard_defconfig +1 -1
@@ -53,7 +53,7 @@ CONFIG_SPL_BSS_MAX_SIZE=0x80000 CONFIG_SPL_FSL_PBL=y CONFIG_SPL_BOARD_INIT=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x110 CONFIG_SPL_ENV_SUPPORT=y
configs/ls1088aqds_sdcard_ifc_defconfig +1 -1
@@ -50,7 +50,7 @@ CONFIG_SPL_HAS_BSS_LINKER_SECTION=y CONFIG_SPL_BSS_START_ADDR=0x80100000 CONFIG_SPL_BSS_MAX_SIZE=0x100000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x8b0 CONFIG_SPL_ENV_SUPPORT=y
configs/ls1088aqds_sdcard_qspi_defconfig +1 -1
@@ -51,7 +51,7 @@ CONFIG_SPL_HAS_BSS_LINKER_SECTION=y CONFIG_SPL_BSS_START_ADDR=0x80100000 CONFIG_SPL_BSS_MAX_SIZE=0x100000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x8b0 CONFIG_SPL_ENV_SUPPORT=y
configs/ls1088ardb_sdcard_qspi_SECURE_BOOT_defconfig +1 -1
@@ -51,7 +51,7 @@ CONFIG_SPL_HAS_BSS_LINKER_SECTION=y CONFIG_SPL_BSS_START_ADDR=0x80100000 CONFIG_SPL_BSS_MAX_SIZE=0x100000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x8b0 CONFIG_SPL_ENV_SUPPORT=y
configs/ls1088ardb_sdcard_qspi_defconfig +1 -1
@@ -52,7 +52,7 @@ CONFIG_SPL_HAS_BSS_LINKER_SECTION=y CONFIG_SPL_BSS_START_ADDR=0x80100000 CONFIG_SPL_BSS_MAX_SIZE=0x100000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x8b0 CONFIG_SPL_ENV_SUPPORT=y
configs/ls2080aqds_nand_defconfig +1 -1
@@ -42,7 +42,7 @@ CONFIG_SPL_HAS_BSS_LINKER_SECTION=y CONFIG_SPL_BSS_START_ADDR=0x80100000 CONFIG_SPL_BSS_MAX_SIZE=0x100000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_ENV_SUPPORT=y CONFIG_SPL_I2C=y CONFIG_SPL_MPC8XXX_INIT_DDR=y
configs/ls2080aqds_sdcard_defconfig +1 -1
@@ -42,7 +42,7 @@ CONFIG_SPL_HAS_BSS_LINKER_SECTION=y CONFIG_SPL_BSS_START_ADDR=0x80100000 CONFIG_SPL_BSS_MAX_SIZE=0x100000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x8b0 CONFIG_SPL_ENV_SUPPORT=y
configs/ls2080ardb_nand_defconfig +1 -1
@@ -48,7 +48,7 @@ CONFIG_SPL_HAS_BSS_LINKER_SECTION=y CONFIG_SPL_BSS_START_ADDR=0x80100000 CONFIG_SPL_BSS_MAX_SIZE=0x100000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_ENV_SUPPORT=y CONFIG_SPL_I2C=y CONFIG_SPL_MPC8XXX_INIT_DDR=y
configs/mccmon6_nor_defconfig +1 -1
@@ -24,7 +24,7 @@ CONFIG_DISTRO_DEFAULTS=y # CONFIG_USE_BOOTCOMMAND is not set CONFIG_BOARD_LATE_INIT=y CONFIG_SPL_BOARD_INIT=y -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_FIT_IMAGE_TINY=y CONFIG_SPL_ENV_SUPPORT=y CONFIG_SPL_NOR_SUPPORT=y
configs/mccmon6_sd_defconfig +1 -1
@@ -26,7 +26,7 @@ CONFIG_DISTRO_DEFAULTS=y # CONFIG_USE_BOOTCOMMAND is not set CONFIG_BOARD_LATE_INIT=y CONFIG_SPL_BOARD_INIT=y -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_ENV_SUPPORT=y CONFIG_SPL_NOR_SUPPORT=y CONFIG_SYS_MAXARGS=32
configs/medcom-wide_defconfig +4 -4
@@ -19,10 +19,10 @@ CONFIG_SYS_STDIO_DEREGISTER=y CONFIG_SPL_FOOTPRINT_LIMIT=y CONFIG_SPL_MAX_FOOTPRINT=0x8000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x90000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x10000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x90000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x10000 CONFIG_SYS_MAXARGS=64 CONFIG_SYS_PBSIZE=2089 # CONFIG_CMD_IMI is not set
configs/msc_sm2s_imx8mp_defconfig +4 -4
@@ -35,10 +35,10 @@ CONFIG_SPL_BOARD_INIT=y CONFIG_SPL_BOOTROM_SUPPORT=y CONFIG_SPL_SYS_MALLOC_SIMPLE=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x42200000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300 CONFIG_SPL_I2C=y
configs/mx6cuboxi_defconfig +1 -1
@@ -28,7 +28,7 @@ CONFIG_BOOTCOMMAND="run findfdt; run finduuid; run distro_bootcmd" CONFIG_USE_PREBOOT=y CONFIG_PREBOOT="if hdmidet; then usb start; setenv stdin serial,usbkbd; setenv stdout serial,vidconsole; setenv stderr serial,vidconsole; else setenv stdin serial; setenv stdout serial; setenv stderr serial; fi;" CONFIG_BOARD_EARLY_INIT_F=y -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_FS_EXT4=y CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot-dtb.img" CONFIG_SPL_I2C=y
configs/mx6memcal_defconfig +1 -1
@@ -15,7 +15,7 @@ CONFIG_SPL=y CONFIG_SYS_MEMTEST_START=0x10000000 CONFIG_SYS_MEMTEST_END=0x20000000 CONFIG_SUPPORT_RAW_INITRD=y -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_WATCHDOG=y CONFIG_HUSH_PARSER=y CONFIG_SYS_MAXARGS=32
configs/mx6sabreauto_defconfig +1 -1
@@ -31,7 +31,7 @@ CONFIG_BOOTCOMMAND="run findfdt;mmc dev ${mmcdev};if mmc rescan; then if run loa CONFIG_SYS_CONSOLE_IS_IN_ENV=y CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y CONFIG_SPL_LEGACY_IMAGE_FORMAT=y -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_FIT_IMAGE_TINY=y CONFIG_SPL_FS_EXT4=y CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot-dtb.img"
configs/mx6sabresd_defconfig +1 -1
@@ -31,7 +31,7 @@ CONFIG_BOOTCOMMAND="run findfdt;mmc dev ${mmcdev};if mmc rescan; then if run loa CONFIG_SYS_CONSOLE_IS_IN_ENV=y CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y CONFIG_SPL_LEGACY_IMAGE_FORMAT=y -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_FIT_IMAGE_TINY=y CONFIG_SPL_WATCHDOG=y CONFIG_HUSH_PARSER=y
configs/mx6slevk_spl_defconfig +1 -1
@@ -27,7 +27,7 @@ CONFIG_SUPPORT_RAW_INITRD=y CONFIG_USE_BOOTCOMMAND=y CONFIG_BOOTCOMMAND="mmc dev ${mmcdev}; if mmc rescan; then if run loadbootscript; then run bootscript; else if run loadimage; then run mmcboot; else run netboot; fi; fi; else run netboot; fi" CONFIG_BOARD_EARLY_INIT_F=y -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_FS_EXT4=y CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot-dtb.img" CONFIG_SPL_I2C=y
configs/mx6ul_14x14_evk_defconfig +1 -1
@@ -29,7 +29,7 @@ CONFIG_BOOTCOMMAND="run findfdt;mmc dev ${mmcdev};mmc dev ${mmcdev}; if mmc resc # CONFIG_CONSOLE_MUX is not set CONFIG_SYS_CONSOLE_IS_IN_ENV=y CONFIG_BOARD_EARLY_INIT_F=y -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_FS_EXT4=y CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot-dtb.img" CONFIG_SPL_I2C=y
configs/mx6ul_9x9_evk_defconfig +1 -1
@@ -29,7 +29,7 @@ CONFIG_BOOTCOMMAND="run findfdt;mmc dev ${mmcdev};mmc dev ${mmcdev}; if mmc resc # CONFIG_CONSOLE_MUX is not set CONFIG_SYS_CONSOLE_IS_IN_ENV=y CONFIG_BOARD_EARLY_INIT_F=y -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_FS_EXT4=y CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot-dtb.img" CONFIG_SPL_I2C=y
configs/myir_mys_6ulx_defconfig +1 -1
@@ -20,7 +20,7 @@ CONFIG_FIT=y CONFIG_DISTRO_DEFAULTS=y CONFIG_BOOTDELAY=3 CONFIG_BOARD_EARLY_INIT_F=y -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_DMA=y CONFIG_SPL_NAND_SUPPORT=y CONFIG_SPL_WATCHDOG=y
configs/novena_defconfig +1 -1
@@ -32,7 +32,7 @@ CONFIG_BOOTARGS="console=ttymxc1,115200 " CONFIG_BOOTCOMMAND="run distro_bootcmd ; run net_nfs" CONFIG_BOARD_EARLY_INIT_F=y CONFIG_MISC_INIT_R=y -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_FS_EXT4=y CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot-dtb.img" CONFIG_SPL_I2C=y
configs/nyan-big_defconfig +4 -4
@@ -30,10 +30,10 @@ CONFIG_DISPLAY_BOARDINFO_LATE=y CONFIG_SPL_FOOTPRINT_LIMIT=y CONFIG_SPL_MAX_FOOTPRINT=0xef8100 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x80090000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x10000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x80090000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x10000 CONFIG_SYS_MAXARGS=64 CONFIG_SYS_PBSIZE=2087 # CONFIG_CMD_IMI is not set
configs/omap35_logic_defconfig +2 -2
@@ -26,8 +26,8 @@ CONFIG_DEFAULT_FDT_FILE="logicpd-torpedo-35xx-devkit.dtb" CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_SPL_MAX_SIZE=0xec00 CONFIG_SPL_SYS_MALLOC_SIMPLE=y -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x800000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x800000 # CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set # CONFIG_SPL_FS_EXT4 is not set # CONFIG_SPL_I2C is not set
configs/omap35_logic_somlv_defconfig +2 -2
@@ -27,8 +27,8 @@ CONFIG_DEFAULT_FDT_FILE="logicpd-som-lv-35xx-devkit.dtb" CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_SPL_MAX_SIZE=0xec00 CONFIG_SPL_SYS_MALLOC_SIMPLE=y -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x800000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x800000 # CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set # CONFIG_SPL_FS_EXT4 is not set # CONFIG_SPL_I2C is not set
configs/omap3_beagle_defconfig +2 -2
@@ -20,8 +20,8 @@ CONFIG_DEFAULT_FDT_FILE="omap3-beagle.dtb" CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_SPL_MAX_SIZE=0xec00 CONFIG_SPL_SYS_MALLOC_SIMPLE=y -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x800000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x800000 # CONFIG_SPL_FS_EXT4 is not set CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_NAND_DRIVERS=y
configs/omap3_evm_defconfig +2 -2
@@ -20,8 +20,8 @@ CONFIG_DEFAULT_FDT_FILE="omap3-evm.dtb" CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_SPL_MAX_SIZE=0xec00 CONFIG_SPL_SYS_MALLOC_SIMPLE=y -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x800000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x800000 # CONFIG_SPL_FS_EXT4 is not set CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_NAND_DRIVERS=y
configs/omap3_logic_defconfig +2 -2
@@ -25,8 +25,8 @@ CONFIG_PREBOOT="setenv preboot;saveenv;" CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_SPL_MAX_SIZE=0xec00 CONFIG_SPL_SYS_MALLOC_SIMPLE=y -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x800000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x800000 # CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set # CONFIG_SPL_FS_EXT4 is not set # CONFIG_SPL_I2C is not set
configs/omap3_logic_somlv_defconfig +2 -2
@@ -27,8 +27,8 @@ CONFIG_DEFAULT_FDT_FILE="logicpd-som-lv-37xx-devkit.dtb" CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_SPL_MAX_SIZE=0xec00 CONFIG_SPL_SYS_MALLOC_SIMPLE=y -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x800000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x800000 # CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set # CONFIG_SPL_FS_EXT4 is not set # CONFIG_SPL_I2C is not set
configs/omap4_panda_defconfig +2 -2
@@ -15,8 +15,8 @@ CONFIG_DEFAULT_FDT_FILE="omap4-panda.dtb" CONFIG_SYS_CONSOLE_IS_IN_ENV=y CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_SPL_MAX_SIZE=0xbc00 -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x800000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x800000 # CONFIG_SPL_FS_EXT4 is not set # CONFIG_SPL_I2C is not set # CONFIG_SPL_NAND_SUPPORT is not set
configs/omap4_sdp4430_defconfig +2 -2
@@ -19,8 +19,8 @@ CONFIG_DEFAULT_FDT_FILE="omap4-sdp.dtb" CONFIG_SYS_CONSOLE_IS_IN_ENV=y CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_SPL_MAX_SIZE=0xbc00 -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x800000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x800000 # CONFIG_SPL_I2C is not set # CONFIG_SPL_NAND_SUPPORT is not set CONFIG_SYS_MAXARGS=64
configs/omapl138_lcdk_defconfig +4 -4
@@ -41,10 +41,10 @@ CONFIG_SPL_FOOTPRINT_LIMIT=y CONFIG_SPL_MAX_FOOTPRINT=0x8000 CONFIG_SPL_SYS_MALLOC_SIMPLE=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0xc0f70000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x110000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0xc0f70000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x110000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0xb5 CONFIG_SPL_NAND_SUPPORT=y CONFIG_SPL_NAND_DRIVERS=y
configs/openpiton_riscv64_spl_defconfig +1 -1
@@ -30,7 +30,7 @@ CONFIG_SPL_BSS_START_ADDR=0x82000000 # CONFIG_SPL_LEGACY_IMAGE_FORMAT is not set CONFIG_SPL_SYS_MALLOC_SIMPLE=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y # CONFIG_SPL_BANNER_PRINT is not set CONFIG_SPL_CPU=y CONFIG_SPL_FS_EXT4=y
configs/opos6uldev_defconfig +1 -1
@@ -34,7 +34,7 @@ CONFIG_DEFAULT_FDT_FILE="imx6ul-opos6uldev.dtb" # CONFIG_CONSOLE_MUX is not set CONFIG_SYS_CONSOLE_IS_IN_ENV=y CONFIG_SPL_BOARD_INIT=y -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_ENV_SUPPORT=y CONFIG_SPL_WATCHDOG=y CONFIG_SPL_YMODEM_SUPPORT=y
configs/paz00_defconfig +4 -4
@@ -17,10 +17,10 @@ CONFIG_SYS_STDIO_DEREGISTER=y CONFIG_SPL_FOOTPRINT_LIMIT=y CONFIG_SPL_MAX_FOOTPRINT=0x8000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x90000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x10000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x90000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x10000 CONFIG_SYS_MAXARGS=64 CONFIG_SYS_PBSIZE=2087 # CONFIG_CMD_IMI is not set
configs/pcm058_defconfig +1 -1
@@ -32,7 +32,7 @@ CONFIG_BOOTDELAY=3 CONFIG_BOOTCOMMAND="run mmcboot;run nandboot" CONFIG_DISPLAY_BOARDINFO_LATE=y CONFIG_SPL_BOARD_INIT=y -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x18a CONFIG_SPL_DMA=y CONFIG_SPL_FS_EXT4=y
configs/phycore-am335x-r2-regor_defconfig +2 -2
@@ -25,8 +25,8 @@ CONFIG_BOOTCOMMAND="run distro_bootcmd" CONFIG_DEFAULT_FDT_FILE="am335x-regor-rdk.dtb" CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_ARCH_MISC_INIT=y -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x800000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x800000 CONFIG_SPL_I2C=y CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_NAND_DRIVERS=y
configs/phycore-am335x-r2-wega_defconfig +2 -2
@@ -25,8 +25,8 @@ CONFIG_BOOTCOMMAND="run distro_bootcmd" CONFIG_DEFAULT_FDT_FILE="am335x-wega-rdk.dtb" CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_ARCH_MISC_INIT=y -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x800000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x800000 CONFIG_SPL_I2C=y CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_NAND_DRIVERS=y
configs/phycore-imx8mm_defconfig +4 -4
@@ -34,10 +34,10 @@ CONFIG_SPL_HAS_BSS_LINKER_SECTION=y CONFIG_SPL_BSS_START_ADDR=0x910000 CONFIG_SPL_BSS_MAX_SIZE=0x2000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x42200000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300 CONFIG_SPL_I2C=y
configs/phycore-imx8mp_defconfig +4 -4
@@ -38,10 +38,10 @@ CONFIG_SPL_BOARD_INIT=y CONFIG_SPL_BOOTROM_SUPPORT=y CONFIG_SPL_SYS_MALLOC_SIMPLE=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x42200000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300 CONFIG_SPL_I2C=y
configs/phycore_pcl063_defconfig +1 -1
@@ -19,7 +19,7 @@ CONFIG_SYS_MEMTEST_END=0x90000000 CONFIG_DISTRO_DEFAULTS=y CONFIG_BOOTDELAY=3 CONFIG_BOARD_EARLY_INIT_F=y -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_WATCHDOG=y CONFIG_SYS_MAXARGS=32 CONFIG_SYS_PBSIZE=532
configs/phycore_pcl063_ull_defconfig +1 -1
@@ -19,7 +19,7 @@ CONFIG_DISTRO_DEFAULTS=y CONFIG_BOOTDELAY=3 CONFIG_BOOTCOMMAND="run mmc_mmc_fit" CONFIG_BOARD_EARLY_INIT_F=y -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_WATCHDOG=y CONFIG_SYS_MAXARGS=32 CONFIG_SYS_PBSIZE=532
configs/pico-dwarf-imx6ul_defconfig +1 -1
@@ -26,7 +26,7 @@ CONFIG_BOOTDELAY=3 CONFIG_BOOTCOMMAND="run findfdt; run finduuid; run distro_bootcmd" CONFIG_DEFAULT_FDT_FILE="imx6ul-pico-dwarf.dtb" CONFIG_BOARD_EARLY_INIT_F=y -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SYS_MAXARGS=32 CONFIG_SYS_PBSIZE=532 CONFIG_CMD_BOOTMENU=y
configs/pico-dwarf-imx7d_defconfig +1 -1
@@ -25,7 +25,7 @@ CONFIG_DEFAULT_FDT_FILE="imx7d-pico-dwarf.dtb" CONFIG_SPL_MAX_SIZE=0xe000 CONFIG_SPL_HAS_BSS_LINKER_SECTION=y CONFIG_SPL_BSS_MAX_SIZE=0x100000 -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SYS_MAXARGS=32 CONFIG_SYS_PBSIZE=532 # CONFIG_CMD_BOOTD is not set
configs/pico-hobbit-imx6ul_defconfig +1 -1
@@ -27,7 +27,7 @@ CONFIG_BOOTDELAY=3 CONFIG_BOOTCOMMAND="run findfdt; run finduuid; run distro_bootcmd" CONFIG_DEFAULT_FDT_FILE="imx6ul-pico-hobbit.dtb" CONFIG_BOARD_EARLY_INIT_F=y -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SYS_MAXARGS=32 CONFIG_SYS_PBSIZE=532 CONFIG_CMD_BOOTMENU=y
configs/pico-hobbit-imx7d_defconfig +1 -1
@@ -25,7 +25,7 @@ CONFIG_DEFAULT_FDT_FILE="imx7d-pico-hobbit.dtb" CONFIG_SPL_MAX_SIZE=0xe000 CONFIG_SPL_HAS_BSS_LINKER_SECTION=y CONFIG_SPL_BSS_MAX_SIZE=0x100000 -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SYS_MAXARGS=32 CONFIG_SYS_PBSIZE=532 # CONFIG_CMD_BOOTD is not set
configs/pico-imx6_defconfig +1 -1
@@ -27,7 +27,7 @@ CONFIG_DISTRO_DEFAULTS=y CONFIG_BOOTCOMMAND="run default_boot" CONFIG_DEFAULT_FDT_FILE="ask" CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_FIT_IMAGE_TINY=y CONFIG_SPL_FS_EXT4=y CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot-dtb.img"
configs/pico-imx6ul_defconfig +1 -1
@@ -27,7 +27,7 @@ CONFIG_BOOTDELAY=3 CONFIG_BOOTCOMMAND="run findfdt; run finduuid; run distro_bootcmd" CONFIG_DEFAULT_FDT_FILE="ask" CONFIG_BOARD_EARLY_INIT_F=y -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SYS_MAXARGS=32 CONFIG_SYS_PBSIZE=532 CONFIG_CMD_BOOTMENU=y
configs/pico-imx7d_bl33_defconfig +1 -1
@@ -27,7 +27,7 @@ CONFIG_BOOTCOMMAND="run distro_bootcmd" CONFIG_SPL_MAX_SIZE=0xe000 CONFIG_SPL_HAS_BSS_LINKER_SECTION=y CONFIG_SPL_BSS_MAX_SIZE=0x100000 -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_HUSH_PARSER=y CONFIG_SYS_MAXARGS=32 CONFIG_SYS_PBSIZE=532
configs/pico-imx7d_defconfig +1 -1
@@ -25,7 +25,7 @@ CONFIG_DEFAULT_FDT_FILE="ask" CONFIG_SPL_MAX_SIZE=0xe000 CONFIG_SPL_HAS_BSS_LINKER_SECTION=y CONFIG_SPL_BSS_MAX_SIZE=0x100000 -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SYS_MAXARGS=32 CONFIG_SYS_PBSIZE=532 # CONFIG_CMD_BOOTD is not set
configs/pico-imx8mq_defconfig +4 -4
@@ -38,10 +38,10 @@ CONFIG_SPL_BSS_START_ADDR=0x180000 CONFIG_SPL_BSS_MAX_SIZE=0x2000 CONFIG_SPL_BOARD_INIT=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x42200000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300 CONFIG_SPL_I2C=y
configs/pico-nymph-imx7d_defconfig +1 -1
@@ -25,7 +25,7 @@ CONFIG_DEFAULT_FDT_FILE="imx7d-pico-dwarf.dtb" CONFIG_SPL_MAX_SIZE=0xe000 CONFIG_SPL_HAS_BSS_LINKER_SECTION=y CONFIG_SPL_BSS_MAX_SIZE=0x100000 -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SYS_MAXARGS=32 CONFIG_SYS_PBSIZE=532 # CONFIG_CMD_BOOTD is not set
configs/pico-pi-imx6ul_defconfig +1 -1
@@ -27,7 +27,7 @@ CONFIG_BOOTDELAY=3 CONFIG_BOOTCOMMAND="run findfdt; run finduuid; run distro_bootcmd" CONFIG_DEFAULT_FDT_FILE="imx6ul-pico-pi.dtb" CONFIG_BOARD_EARLY_INIT_F=y -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SYS_MAXARGS=32 CONFIG_SYS_PBSIZE=532 CONFIG_CMD_BOOTMENU=y
configs/pico-pi-imx7d_defconfig +1 -1
@@ -25,7 +25,7 @@ CONFIG_DEFAULT_FDT_FILE="imx7d-pico-pi.dtb" CONFIG_SPL_MAX_SIZE=0xe000 CONFIG_SPL_HAS_BSS_LINKER_SECTION=y CONFIG_SPL_BSS_MAX_SIZE=0x100000 -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SYS_MAXARGS=32 CONFIG_SYS_PBSIZE=532 # CONFIG_CMD_BOOTD is not set
configs/plutux_defconfig +4 -4
@@ -20,10 +20,10 @@ CONFIG_SYS_STDIO_DEREGISTER=y CONFIG_SPL_FOOTPRINT_LIMIT=y CONFIG_SPL_MAX_FOOTPRINT=0x8000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x90000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x10000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x90000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x10000 CONFIG_SYS_MAXARGS=64 CONFIG_SYS_PBSIZE=2084 # CONFIG_CMD_IMI is not set
configs/pxm2_defconfig +3 -3
@@ -38,9 +38,9 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y # CONFIG_DISPLAY_BOARDINFO is not set CONFIG_ARCH_MISC_INIT=y CONFIG_SPL_BSS_START_ADDR=0x80000000 -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x80208000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x80208000 CONFIG_SPL_I2C=y CONFIG_SPL_NAND_DRIVERS=y CONFIG_SPL_NAND_ECC=y
configs/qemu-riscv32_spl_defconfig +1 -1
@@ -18,7 +18,7 @@ CONFIG_DISPLAY_CPUINFO=y CONFIG_DISPLAY_BOARDINFO=y CONFIG_SPL_MAX_SIZE=0x100000 CONFIG_SPL_BSS_START_ADDR=0x84000000 -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SYS_CBSIZE=256 CONFIG_SYS_PBSIZE=276 CONFIG_SYS_BOOTM_LEN=0x4000000
configs/qemu-riscv64_spl_defconfig +1 -1
@@ -17,7 +17,7 @@ CONFIG_DISPLAY_CPUINFO=y CONFIG_DISPLAY_BOARDINFO=y CONFIG_SPL_MAX_SIZE=0x100000 CONFIG_SPL_BSS_START_ADDR=0x84000000 -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SYS_CBSIZE=256 CONFIG_SYS_PBSIZE=276 CONFIG_SYS_BOOTM_LEN=0x4000000
configs/rastaban_defconfig +3 -3
@@ -38,9 +38,9 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y # CONFIG_DISPLAY_BOARDINFO is not set CONFIG_ARCH_MISC_INIT=y CONFIG_SPL_BSS_START_ADDR=0x80000000 -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x80208000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x80208000 CONFIG_SPL_I2C=y CONFIG_SPL_NAND_DRIVERS=y CONFIG_SPL_NAND_ECC=y
configs/ringneck-px30_defconfig +1 -1
@@ -42,7 +42,7 @@ CONFIG_SPL_BOOTROM_SUPPORT=y # CONFIG_SPL_RAW_IMAGE_SUPPORT is not set # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set CONFIG_SPL_STACK_R=y -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x200 CONFIG_SPL_ATF=y # CONFIG_TPL_FRAMEWORK is not set
configs/riotboard_defconfig +1 -1
@@ -30,7 +30,7 @@ CONFIG_SYS_CONSOLE_IS_IN_ENV=y CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y CONFIG_BOARD_EARLY_INIT_F=y CONFIG_SPL_RAW_IMAGE_SUPPORT=y -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_FS_EXT4=y CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot-dtb.img" CONFIG_SPL_FS_LOAD_ARGS_NAME="imx6dl-riotboard.dtb"
configs/rut_defconfig +3 -3
@@ -38,9 +38,9 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y # CONFIG_DISPLAY_BOARDINFO is not set CONFIG_ARCH_MISC_INIT=y CONFIG_SPL_BSS_START_ADDR=0x80000000 -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x80208000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x80208000 CONFIG_SPL_I2C=y CONFIG_SPL_NAND_DRIVERS=y CONFIG_SPL_NAND_ECC=y
configs/sama5d27_giantboard_defconfig +2 -2
@@ -46,8 +46,8 @@ CONFIG_SPL_HAS_BSS_LINKER_SECTION=y CONFIG_SPL_BSS_START_ADDR=0x20000000 CONFIG_SPL_BSS_MAX_SIZE=0x80000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_HUSH_PARSER=y CONFIG_SYS_CBSIZE=256 CONFIG_SYS_PBSIZE=276
configs/sama5d27_som1_ek_mmc1_defconfig +2 -2
@@ -43,8 +43,8 @@ CONFIG_SPL_HAS_BSS_LINKER_SECTION=y CONFIG_SPL_BSS_START_ADDR=0x20000000 CONFIG_SPL_BSS_MAX_SIZE=0x80000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_HUSH_PARSER=y CONFIG_SYS_CBSIZE=256 CONFIG_SYS_PBSIZE=276
configs/sama5d27_som1_ek_mmc_defconfig +2 -2
@@ -44,8 +44,8 @@ CONFIG_SPL_HAS_BSS_LINKER_SECTION=y CONFIG_SPL_BSS_START_ADDR=0x20000000 CONFIG_SPL_BSS_MAX_SIZE=0x80000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_HUSH_PARSER=y CONFIG_SYS_CBSIZE=256 CONFIG_SYS_PBSIZE=276
configs/sama5d27_som1_ek_qspiflash_defconfig +2 -2
@@ -42,8 +42,8 @@ CONFIG_SPL_HAS_BSS_LINKER_SECTION=y CONFIG_SPL_BSS_START_ADDR=0x20000000 CONFIG_SPL_BSS_MAX_SIZE=0x80000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_HUSH_PARSER=y CONFIG_SYS_CBSIZE=256 CONFIG_SYS_PBSIZE=276
configs/sama5d27_wlsom1_ek_mmc_defconfig +2 -2
@@ -43,8 +43,8 @@ CONFIG_SPL_HAS_BSS_LINKER_SECTION=y CONFIG_SPL_BSS_START_ADDR=0x20000000 CONFIG_SPL_BSS_MAX_SIZE=0x80000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_SPL_DISPLAY_PRINT=y # CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set CONFIG_SPL_AT91_MCK_BYPASS=y
configs/sama5d27_wlsom1_ek_qspiflash_defconfig +2 -2
@@ -43,8 +43,8 @@ CONFIG_SPL_HAS_BSS_LINKER_SECTION=y CONFIG_SPL_BSS_START_ADDR=0x20000000 CONFIG_SPL_BSS_MAX_SIZE=0x80000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_SPL_DISPLAY_PRINT=y # CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set CONFIG_SPL_DM_SPI_FLASH=y
configs/sama5d2_icp_mmc_defconfig +2 -2
@@ -44,8 +44,8 @@ CONFIG_SPL_BSS_START_ADDR=0x20000000 CONFIG_SPL_BSS_MAX_SIZE=0x80000 CONFIG_SPL_SYS_MALLOC_SIMPLE=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_SPL_DISPLAY_PRINT=y # CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set CONFIG_SPL_RAM_SUPPORT=y
configs/sama5d2_xplained_emmc_defconfig +2 -2
@@ -43,8 +43,8 @@ CONFIG_SPL_HAS_BSS_LINKER_SECTION=y CONFIG_SPL_BSS_START_ADDR=0x20000000 CONFIG_SPL_BSS_MAX_SIZE=0x80000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_HUSH_PARSER=y CONFIG_SYS_CBSIZE=256 CONFIG_SYS_PBSIZE=276
configs/sama5d2_xplained_mmc_defconfig +2 -2
@@ -45,8 +45,8 @@ CONFIG_SPL_HAS_BSS_LINKER_SECTION=y CONFIG_SPL_BSS_START_ADDR=0x20000000 CONFIG_SPL_BSS_MAX_SIZE=0x80000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_HUSH_PARSER=y CONFIG_SYS_CBSIZE=256 CONFIG_SYS_PBSIZE=276
configs/sama5d2_xplained_qspiflash_defconfig +2 -2
@@ -46,8 +46,8 @@ CONFIG_SPL_HAS_BSS_LINKER_SECTION=y CONFIG_SPL_BSS_START_ADDR=0x20000000 CONFIG_SPL_BSS_MAX_SIZE=0x80000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_HUSH_PARSER=y CONFIG_SYS_CBSIZE=256 CONFIG_SYS_PBSIZE=276
configs/sama5d2_xplained_spiflash_defconfig +2 -2
@@ -47,8 +47,8 @@ CONFIG_SPL_HAS_BSS_LINKER_SECTION=y CONFIG_SPL_BSS_START_ADDR=0x20000000 CONFIG_SPL_BSS_MAX_SIZE=0x80000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_SPL_DM_SPI_FLASH=y CONFIG_SPL_SPI_LOAD=y CONFIG_SYS_SPI_U_BOOT_OFFS=0x10000
configs/sama5d3_xplained_mmc_defconfig +2 -2
@@ -42,8 +42,8 @@ CONFIG_SPL_HAS_BSS_LINKER_SECTION=y CONFIG_SPL_BSS_START_ADDR=0x20000000 CONFIG_SPL_BSS_MAX_SIZE=0x80000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_HUSH_PARSER=y CONFIG_SYS_CBSIZE=256 CONFIG_SYS_PBSIZE=276
configs/sama5d3_xplained_nandflash_defconfig +2 -2
@@ -39,8 +39,8 @@ CONFIG_SPL_HAS_BSS_LINKER_SECTION=y CONFIG_SPL_BSS_START_ADDR=0x20000000 CONFIG_SPL_BSS_MAX_SIZE=0x80000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_SPL_NAND_SUPPORT=y CONFIG_SPL_NAND_DRIVERS=y CONFIG_SPL_NAND_BASE=y
configs/sama5d3xek_mmc_defconfig +2 -2
@@ -44,8 +44,8 @@ CONFIG_SPL_HAS_BSS_LINKER_SECTION=y CONFIG_SPL_BSS_START_ADDR=0x20000000 CONFIG_SPL_BSS_MAX_SIZE=0x80000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_HUSH_PARSER=y CONFIG_SYS_CBSIZE=256 CONFIG_SYS_PBSIZE=276
configs/sama5d3xek_nandflash_defconfig +2 -2
@@ -41,8 +41,8 @@ CONFIG_SPL_HAS_BSS_LINKER_SECTION=y CONFIG_SPL_BSS_START_ADDR=0x20000000 CONFIG_SPL_BSS_MAX_SIZE=0x80000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_SPL_NAND_SUPPORT=y CONFIG_SPL_NAND_DRIVERS=y CONFIG_SPL_NAND_BASE=y
configs/sama5d3xek_spiflash_defconfig +2 -2
@@ -44,8 +44,8 @@ CONFIG_SPL_HAS_BSS_LINKER_SECTION=y CONFIG_SPL_BSS_START_ADDR=0x20000000 CONFIG_SPL_BSS_MAX_SIZE=0x80000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_SPL_DM_SPI_FLASH=y CONFIG_SPL_SPI_LOAD=y CONFIG_SYS_SPI_U_BOOT_OFFS=0x10000
configs/sama5d4_xplained_mmc_defconfig +2 -2
@@ -44,8 +44,8 @@ CONFIG_SPL_HAS_BSS_LINKER_SECTION=y CONFIG_SPL_BSS_START_ADDR=0x20000000 CONFIG_SPL_BSS_MAX_SIZE=0x80000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_HUSH_PARSER=y CONFIG_SYS_CBSIZE=256 CONFIG_SYS_PBSIZE=276
configs/sama5d4_xplained_nandflash_defconfig +2 -2
@@ -41,8 +41,8 @@ CONFIG_SPL_HAS_BSS_LINKER_SECTION=y CONFIG_SPL_BSS_START_ADDR=0x20000000 CONFIG_SPL_BSS_MAX_SIZE=0x80000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_SPL_NAND_SUPPORT=y CONFIG_SPL_NAND_DRIVERS=y CONFIG_SPL_NAND_BASE=y
configs/sama5d4_xplained_spiflash_defconfig +2 -2
@@ -46,8 +46,8 @@ CONFIG_SPL_HAS_BSS_LINKER_SECTION=y CONFIG_SPL_BSS_START_ADDR=0x20000000 CONFIG_SPL_BSS_MAX_SIZE=0x80000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_SPL_DM_SPI_FLASH=y CONFIG_SPL_SPI_LOAD=y CONFIG_SYS_SPI_U_BOOT_OFFS=0x10000
configs/sama5d4ek_mmc_defconfig +2 -2
@@ -44,8 +44,8 @@ CONFIG_SPL_HAS_BSS_LINKER_SECTION=y CONFIG_SPL_BSS_START_ADDR=0x20000000 CONFIG_SPL_BSS_MAX_SIZE=0x80000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_HUSH_PARSER=y CONFIG_SYS_CBSIZE=256 CONFIG_SYS_PBSIZE=276
configs/sama5d4ek_nandflash_defconfig +2 -2
@@ -41,8 +41,8 @@ CONFIG_SPL_HAS_BSS_LINKER_SECTION=y CONFIG_SPL_BSS_START_ADDR=0x20000000 CONFIG_SPL_BSS_MAX_SIZE=0x80000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_SPL_NAND_SUPPORT=y CONFIG_SPL_NAND_DRIVERS=y CONFIG_SPL_NAND_BASE=y
configs/sama5d4ek_spiflash_defconfig +2 -2
@@ -44,8 +44,8 @@ CONFIG_SPL_HAS_BSS_LINKER_SECTION=y CONFIG_SPL_BSS_START_ADDR=0x20000000 CONFIG_SPL_BSS_MAX_SIZE=0x80000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x80000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x80000 CONFIG_SPL_DM_SPI_FLASH=y CONFIG_SPL_SPI_LOAD=y CONFIG_SYS_SPI_U_BOOT_OFFS=0x10000
configs/seaboard_defconfig +4 -4
@@ -18,10 +18,10 @@ CONFIG_USE_PREBOOT=y CONFIG_SPL_FOOTPRINT_LIMIT=y CONFIG_SPL_MAX_FOOTPRINT=0x8000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x90000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x10000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x90000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x10000 CONFIG_SYS_MAXARGS=64 CONFIG_SYS_PBSIZE=2086 # CONFIG_CMD_IMI is not set
configs/seeed_npi_imx6ull_defconfig +1 -1
@@ -21,7 +21,7 @@ CONFIG_FIT=y CONFIG_DISTRO_DEFAULTS=y CONFIG_BOOTDELAY=3 CONFIG_BOARD_EARLY_INIT_F=y -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_DMA=y CONFIG_SPL_NAND_SUPPORT=y CONFIG_SPL_WATCHDOG=y
configs/sifive_unleashed_defconfig +1 -1
@@ -29,7 +29,7 @@ CONFIG_MISC_INIT_R=y CONFIG_SPL_MAX_SIZE=0x100000 CONFIG_SPL_BSS_START_ADDR=0x85000000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_DM_SPI_FLASH=y CONFIG_SPL_DM_RESET=y CONFIG_SPL_SPI_LOAD=y
configs/sifive_unmatched_defconfig +1 -1
@@ -35,7 +35,7 @@ CONFIG_PCI_INIT_R=y CONFIG_SPL_MAX_SIZE=0x100000 CONFIG_SPL_BSS_START_ADDR=0x85000000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y +CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_DM_SPI_FLASH=y CONFIG_SPL_DM_RESET=y CONFIG_SPL_SPI_LOAD=y
configs/smartweb_defconfig +2 -2
@@ -41,8 +41,8 @@ CONFIG_SPL_HAS_BSS_LINKER_SECTION=y CONFIG_SPL_BSS_START_ADDR=0x20000000 CONFIG_SPL_BSS_MAX_SIZE=0x4000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_SYS_SPL_MALLOC_SIZE=0x460000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_SYS_MALLOC_SIZE=0x460000 CONFIG_SPL_NAND_SUPPORT=y CONFIG_SPL_NAND_RAW_ONLY=y CONFIG_SPL_NAND_DRIVERS=y
configs/sniper_defconfig +3 -3
@@ -18,9 +18,9 @@ CONFIG_SYS_CONSOLE_IS_IN_ENV=y CONFIG_SPL_MAX_SIZE=0xec00 CONFIG_SPL_BSS_START_ADDR=0x80000000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x80208000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x80208000 # CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION=2
configs/socfpga_agilex_atf_defconfig +4 -4
@@ -35,10 +35,10 @@ CONFIG_SPL_HAS_BSS_LINKER_SECTION=y CONFIG_SPL_BSS_START_ADDR=0x3ff00000 CONFIG_SPL_BSS_MAX_SIZE=0x100000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x3fa00000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x500000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x3fa00000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x500000 CONFIG_SPL_CACHE=y CONFIG_SPL_SPI_LOAD=y CONFIG_SYS_SPI_U_BOOT_OFFS=0x02000000
configs/socfpga_agilex_defconfig +4 -4
@@ -33,10 +33,10 @@ CONFIG_SPL_HAS_BSS_LINKER_SECTION=y CONFIG_SPL_BSS_START_ADDR=0x3ff00000 CONFIG_SPL_BSS_MAX_SIZE=0x100000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x3fa00000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x500000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x3fa00000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x500000 CONFIG_SPL_CACHE=y CONFIG_SPL_SPI_LOAD=y CONFIG_SYS_SPI_U_BOOT_OFFS=0x3c00000
configs/socfpga_agilex_vab_defconfig +4 -4
@@ -36,10 +36,10 @@ CONFIG_SPL_HAS_BSS_LINKER_SECTION=y CONFIG_SPL_BSS_START_ADDR=0x3ff00000 CONFIG_SPL_BSS_MAX_SIZE=0x100000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x3fa00000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x500000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x3fa00000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x500000 CONFIG_SPL_CACHE=y CONFIG_SPL_SPI_LOAD=y CONFIG_SYS_SPI_U_BOOT_OFFS=0x02000000
configs/socfpga_arria10_defconfig +4 -4
@@ -30,10 +30,10 @@ CONFIG_CLOCKS=y CONFIG_SPL_PAD_TO=0x40000 CONFIG_SPL_NO_BSS_LIMIT=y # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0xffe2b000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x15000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0xffe2b000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x15000 CONFIG_SPL_ENV_SUPPORT=y CONFIG_SPL_FPGA=y CONFIG_SYS_MAXARGS=32
configs/socfpga_chameleonv3_defconfig +4 -4
@@ -14,10 +14,10 @@ CONFIG_DISTRO_DEFAULTS=y CONFIG_MISC_INIT_R=y CONFIG_SPL_MAX_SIZE=0x40000 CONFIG_SPL_NO_BSS_LIMIT=y -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0xffe2b000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x15000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0xffe2b000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x15000 CONFIG_SPL_ENV_SUPPORT=y CONFIG_SPL_FS_EXT4=y CONFIG_SPL_FPGA=y
configs/socfpga_n5x_atf_defconfig +4 -4
@@ -34,10 +34,10 @@ CONFIG_SPL_HAS_BSS_LINKER_SECTION=y CONFIG_SPL_BSS_START_ADDR=0x3ff00000 CONFIG_SPL_BSS_MAX_SIZE=0x100000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x3fa00000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x500000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x3fa00000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x500000 CONFIG_SPL_CACHE=y CONFIG_SPL_SPI_LOAD=y CONFIG_SYS_SPI_U_BOOT_OFFS=0x02000000
configs/socfpga_n5x_defconfig +4 -4
@@ -30,10 +30,10 @@ CONFIG_SPL_HAS_BSS_LINKER_SECTION=y CONFIG_SPL_BSS_START_ADDR=0x3ff00000 CONFIG_SPL_BSS_MAX_SIZE=0x100000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x3fa00000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x500000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x3fa00000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x500000 CONFIG_SPL_CACHE=y CONFIG_SPL_SPI_LOAD=y CONFIG_SYS_SPI_U_BOOT_OFFS=0x3c00000
configs/socfpga_n5x_vab_defconfig +4 -4
@@ -35,10 +35,10 @@ CONFIG_SPL_HAS_BSS_LINKER_SECTION=y CONFIG_SPL_BSS_START_ADDR=0x3ff00000 CONFIG_SPL_BSS_MAX_SIZE=0x100000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x3fa00000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x500000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x3fa00000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x500000 CONFIG_SPL_CACHE=y CONFIG_SPL_SPI_LOAD=y CONFIG_SYS_SPI_U_BOOT_OFFS=0x02000000
configs/socfpga_stratix10_atf_defconfig +4 -4
@@ -35,10 +35,10 @@ CONFIG_SPL_HAS_BSS_LINKER_SECTION=y CONFIG_SPL_BSS_START_ADDR=0x3ff00000 CONFIG_SPL_BSS_MAX_SIZE=0x100000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x3fa00000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x500000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x3fa00000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x500000 CONFIG_SPL_SPI_LOAD=y CONFIG_SYS_SPI_U_BOOT_OFFS=0x02000000 CONFIG_SPL_ATF=y
configs/socfpga_stratix10_defconfig +4 -4
@@ -35,10 +35,10 @@ CONFIG_SPL_HAS_BSS_LINKER_SECTION=y CONFIG_SPL_BSS_START_ADDR=0x3ff00000 CONFIG_SPL_BSS_MAX_SIZE=0x100000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x3fa00000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x500000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x3fa00000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x500000 CONFIG_SPL_SPI_LOAD=y CONFIG_SYS_SPI_U_BOOT_OFFS=0x3C00000 CONFIG_SPL_TARGET="spl/u-boot-spl-dtb.hex"
configs/starfive_visionfive2_defconfig +4 -4
@@ -47,10 +47,10 @@ CONFIG_SPL_PAD_TO=0x0 CONFIG_SPL_BSS_START_ADDR=0x8040000 CONFIG_SPL_BSS_MAX_SIZE=0x10000 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set -CONFIG_SYS_SPL_MALLOC=y -CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y -CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x80000000 -CONFIG_SYS_SPL_MALLOC_SIZE=0x400000 +CONFIG_SPL_SYS_MALLOC=y +CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y +CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x80000000 +CONFIG_SPL_SYS_MALLOC_SIZE=0x400000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION=0x2 CONFIG_SPL_I2C=y
configs/stm32mp15-icore-stm32mp1-ctouch2_defconfig +4 -4
@@ -22,10 +22,10 @@ CONFIG_BOOTCOMMAND="run bootcmd_stm32mp" CONFIG_SPL_FOOTPRINT_LIMIT=y CONFIG_SPL_MAX_FOOTPRINT=0x3db00
Lines of this file are not shown. View the raw message.
configs/stm32mp15-icore-stm32mp1-edimm2.2_defconfig +4 -4
Lines of this file are not shown. View the raw message.
configs/stm32mp15-microgea-stm32mp1-microdev2-of7_defconfig +4 -4
Lines of this file are not shown. View the raw message.
configs/stm32mp15-microgea-stm32mp1-microdev2_defconfig +4 -4
Lines of this file are not shown. View the raw message.
configs/stm32mp15_dhcom_basic_defconfig +4 -4
Lines of this file are not shown. View the raw message.
configs/stm32mp15_dhcor_basic_defconfig +4 -4
Lines of this file are not shown. View the raw message.
configs/xilinx_zynqmp_mini_emmc0_defconfig +4 -4
Lines of this file are not shown. View the raw message.
configs/xilinx_zynqmp_mini_emmc1_defconfig +4 -4
Lines of this file are not shown. View the raw message.
configs/xilinx_zynqmp_mini_qspi_defconfig +4 -4
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.42.0.515.g380fc7ccd1-goog
Part of the diff is not shown here. View the raw message.
Re: [PATCH v3 01/38] spl: Use CONFIG_SPL... instead of CONFIG_..._SPL_...
Hi Simon,
Quoted 4 lines · Simon Glass
We like to put the SPL first so it is clear that it relates to SPL. Rename various malloc-related options which have crept in, to stick to this convention.
Quoted 8 lines
Signed-off-by Simon Glass <[email protected]>Reviewed-by Marcel Ziswiler <[email protected]>Reviewed-by Martyn Welch <[email protected]>Reviewed-by Svyatoslav Ryhel <[email protected]>---
(no changes since v1)
.....
I just tried to apply the patch to master for testing and got the following result:
error: patch failed: configs/am335x_baltos_defconfig:18
error: configs/am335x_baltos_defconfig: patch does not apply
error: patch failed: configs/am335x_igep003x_defconfig:20
error: configs/am335x_igep003x_defconfig: patch does not apply
error: patch failed: configs/dh_imx6_defconfig:39
error: configs/dh_imx6_defconfig: patch does not apply
error: patch failed: configs/starfive_visionfive2_defconfig:47
error: configs/starfive_visionfive2_defconfig: patch does not apply
For what I want to test (changes for PDU001 board) this doesn't matter however. I'm just not sure: should I go ahead with testing or wait for an updated patch?
regards Felix
Re: [PATCH v3 01/38] spl: Use CONFIG_SPL... instead of CONFIG_..._SPL_...
Hi Felix,
Quoted 29 lines · Felix Brack
Hi Simon,
Quoted 4 lines · Simon Glass
We like to put the SPL first so it is clear that it relates to SPL. Rename various malloc-related options which have crept in, to stick to this convention.
Quoted 8 lines
Signed-off-by Simon Glass <[email protected]>Reviewed-by Marcel Ziswiler <[email protected]>Reviewed-by Martyn Welch <[email protected]>Reviewed-by Svyatoslav Ryhel <[email protected]>---
(no changes since v1)
.....I just tried to apply the patch to master for testing and got the following result:
error: patch failed: configs/am335x_baltos_defconfig:18
error: configs/am335x_baltos_defconfig: patch does not apply
error: patch failed: configs/am335x_igep003x_defconfig:20
error: configs/am335x_igep003x_defconfig: patch does not apply
error: patch failed: configs/dh_imx6_defconfig:39
error: configs/dh_imx6_defconfig: patch does not apply
error: patch failed: configs/starfive_visionfive2_defconfig:47
error: configs/starfive_visionfive2_defconfig: patch does not apply
Quoted 3 lines
For what I want to test (changes for PDU001 board) this doesn't matter however. I'm just not sure: should I go ahead with testing or wait for an updated patch?
I had to resync the defconfigs before this patch, to avoid conflicts when applied.
So you can use './tools/moveconfig -Cy' and then the series should apply OK.
Regards,
Simon
Re: [PATCH v3 01/38] spl: Use CONFIG_SPL... instead of CONFIG_..._SPL_...
In reply to Simon GlassQuoted 4 lines · Simon Glass
We like to put the SPL first so it is clear that it relates to SPL. Rename various malloc-related options which have crept in, to stick to this convention.
Quoted 8 lines
Signed-off-by Simon Glass <[email protected]>Reviewed-by Marcel Ziswiler <[email protected]>Reviewed-by Martyn Welch <[email protected]>Reviewed-by Svyatoslav Ryhel <[email protected]>---
(no changes since v1)
For the PDU001 board:
PATCH v3 2/38 spl: Rename SYS_SPL_ARGS_ADDR to SPL_PAYLOAD_ARGS_ADDR
In reply to Simon GlassRename this so that SPL is first, as per U-Boot convention. Also add PAYLOAD_ since this is where in memory the parameters for the payload have been stored.
---
(no changes since v2)
Changes in v2:
- Rename based on Tom's feedback
arch/arm/cpu/armv8/fsl-layerscape/doc/README.falcon | 2 +- common/spl/Kconfig | 2 +- common/spl/spl.c | 8 ++++---- common/spl/spl_ext.c | 4 ++-- common/spl/spl_fat.c | 4 ++-- common/spl/spl_mmc.c | 2 +- common/spl/spl_nand.c | 10 +++++----- common/spl/spl_nor.c | 8 ++++---- common/spl/spl_spi.c | 2 +- common/spl/spl_ubi.c | 2 +- common/spl/spl_xip.c | 2 +- configs/am3517_evm_defconfig | 2 +- configs/devkit8000_defconfig | 2 +- configs/display5_defconfig | 2 +- configs/display5_factory_defconfig | 2 +- configs/gwventana_emmc_defconfig | 2 +- configs/gwventana_nand_defconfig | 2 +- configs/igep00x0_defconfig | 2 +- configs/imx28_xea_defconfig | 2 +- configs/imx6dl_mamoj_defconfig | 2 +- configs/imx6q_logic_defconfig | 2 +- configs/imx6qdl_icore_mipi_defconfig | 2 +- configs/imx6qdl_icore_mmc_defconfig | 2 +- configs/imx6qdl_icore_rqs_defconfig | 2 +- configs/ls1046ardb_qspi_spl_defconfig | 2 +- configs/mccmon6_nor_defconfig | 2 +- configs/omap35_logic_defconfig | 2 +- configs/omap35_logic_somlv_defconfig | 2 +- configs/omap3_logic_defconfig | 2 +- configs/omap3_logic_somlv_defconfig | 2 +- configs/riotboard_defconfig | 2 +- configs/stm32746g-eval_spl_defconfig | 2 +- configs/stm32f746-disco_spl_defconfig | 2 +- configs/stm32f769-disco_spl_defconfig | 2 +- configs/syzygy_hub_defconfig | 2 +- configs/vyasa-rk3288_defconfig | 2 +- configs/xilinx_zynq_virt_defconfig | 2 +- configs/xilinx_zynqmp_virt_defconfig | 2 +- doc/develop/falcon.rst | 2 +- 39 files changed, 51 insertions(+), 51 deletions(-)
arch/arm/cpu/armv8/fsl-layerscape/doc/README.falcon +1 -1
@@ -30,7 +30,7 @@ to understand the device tree in FIT image should be the one actually used, or leave it absent to favor the stored sectors. It is easier to deploy the FIT image with embedded static device tree to multiple boards. -Macro CONFIG_SYS_SPL_ARGS_ADDR serves two purposes. One is the pointer to load +Macro CONFIG_SPL_PAYLOAD_ARGS_ADDR serves two purposes. One is the pointer to load the stored sectors to. Normally this is the static device tree. The second purpose is the memory location of signature header for secure boot. After the FIT image is loaded into memory, it is validated against the signature header
common/spl/Kconfig +1 -1
@@ -1063,7 +1063,7 @@ config SPL_OS_BOOT Enable booting directly to an OS from SPL. for more info read doc/README.falcon -config SYS_SPL_ARGS_ADDR +config SPL_PAYLOAD_ARGS_ADDR hex "Address in memory to load 'args' file for Falcon Mode to" depends on SPL_OS_BOOT default 0x88000000 if ARCH_OMAP2PLUS
common/spl/spl.c +4 -4
@@ -818,8 +818,8 @@ void board_init_r(gd_t *dummy1, ulong dummy2) }memset (&spl_image,'\0' ,sizeof (spl_image)); -#ifdef CONFIG_SYS_SPL_ARGS_ADDR - spl_image.arg = (void *)CONFIG_SYS_SPL_ARGS_ADDR ; +#ifdef CONFIG_SPL_PAYLOAD_ARGS_ADDR + spl_image.arg = (void *)CONFIG_SPL_PAYLOAD_ARGS_ADDR ;#endif spl_image.boot_device =BOOT_DEVICE_NONE ;board_boot_order (spl_boot_list);
@@ -877,8 +877,8 @@ void board_init_r(gd_t *dummy1, ulong dummy2)#if CONFIG_IS_ENABLED (OS_BOOT )case IH_OS_LINUX :debug ("Jumping to Linux\n" ); -#if defined(CONFIG_SYS_SPL_ARGS_ADDR ) -spl_fixup_fdt ((void *)CONFIG_SYS_SPL_ARGS_ADDR ); +#if defined(CONFIG_SPL_PAYLOAD_ARGS_ADDR ) +spl_fixup_fdt ((void *)CONFIG_SPL_PAYLOAD_ARGS_ADDR );#endif spl_board_prepare_for_linux ();jump_to_image_linux (&spl_image);
common/spl/spl_ext.c +2 -2
@@ -97,7 +97,7 @@ int spl_load_image_ext_os(struct spl_image_info *spl_image,puts ("spl: ext4fs_open failed\n" ); goto defaults; } - err =ext4fs_read ((void *)CONFIG_SYS_SPL_ARGS_ADDR ,0 , filelen, &actlen); + err =ext4fs_read ((void *)CONFIG_SPL_PAYLOAD_ARGS_ADDR ,0 , filelen, &actlen);if (err <0 ) {printf ("spl: error reading image %s, err - %d, falling back to default\n" , file, err);
@@ -127,7 +127,7 @@ defaults:if (err <0 )puts ("spl: ext4fs_open failed\n" ); - err =ext4fs_read ((void *)CONFIG_SYS_SPL_ARGS_ADDR ,0 , filelen, &actlen); + err =ext4fs_read ((void *)CONFIG_SPL_PAYLOAD_ARGS_ADDR ,0 , filelen, &actlen);if (err <0 ) {#ifdef CONFIG_SPL_LIBCOMMON_SUPPORT printf("%s: error reading image %s, err - %d\n",
common/spl/spl_fat.c +2 -2
@@ -128,7 +128,7 @@ int spl_load_image_fat_os(struct spl_image_info *spl_image,#if defined(CONFIG_SPL_ENV_SUPPORT ) && defined(CONFIG_SPL_OS_BOOT ) file =env_get ("falcon_args_file" );if (file) { - err =file_fat_read (file, (void *)CONFIG_SYS_SPL_ARGS_ADDR ,0 ); + err =file_fat_read (file, (void *)CONFIG_SPL_PAYLOAD_ARGS_ADDR ,0 );if (err <=0 ) {printf ("spl: error reading image %s, err - %d, falling back to default\n" , file, err);
@@ -153,7 +153,7 @@ defaults:#endif err =file_fat_read (CONFIG_SPL_FS_LOAD_ARGS_NAME , - (void *)CONFIG_SYS_SPL_ARGS_ADDR ,0 ); + (void *)CONFIG_SPL_PAYLOAD_ARGS_ADDR ,0 );if (err <=0 ) {#ifdef CONFIG_SPL_LIBCOMMON_SUPPORT printf("%s: error reading image %s, err - %d\n",
common/spl/spl_mmc.c +1 -1
@@ -235,7 +235,7 @@ static int mmc_load_image_raw_os(struct spl_image_info *spl_image, count =blk_dread (mmc_get_blk_desc (mmc),CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR ,CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS , - (void *)CONFIG_SYS_SPL_ARGS_ADDR ); + (void *)CONFIG_SPL_PAYLOAD_ARGS_ADDR );if (count !=CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS ) {#ifdef CONFIG_SPL_LIBCOMMON_SUPPORT puts ("mmc_load_image_raw_os: mmc block read error\n" );
common/spl/spl_nand.c +5 -5
@@ -159,11 +159,11 @@ static int spl_nand_load_image(struct spl_image_info *spl_image,CONFIG_CMD_SPL_WRITE_SIZE , (void *)CONFIG_TEXT_BASE);/* copy to destintion */ -for (dst = (int *)CONFIG_SYS_SPL_ARGS_ADDR , - src = (int *)CONFIG_TEXT_BASE ; - src < (int *)(CONFIG_TEXT_BASE + -CONFIG_CMD_SPL_WRITE_SIZE ); - src++, dst++) { +for (dst = (int *)CONFIG_SPL_PAYLOAD_ARGS_ADDR , + src = (int *)CONFIG_TEXT_BASE ; + src < (int *)(CONFIG_TEXT_BASE + +CONFIG_CMD_SPL_WRITE_SIZE ); + src++, dst++) {writel (readl (src), dst); }
common/spl/spl_nor.c +4 -4
@@ -54,8 +54,8 @@ static int spl_nor_load_image(struct spl_image_info *spl_image,CONFIG_SYS_OS_BASE , (void *)header); -#if definedCONFIG_SYS_SPL_ARGS_ADDR && definedCONFIG_CMD_SPL_NOR_OFS -memcpy ((void *)CONFIG_SYS_SPL_ARGS_ADDR , +#if definedCONFIG_SPL_PAYLOAD_ARGS_ADDR && definedCONFIG_CMD_SPL_NOR_OFS +memcpy ((void *)CONFIG_SPL_PAYLOAD_ARGS_ADDR , (void *)CONFIG_CMD_SPL_NOR_OFS ,CONFIG_CMD_SPL_WRITE_SIZE );#endif
@@ -74,8 +74,8 @@ static int spl_nor_load_image(struct spl_image_info *spl_image, (void *)(CONFIG_SYS_OS_BASE +sizeof (struct legacy_img_hdr )), spl_image->size); -#ifdef CONFIG_SYS_SPL_ARGS_ADDR - spl_image->arg = (void *)CONFIG_SYS_SPL_ARGS_ADDR ; +#ifdef CONFIG_SPL_PAYLOAD_ARGS_ADDR + spl_image->arg = (void *)CONFIG_SPL_PAYLOAD_ARGS_ADDR ;#endif return 0 ;
common/spl/spl_spi.c +1 -1
@@ -47,7 +47,7 @@ static int spi_load_image_os(struct spl_image_info *spl_image,/* Read device tree. */ spi_flash_read (flash,CFG_SYS_SPI_ARGS_OFFS ,CFG_SYS_SPI_ARGS_SIZE , - (void *)CONFIG_SYS_SPL_ARGS_ADDR ); + (void *)CONFIG_SPL_PAYLOAD_ARGS_ADDR );return 0 ; }
common/spl/spl_ubi.c +1 -1
@@ -50,7 +50,7 @@ int spl_ubi_load_image(struct spl_image_info *spl_image, volumes[0 ].vol_id =CONFIG_SPL_UBI_LOAD_KERNEL_ID ; volumes[0 ].load_addr = (void *)CONFIG_SYS_LOAD_ADDR ; volumes[1 ].vol_id =CONFIG_SPL_UBI_LOAD_ARGS_ID ; - volumes[1 ].load_addr = (void *)CONFIG_SYS_SPL_ARGS_ADDR ; + volumes[1 ].load_addr = (void *)CONFIG_SPL_PAYLOAD_ARGS_ADDR ; ret =ubispl_load_volumes (&info, volumes,2 );if (!ret) {
common/spl/spl_xip.c +1 -1
@@ -14,7 +14,7 @@ static int spl_xip(struct spl_image_info *spl_image, {#if CONFIG_IS_ENABLED (OS_BOOT )if (!spl_start_uboot ()) { - spl_image->arg = (void *)CONFIG_SYS_SPL_ARGS_ADDR ; + spl_image->arg = (void *)CONFIG_SPL_PAYLOAD_ARGS_ADDR ; spl_image->name ="Linux" ; spl_image->os =IH_OS_LINUX ; spl_image->load_addr =CONFIG_SYS_LOAD_ADDR ;
configs/am3517_evm_defconfig +1 -1
@@ -33,7 +33,7 @@ CONFIG_SPL_NAND_ECC=y CONFIG_SPL_NAND_SIMPLE=y CONFIG_SPL_NAND_BASE=y CONFIG_SPL_OS_BOOT=y -CONFIG_SYS_SPL_ARGS_ADDR=0x84000000 +CONFIG_SPL_PAYLOAD_ARGS_ADDR=0x84000000 CONFIG_SYS_NAND_SPL_KERNEL_OFFS=0x2a0000 CONFIG_SPL_FALCON_BOOT_MMCSD=y CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1700
configs/devkit8000_defconfig +1 -1
@@ -28,7 +28,7 @@ CONFIG_SPL_NAND_ECC=y CONFIG_SPL_NAND_SIMPLE=y CONFIG_SPL_NAND_BASE=y CONFIG_SPL_OS_BOOT=y -CONFIG_SYS_SPL_ARGS_ADDR=0x80000100 +CONFIG_SPL_PAYLOAD_ARGS_ADDR=0x80000100 CONFIG_SYS_NAND_SPL_KERNEL_OFFS=0x280000 CONFIG_SPL_FALCON_BOOT_MMCSD=y CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x500
configs/display5_defconfig +1 -1
@@ -46,7 +46,7 @@ CONFIG_SPL_ENV_SUPPORT=y CONFIG_SPL_SAVEENV=y CONFIG_SPL_I2C=y CONFIG_SPL_OS_BOOT=y -CONFIG_SYS_SPL_ARGS_ADDR=0x18000000 +CONFIG_SPL_PAYLOAD_ARGS_ADDR=0x18000000 CONFIG_SPL_FALCON_BOOT_MMCSD=y CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x100 CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR=0x3F00
configs/display5_factory_defconfig +1 -1
@@ -41,7 +41,7 @@ CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_DMA=y CONFIG_SPL_I2C=y CONFIG_SPL_OS_BOOT=y -CONFIG_SYS_SPL_ARGS_ADDR=0x18000000 +CONFIG_SPL_PAYLOAD_ARGS_ADDR=0x18000000 CONFIG_SPL_FALCON_BOOT_MMCSD=y CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x100 CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR=0x3F00
configs/gwventana_emmc_defconfig +1 -1
@@ -50,7 +50,7 @@ CONFIG_SPL_FIT_IMAGE_TINY=y CONFIG_SPL_DMA=y CONFIG_SPL_I2C=y CONFIG_SPL_OS_BOOT=y -CONFIG_SYS_SPL_ARGS_ADDR=0x18000000 +CONFIG_SPL_PAYLOAD_ARGS_ADDR=0x18000000 CONFIG_SPL_FALCON_BOOT_MMCSD=y CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1000 CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR=0x800
configs/gwventana_nand_defconfig +1 -1
@@ -51,7 +51,7 @@ CONFIG_SPL_DMA=y CONFIG_SPL_I2C=y CONFIG_SPL_NAND_SUPPORT=y CONFIG_SPL_OS_BOOT=y -CONFIG_SYS_SPL_ARGS_ADDR=0x18000000 +CONFIG_SPL_PAYLOAD_ARGS_ADDR=0x18000000 CONFIG_SYS_NAND_SPL_KERNEL_OFFS=0x1200000 CONFIG_SPL_FALCON_BOOT_MMCSD=y CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1000
configs/igep00x0_defconfig +1 -1
@@ -43,7 +43,7 @@ CONFIG_SPL_UBI_LOAD_KERNEL_ID=3 CONFIG_SPL_UBI_LOAD_ARGS_ID=4 CONFIG_SPL_ONENAND_SUPPORT=y CONFIG_SPL_OS_BOOT=y -CONFIG_SYS_SPL_ARGS_ADDR=0x84000000 +CONFIG_SPL_PAYLOAD_ARGS_ADDR=0x84000000 CONFIG_SYS_NAND_SPL_KERNEL_OFFS=0x280000 CONFIG_SPL_FALCON_BOOT_MMCSD=y CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1700
configs/imx28_xea_defconfig +1 -1
@@ -51,7 +51,7 @@ CONFIG_SPL_DMA=y CONFIG_SPL_MMC_TINY=y CONFIG_SPL_DM_SPI_FLASH=y CONFIG_SPL_OS_BOOT=y -CONFIG_SYS_SPL_ARGS_ADDR=0x44000000 +CONFIG_SPL_PAYLOAD_ARGS_ADDR=0x44000000 CONFIG_SPL_FALCON_BOOT_MMCSD=y CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x800 CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR=0x400
configs/imx6dl_mamoj_defconfig +1 -1
@@ -20,7 +20,7 @@ CONFIG_DISTRO_DEFAULTS=y CONFIG_BOOTDELAY=3 CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_OS_BOOT=y -CONFIG_SYS_SPL_ARGS_ADDR=0x13000000 +CONFIG_SPL_PAYLOAD_ARGS_ADDR=0x13000000 CONFIG_SPL_FALCON_BOOT_MMCSD=y CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1000 CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR=0x800
configs/imx6q_logic_defconfig +1 -1
@@ -36,7 +36,7 @@ CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot-dtb.img" CONFIG_SPL_I2C=y CONFIG_SPL_NAND_SUPPORT=y CONFIG_SPL_OS_BOOT=y -CONFIG_SYS_SPL_ARGS_ADDR=0x18000000 +CONFIG_SPL_PAYLOAD_ARGS_ADDR=0x18000000 CONFIG_SYS_NAND_SPL_KERNEL_OFFS=0x500000 CONFIG_SPL_FALCON_BOOT_MMCSD=y CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1000
configs/imx6qdl_icore_mipi_defconfig +1 -1
@@ -36,7 +36,7 @@ CONFIG_BOOTCOMMAND="run $modeboot" CONFIG_SPL_RAW_IMAGE_SUPPORT=y CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_OS_BOOT=y -CONFIG_SYS_SPL_ARGS_ADDR=0x18000000 +CONFIG_SPL_PAYLOAD_ARGS_ADDR=0x18000000 CONFIG_SPL_FALCON_BOOT_MMCSD=y CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1000 CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR=0x800
configs/imx6qdl_icore_mmc_defconfig +1 -1
@@ -39,7 +39,7 @@ CONFIG_BOOTCOMMAND="run $modeboot" CONFIG_SPL_RAW_IMAGE_SUPPORT=y CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_OS_BOOT=y -CONFIG_SYS_SPL_ARGS_ADDR=0x18000000 +CONFIG_SPL_PAYLOAD_ARGS_ADDR=0x18000000 CONFIG_SPL_FALCON_BOOT_MMCSD=y CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1000 CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR=0x800
configs/imx6qdl_icore_rqs_defconfig +1 -1
@@ -33,7 +33,7 @@ CONFIG_BOOTCOMMAND="run $modeboot" CONFIG_SPL_RAW_IMAGE_SUPPORT=y CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_OS_BOOT=y -CONFIG_SYS_SPL_ARGS_ADDR=0x18000000 +CONFIG_SPL_PAYLOAD_ARGS_ADDR=0x18000000 CONFIG_SPL_FALCON_BOOT_MMCSD=y CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1000 CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR=0x800
configs/ls1046ardb_qspi_spl_defconfig +1 -1
@@ -61,7 +61,7 @@ CONFIG_SPL_I2C=y CONFIG_SPL_MPC8XXX_INIT_DDR=y CONFIG_SPL_NOR_SUPPORT=y CONFIG_SPL_OS_BOOT=y -CONFIG_SYS_SPL_ARGS_ADDR=0x90000000 +CONFIG_SPL_PAYLOAD_ARGS_ADDR=0x90000000 CONFIG_SYS_OS_BASE=0x40980000 CONFIG_SPL_WATCHDOG=y CONFIG_SPL_TARGET="spl/u-boot-spl.pbl"
configs/mccmon6_nor_defconfig +1 -1
@@ -29,7 +29,7 @@ CONFIG_SPL_FIT_IMAGE_TINY=y CONFIG_SPL_ENV_SUPPORT=y CONFIG_SPL_NOR_SUPPORT=y CONFIG_SPL_OS_BOOT=y -CONFIG_SYS_SPL_ARGS_ADDR=0x18000000 +CONFIG_SPL_PAYLOAD_ARGS_ADDR=0x18000000 CONFIG_SYS_OS_BASE=0x8180000 CONFIG_SYS_MAXARGS=32 CONFIG_SYS_PBSIZE=532
configs/omap35_logic_defconfig +1 -1
@@ -37,7 +37,7 @@ CONFIG_SPL_NAND_ECC=y CONFIG_SPL_NAND_SIMPLE=y CONFIG_SPL_NAND_BASE=y CONFIG_SPL_OS_BOOT=y -CONFIG_SYS_SPL_ARGS_ADDR=0x84000000 +CONFIG_SPL_PAYLOAD_ARGS_ADDR=0x84000000 CONFIG_SYS_NAND_SPL_KERNEL_OFFS=0x280000 CONFIG_SPL_FALCON_BOOT_MMCSD=y CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1700
configs/omap35_logic_somlv_defconfig +1 -1
@@ -38,7 +38,7 @@ CONFIG_SPL_NAND_ECC=y CONFIG_SPL_NAND_SIMPLE=y CONFIG_SPL_NAND_BASE=y CONFIG_SPL_OS_BOOT=y -CONFIG_SYS_SPL_ARGS_ADDR=0x84000000 +CONFIG_SPL_PAYLOAD_ARGS_ADDR=0x84000000 CONFIG_SYS_NAND_SPL_KERNEL_OFFS=0x280000 CONFIG_SPL_FALCON_BOOT_MMCSD=y CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1700
configs/omap3_logic_defconfig +1 -1
@@ -36,7 +36,7 @@ CONFIG_SPL_NAND_ECC=y CONFIG_SPL_NAND_SIMPLE=y CONFIG_SPL_NAND_BASE=y CONFIG_SPL_OS_BOOT=y -CONFIG_SYS_SPL_ARGS_ADDR=0x84000000 +CONFIG_SPL_PAYLOAD_ARGS_ADDR=0x84000000 CONFIG_SYS_NAND_SPL_KERNEL_OFFS=0x280000 CONFIG_SPL_FALCON_BOOT_MMCSD=y CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1700
configs/omap3_logic_somlv_defconfig +1 -1
@@ -38,7 +38,7 @@ CONFIG_SPL_NAND_ECC=y CONFIG_SPL_NAND_SIMPLE=y CONFIG_SPL_NAND_BASE=y CONFIG_SPL_OS_BOOT=y -CONFIG_SYS_SPL_ARGS_ADDR=0x84000000 +CONFIG_SPL_PAYLOAD_ARGS_ADDR=0x84000000 CONFIG_SYS_NAND_SPL_KERNEL_OFFS=0x280000 CONFIG_SPL_FALCON_BOOT_MMCSD=y CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1700
configs/riotboard_defconfig +1 -1
@@ -35,7 +35,7 @@ CONFIG_SPL_FS_EXT4=y CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot-dtb.img" CONFIG_SPL_FS_LOAD_ARGS_NAME="imx6dl-riotboard.dtb" CONFIG_SPL_OS_BOOT=y -CONFIG_SYS_SPL_ARGS_ADDR=0x13000000 +CONFIG_SPL_PAYLOAD_ARGS_ADDR=0x13000000 CONFIG_SYS_MAXARGS=32 CONFIG_SYS_PBSIZE=532 CONFIG_CMD_GPIO=y
configs/stm32746g-eval_spl_defconfig +1 -1
@@ -37,7 +37,7 @@ CONFIG_SPL_BOARD_INIT=y CONFIG_SPL_SYS_MALLOC_SIMPLE=y CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_XIP_SUPPORT=y -CONFIG_SYS_SPL_ARGS_ADDR=0x80c0000 +CONFIG_SPL_PAYLOAD_ARGS_ADDR=0x80c0000 CONFIG_SPL_DM_RESET=y CONFIG_SYS_PBSIZE=1050 CONFIG_CMD_GPT=y
configs/stm32f746-disco_spl_defconfig +1 -1
@@ -37,7 +37,7 @@ CONFIG_SPL_BOARD_INIT=y CONFIG_SPL_SYS_MALLOC_SIMPLE=y CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_XIP_SUPPORT=y -CONFIG_SYS_SPL_ARGS_ADDR=0x80c0000 +CONFIG_SPL_PAYLOAD_ARGS_ADDR=0x80c0000 CONFIG_SPL_DM_RESET=y CONFIG_SYS_PBSIZE=1050 CONFIG_CMD_GPT=y
configs/stm32f769-disco_spl_defconfig +1 -1
@@ -36,7 +36,7 @@ CONFIG_SPL_BOARD_INIT=y CONFIG_SPL_SYS_MALLOC_SIMPLE=y CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_XIP_SUPPORT=y -CONFIG_SYS_SPL_ARGS_ADDR=0x81c0000 +CONFIG_SPL_PAYLOAD_ARGS_ADDR=0x81c0000 CONFIG_SPL_DM_RESET=y CONFIG_SYS_PBSIZE=1050 CONFIG_CMD_GPT=y
configs/syzygy_hub_defconfig +1 -1
@@ -32,7 +32,7 @@ CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_SYS_MALLOC_SIZE=0x2000000 CONFIG_SPL_FS_LOAD_ARGS_NAME="system.dtb" CONFIG_SPL_OS_BOOT=y -CONFIG_SYS_SPL_ARGS_ADDR=0x10000000 +CONFIG_SPL_PAYLOAD_ARGS_ADDR=0x10000000 CONFIG_SYS_MAXARGS=32 CONFIG_SYS_PBSIZE=2071 CONFIG_SYS_BOOTM_LEN=0x3c00000
configs/vyasa-rk3288_defconfig +1 -1
@@ -32,7 +32,7 @@ CONFIG_SPL_NO_BSS_LIMIT=y CONFIG_SPL_STACK_R=y CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x2000 CONFIG_SPL_OS_BOOT=y -CONFIG_SYS_SPL_ARGS_ADDR=0xffe5000 +CONFIG_SPL_PAYLOAD_ARGS_ADDR=0xffe5000 CONFIG_SPL_FALCON_BOOT_MMCSD=y CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x8800 CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR=0x8000
configs/xilinx_zynq_virt_defconfig +1 -1
@@ -43,7 +43,7 @@ CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img" CONFIG_SPL_FS_LOAD_ARGS_NAME="system.dtb" CONFIG_SPL_FPGA=y CONFIG_SPL_OS_BOOT=y -CONFIG_SYS_SPL_ARGS_ADDR=0x10000000 +CONFIG_SPL_PAYLOAD_ARGS_ADDR=0x10000000 CONFIG_SPL_SPI_LOAD=y CONFIG_SYS_SPI_U_BOOT_OFFS=0x100000 CONFIG_SYS_MAXARGS=32
configs/xilinx_zynqmp_virt_defconfig +1 -1
@@ -43,7 +43,7 @@ CONFIG_SPL_FS_LOAD_KERNEL_NAME="atf-uboot.ub" CONFIG_SPL_FS_LOAD_ARGS_NAME="u-boot.bin" CONFIG_SPL_FPGA=y CONFIG_SPL_OS_BOOT=y -CONFIG_SYS_SPL_ARGS_ADDR=0x8000000 +CONFIG_SPL_PAYLOAD_ARGS_ADDR=0x8000000 CONFIG_SPL_RAM_SUPPORT=y CONFIG_SPL_RAM_DEVICE=y CONFIG_SPL_SPI_LOAD=y
doc/develop/falcon.rst +1 -1
@@ -63,7 +63,7 @@ CONFIG_CMD_SPL Enable the "spl export" command. The command "spl export" is then available in U-Boot mode. -CONFIG_SYS_SPL_ARGS_ADDR +CONFIG_SPL_PAYLOAD_ARGS_ADDR Address in RAM where the parameters must be copied by SPL. In most cases, it is <start_of_ram> + 0x100.
Signature · 1 line
2.42.0.515.g380fc7ccd1-goog
PATCH v3 3/38 spl: Avoid #ifdef with CONFIG_SPL_SYS_MALLOC
In reply to Simon GlassUse IF_ENABLED_INT() to avoid needing to use the preprocessor.
---
(no changes since v2)
Changes in v2:
- Improve readability by moving the size part to the header file
common/spl/spl.c | 8 ++++---- include/system-constants.h | 7 ++++++- 2 files changed, 10 insertions(+), 5 deletions(-)
common/spl/spl.c +4 -4
@@ -754,10 +754,10 @@ void board_init_r(gd_t *dummy1, ulong dummy2)spl_set_bd (); -#if defined(CONFIG_SPL_SYS_MALLOC ) -mem_malloc_init (SPL_SYS_MALLOC_START ,CONFIG_SPL_SYS_MALLOC_SIZE ); - gd->flags |=GD_FLG_FULL_MALLOC_INIT ; -#endif +if (IS_ENABLED (CONFIG_SPL_SYS_MALLOC )) { +mem_malloc_init (SPL_SYS_MALLOC_START ,SPL_SYS_MALLOC_SIZE ); + gd->flags |=GD_FLG_FULL_MALLOC_INIT ; + }if (!(gd->flags &GD_FLG_SPL_INIT )) {if (spl_init ())hang ();
include/system-constants.h +6 -1
@@ -24,9 +24,14 @@*/ #ifdef CONFIG_SPL_HAS_CUSTOM_MALLOC_START #define SPL_SYS_MALLOC_START CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR -#else +#elif defined(CONFIG_SPL_BSS_START_ADDR )#define SPL_SYS_MALLOC_START (CONFIG_SPL_BSS_START_ADDR + \ CONFIG_SPL_BSS_MAX_SIZE) +#else +/* feature not enabled: this value avoids compiler errors but is not used */ +#define SPL_SYS_MALLOC_START 0#endif +#define SPL_SYS_MALLOC_SIZE \ + IF_ENABLED_INT(CONFIG_SPL_SYS_MALLOC, CONFIG_SPL_SYS_MALLOC_SIZE)#endif
Signature · 1 line
2.42.0.515.g380fc7ccd1-goog
PATCH v3 4/38 spl: mx6: powerpc: Drop the condition on timer_init()
In reply to Simon GlassIt doesn't make sense to have some boards do this differently. Drop the condition in the hope that the maintainers can figure out any run-time problems.
This has been tested on qemu-ppce500
---
Changes in v3:
- Mention testing on qemu-ppce500
Changes in v2:
- Explicitly copy two maintainers as it seems only Mario was auto-cc'd
common/spl/spl.c | 6 ------ 1 file changed, 6 deletions(-)
common/spl/spl.c +0 -6
@@ -762,13 +762,7 @@ void board_init_r(gd_t *dummy1, ulong dummy2)if (spl_init ())hang (); } -#if !defined(CONFIG_PPC ) && !defined(CONFIG_ARCH_MX6 ) -/* -* timer_init() does not exist on PPC systems. The timer is initialized -* and enabled (decrementer) in interrupt_init() here. -*/ timer_init (); -#endif if (CONFIG_IS_ENABLED (BLOBLIST )) { ret =bloblist_init ();if (ret) {
Signature · 1 line
2.42.0.515.g380fc7ccd1-goog
Re: [PATCH v3 04/38] spl: mx6: powerpc: Drop the condition on timer_init()
Le 24/09/2023 à 21:24, Simon Glass a écrit :
Quoted 3 lines
It doesn't make sense to have some boards do this differently. Drop the condition in the hope that the maintainers can figure out any run-time problems.
This was added by commit ea8256f072 ("SPL: Port SPL framework to powerpc"), and the commit log explains why.
Then commit 70e2aaf380 ("board_f: powerpc: Use timer_init() instead of init_timebase()") brought timer_init() to powerpc.
All timer_init() does it reset the timebase register to 0 instead of leaving a potentially random value. That should just be fine.
Therefore this change should be ok for powerpc.
Quoted 34 lines
This has been tested on qemu-ppce500
Signed-off-by Simon Glass <[email protected]>---
Changes in v3:
- Mention testing on qemu-ppce500Changes in v2:
- Explicitly copy two maintainers as it seems only Mario was auto-cc'dcommon/spl/spl.c | 6 ------ 1 file changed, 6 deletions(-)common/spl/spl.c +0
-6@@ -762,13 +762,7 @@ void board_init_r(gd_t *dummy1, ulong dummy2)if (spl_init ())hang (); } -#if !defined(CONFIG_PPC ) && !defined(CONFIG_ARCH_MX6 ) -/* -* timer_init() does not exist on PPC systems. The timer is initialized -* and enabled (decrementer) in interrupt_init() here. -*/ timer_init (); -#endif if (CONFIG_IS_ENABLED (BLOBLIST )) { ret =bloblist_init ();if (ret) {
Re: [PATCH v3 04/38] spl: mx6: powerpc: Drop the condition on timer_init()
Hi Christophe,
Quoted 14 lines · Christophe Leroy
Quoted 3 lines · Simon Glass
It doesn't make sense to have some boards do this differently. Drop the condition in the hope that the maintainers can figure out any run-time problems.
This was added by commit
ea8256f072("SPL: Port SPL framework to powerpc"), and the commit log explains why.Then commit
70e2aaf380("board_f: powerpc: Usetimer_init()instead ofinit_timebase()") broughttimer_init()to powerpc.
Quoted 6 lines
All
timer_init()does it reset the timebase register to 0 instead of leaving a potentially random value. That should just be fine.Therefore this change should be ok for powerpc.
Acked-by Christophe Leroy <[email protected]>
OK thank you.
Quoted 27 lines
Quoted 27 lines
This has been tested on qemu-ppce500
Signed-off-by Simon Glass <[email protected]>---
Changes in v3:
- Mention testing on qemu-ppce500Changes in v2:
- Explicitly copy two maintainers as it seems only Mario was auto-cc'dcommon/spl/spl.c | 6 ------ 1 file changed, 6 deletions(-)common/spl/spl.c +0
-2@@ -762,13 +762,7 @@ void board_init_r(gd_t *dummy1, ulong dummy2)if (spl_init ())hang (); } -#if !defined(CONFIG_PPC ) && !defined(CONFIG_ARCH_MX6 ) -/*
Quoted 8 lines
common/spl/spl.c void board_init_r(gd_t *dummy1, ulong dummy2) · line 768
Quoted 8 lines
common/spl/spl.c +0
-4-* timer_init() does not exist on PPC systems. The timer is initialized -* and enabled (decrementer) in interrupt_init() here. -*/ timer_init (); -#endif if (CONFIG_IS_ENABLED (BLOBLIST )) { ret =bloblist_init ();if (ret) {
Regards,
Simon
PATCH v3 5/38 spl: Drop #ifdefs for BOARD_INIT and watchdog
In reply to Simon GlassAvoid using the preprocessor for these checks.
---
(no changes since v1)
common/spl/spl.c | 10 ++++------ include/spl.h | 8 ++++++-- 2 files changed, 10 insertions(+), 8 deletions(-)
common/spl/spl.c +4 -6
@@ -782,13 +782,11 @@ void board_init_r(gd_t *dummy1, ulong dummy2) } } -#if CONFIG_IS_ENABLED (BOARD_INIT ) -spl_board_init (); -#endif +if (CONFIG_IS_ENABLED (BOARD_INIT )) +spl_board_init (); -#if defined(CONFIG_SPL_WATCHDOG ) &&CONFIG_IS_ENABLED (WDT ) -initr_watchdog (); -#endif +if (IS_ENABLED (CONFIG_SPL_WATCHDOG ) &&CONFIG_IS_ENABLED (WDT )) +initr_watchdog ();if (IS_ENABLED (CONFIG_SPL_OS_BOOT ) ||CONFIG_IS_ENABLED (HANDOFF ) ||IS_ENABLED (CONFIG_SPL_ATF ))
include/spl.h +6 -2
@@ -707,9 +707,13 @@ int spl_early_init(void);*/ int spl_init (void ); -#ifdef CONFIG_SPL_BOARD_INIT +/* +* spl_board_init() - Do board-specific init in SPL +* +* If xPL_BOARD_INIT is enabled, this is called from board_init_r() before +* jumping to the next phase. +*/ void spl_board_init (void ); -#endif /** * spl_was_boot_source() - check if U-Boot booted from SPL
Signature · 1 line
2.42.0.515.g380fc7ccd1-goog
PATCH v3 6/38 spl: Avoid #ifdef with CONFIG_SPL_PAYLOAD_ARGS_ADDR
In reply to Simon GlassMove the condition to the header file to improve readability.
---
(no changes since v2)
Changes in v2:
- Change the approach to use the header file
common/spl/spl.c | 10 ++++------ include/system-constants.h | 7 +++++++ 2 files changed, 11 insertions(+), 6 deletions(-)
common/spl/spl.c +4 -6
@@ -810,9 +810,8 @@ void board_init_r(gd_t *dummy1, ulong dummy2) }memset (&spl_image,'\0' ,sizeof (spl_image)); -#ifdef CONFIG_SPL_PAYLOAD_ARGS_ADDR - spl_image.arg = (void *)CONFIG_SPL_PAYLOAD_ARGS_ADDR ; -#endif +if (IS_ENABLED (CONFIG_SPL_OS_BOOT )) + spl_image.arg = (void *)SPL_PAYLOAD_ARGS_ADDR ; spl_image.boot_device =BOOT_DEVICE_NONE ;board_boot_order (spl_boot_list);
@@ -869,9 +868,8 @@ void board_init_r(gd_t *dummy1, ulong dummy2)#if CONFIG_IS_ENABLED (OS_BOOT )case IH_OS_LINUX :debug ("Jumping to Linux\n" ); -#if defined(CONFIG_SPL_PAYLOAD_ARGS_ADDR ) -spl_fixup_fdt ((void *)CONFIG_SPL_PAYLOAD_ARGS_ADDR ); -#endif +if (IS_ENABLED (CONFIG_SPL_OS_BOOT )) +spl_fixup_fdt ((void *)SPL_PAYLOAD_ARGS_ADDR );spl_board_prepare_for_linux ();jump_to_image_linux (&spl_image);#endif
include/system-constants.h +7 -0
@@ -34,4 +34,11 @@#define SPL_SYS_MALLOC_SIZE \ IF_ENABLED_INT(CONFIG_SPL_SYS_MALLOC, CONFIG_SPL_SYS_MALLOC_SIZE) +/* deal with an optional value */ +#ifdef CONFIG_SPL_OS_BOOT +#define SPL_PAYLOAD_ARGS_ADDR CONFIG_SPL_PAYLOAD_ARGS_ADDR +#else +#define SPL_PAYLOAD_ARGS_ADDR 0 +#endif +#endif
Signature · 1 line
2.42.0.515.g380fc7ccd1-goog
PATCH v3 7/38 spl: Drop the switch() statement for OS selection
In reply to Simon GlassThis code is pretty ugly, with many #ifdefs
There are quite a lot of IH_OS_U_BOOT values so the compiler struggles to create a jump table here. Also, most of the options are normally disabled.
Change it to an else...if construct instead. Add an accessor for the spl_image field behind an #ifdef to avoid needing #ifdef in the C code.
---
(no changes since v1)
common/spl/spl.c | 32 ++++++++++---------------------- include/spl.h | 9 +++++++++ 2 files changed, 19 insertions(+), 22 deletions(-)
common/spl/spl.c +10 -22
@@ -748,7 +748,7 @@ void board_init_r(gd_t *dummy1, ulong dummy2) BOOT_DEVICE_NONE, };struct spl_image_info spl_image; -int ret; +int ret, os;debug (">>" SPL_TPL_PROMPT "board_init_r()\n" );
@@ -841,39 +841,27 @@ void board_init_r(gd_t *dummy1, ulong dummy2) ret); } -switch (spl_image.os) { -case IH_OS_U_BOOT : + os = spl_image.os; +if (os ==IH_OS_U_BOOT ) {debug ("Jumping to %s...\n" ,spl_phase_name (spl_next_phase ())); -break ; -#if CONFIG_IS_ENABLED (ATF ) -case IH_OS_ARM_TRUSTED_FIRMWARE : + }else if (CONFIG_IS_ENABLED (ATF ) && os ==IH_OS_ARM_TRUSTED_FIRMWARE ) {debug ("Jumping to U-Boot via ARM Trusted Firmware\n" ); -spl_fixup_fdt (spl_image.fdt_addr); +spl_fixup_fdt (spl_image_fdt_addr (&spl_image));spl_invoke_atf (&spl_image); -break ; -#endif -#if CONFIG_IS_ENABLED (OPTEE_IMAGE ) -case IH_OS_TEE : + }else if (CONFIG_IS_ENABLED (OPTEE_IMAGE ) && os ==IH_OS_TEE ) {debug ("Jumping to U-Boot via OP-TEE\n" ); -spl_board_prepare_for_optee (spl_image.fdt_addr); +spl_board_prepare_for_optee (spl_image_fdt_addr (&spl_image));jump_to_image_optee (&spl_image); -break ; -#endif -#if CONFIG_IS_ENABLED (OPENSBI ) -case IH_OS_OPENSBI : + }else if (CONFIG_IS_ENABLED (OPENSBI ) && os ==IH_OS_OPENSBI ) {debug ("Jumping to U-Boot via RISC-V OpenSBI\n" );spl_invoke_opensbi (&spl_image); -break ; -#endif -#if CONFIG_IS_ENABLED (OS_BOOT ) -case IH_OS_LINUX : + }else if (CONFIG_IS_ENABLED (OS_BOOT ) && os ==IH_OS_LINUX ) {debug ("Jumping to Linux\n" );if (IS_ENABLED (CONFIG_SPL_OS_BOOT ))spl_fixup_fdt ((void *)SPL_PAYLOAD_ARGS_ADDR );spl_board_prepare_for_linux ();jump_to_image_linux (&spl_image); -#endif -default : + }else {debug ("Unsupported OS image.. Jumping nevertheless..\n" ); }#if CONFIG_VAL (SYS_MALLOC_F_LEN ) && !defined(CONFIG_SPL_SYS_MALLOC_SIZE )
include/spl.h +9 -0
@@ -263,6 +263,15 @@ struct spl_image_info {#endif }; +static inline void *spl_image_fdt_addr (struct spl_image_info *info) +{ +#if CONFIG_IS_ENABLED (LOAD_FIT ) ||CONFIG_IS_ENABLED (LOAD_FIT_FULL ) +return info->fdt_addr; +#else +return 0 ; +#endif +} +/** * Information required to load data from a device *
Signature · 1 line
2.42.0.515.g380fc7ccd1-goog
PATCH v3 8/38 spl: Create proper symbols for enabling the malloc() pool
In reply to Simon GlassFor U-Boot proper we have CONFIG_SYS_MALLOC_F which indicates that a malloc() pool is available before relocation.
For SPL we only have CONFIG_SPL_SYS_MALLOC_F_LEN which indicates the size of the pool.
In various places we use CONFIG_SPL_SYS_MALLOC_F_LEN == 0 to indicate that there is no pool.
This differing approach is confusing. Add a new CONFIG_SPL_SYS_MALLOC_F symbol for SPL (and similarly for TPL and VPL). Tidy up the Kconfig help for clarity.
For now these symbols are not used. That is cleaned up in the following patches.
---
Changes in v3:
- Add new patch to create a proper symbol for enabling the malloc() pool
Kconfig | 49 ++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 38 insertions(+), 11 deletions(-)
Kconfig +38 -11
@@ -295,6 +295,16 @@ config SYS_MALLOC_LEN This defines memory to be allocated for Dynamic allocation TODO: Use for other architectures +config SPL_SYS_MALLOC_F + bool "Enable malloc() pool in SPL" + depends on SPL_FRAMEWORK && SYS_MALLOC_F && SPL + default y + help + In SPL memory is very limited on many platforms. Still, + we can provide a small malloc() pool if needed. Driver model in + particular needs this to operate, so that it can allocate the + initial serial device and any others that are needed. + config SPL_SYS_MALLOC_F_LEN hex "Size of malloc() pool in SPL" depends on SYS_MALLOC_F && SPL
@@ -303,24 +313,32 @@ config SPL_SYS_MALLOC_F_LEN default 0x2000 if IMX8MQ default SYS_MALLOC_F_LEN help - In SPL memory is very limited on many platforms. Still, - we can provide a small malloc() pool if needed. Driver model in - particular needs this to operate, so that it can allocate the - initial serial device and any others that are needed. + Sets the size of the malloc() pool in SPL. This is used for + driver model and other features, which must allocate memory for + data structures. It is possible to enable CFG_SPL_SYS_MALLOC_START to start a new malloc() region in SDRAM once it is inited. -config TPL_SYS_MALLOC_F_LEN - hex "Size of malloc() pool in TPL" +config TPL_SYS_MALLOC_F + bool "Enable malloc() pool in SPL" depends on SYS_MALLOC_F && TPL - default SPL_SYS_MALLOC_F_LEN + default y if SPL_SYS_MALLOC_F help In TPL memory is very limited on many platforms. Still, we can provide a small malloc() pool if needed. Driver model in particular needs this to operate, so that it can allocate the initial serial device and any others that are needed. +config TPL_SYS_MALLOC_F_LEN + hex "Size of malloc() pool in TPL" + depends on SYS_MALLOC_F && TPL + default SPL_SYS_MALLOC_F_LEN + help + Sets the size of the malloc() pool in TPL. This is used for + driver model and other features, which must allocate memory for + data structures. + config VALGRIND bool "Inform valgrind about memory allocations" depends on !RISCV
@@ -336,16 +354,25 @@ config VALGRIND it can be handled accurately by Valgrind. If you aren't planning on using valgrind to debug U-Boot, say 'n'. -config VPL_SYS_MALLOC_F_LEN - hex "Size of malloc() pool in VPL before relocation" +config VPL_SYS_MALLOC_F + bool "Enable malloc() pool in VPL" depends on SYS_MALLOC_F && VPL - default SYS_MALLOC_F_LEN + default y if SPL_SYS_MALLOC_F help - Before relocation, memory is very limited on many platforms. Still, + In VPL memory is very limited on many platforms. Still, we can provide a small malloc() pool if needed. Driver model in particular needs this to operate, so that it can allocate the initial serial device and any others that are needed. +config VPL_SYS_MALLOC_F_LEN + hex "Size of malloc() pool in VPL before relocation" + depends on SYS_MALLOC_F && VPL + default SYS_MALLOC_F_LEN + help + Sets the size of the malloc() pool in VPL. This is used for + driver model and other features, which must allocate memory for + data structures. + menuconfig EXPERT bool "Configure standard U-Boot features (expert users)" default y
Signature · 1 line
2.42.0.515.g380fc7ccd1-goog
Re: [PATCH v3 08/38] spl: Create proper symbols for enabling the malloc() pool
Quoted 9 lines · Simon Glass
For U-Boot proper we have
CONFIG_SYS_MALLOC_Fwhich indicates that amalloc()pool is available before relocation.For SPL we only have
CONFIG_SPL_SYS_MALLOC_F_LENwhich indicates the size of the pool.In various places we use
CONFIG_SPL_SYS_MALLOC_F_LEN== 0 to indicate that there is no pool.
Quoted 8 lines
This differing approach is confusing. Add a new
CONFIG_SPL_SYS_MALLOC_Fsymbol for SPL (and similarly for TPL and VPL). Tidy up theKconfighelp for clarity.For now these symbols are not used. That is cleaned up in the following patches.
Signed-off-by Simon Glass <[email protected]>
This introduces:
WARNING: unmet direct dependencies detected for SPL_SYS_MALLOC_F
Depends on [n]: ARM [=y] && ARCH_SNAPDRAGON [=n] || ARM [=y] && ARCH_SOCFPGA [=n] || SPL_FRAMEWORK [=n] && SYS_MALLOC_F [=y] && SPL [=y] Selected by [y]:
- SPL_DM_SERIAL [=y] && SERIAL [=y] && DM_SERIAL [=y] && SPL_DM [=y]
WARNING: unmet direct dependencies detected for SPL_SYS_MALLOC_F
Depends on [n]: ARM [=y] && ARCH_SNAPDRAGON [=n] || ARM [=y] && ARCH_SOCFPGA [=n] || SPL_FRAMEWORK [=n] && SYS_MALLOC_F [=y] && SPL [=y] Selected by [y]:
- SPL_DM_SERIAL [=y] && SERIAL [=y] && DM_SERIAL [=y] && SPL_DM [=y]
On mx28evk and imx28_xea_sb.
Signature · 1 line
Tom
PATCH v3 9/38 spl: Enable CONFIG_SPL_SYS_MALLOC_F where needed
In reply to Simon GlassEnable CONFIG_SPL_SYS_MALLOC_F for boards which have a non-zero value for CONFIG_SPL_SYS_MALLOC_F_LEN
Note that the default is yes in most cases, so no changes are needed to board defconfig options.
---
Changes in v3:
- Add new patch to enable CONFIG_SPL_SYS_MALLOC_F where needed
arch/arm/mach-snapdragon/Kconfig | 3 +++ arch/arm/mach-socfpga/Kconfig | 3 +++ 2 files changed, 6 insertions(+)
arch/arm/mach-snapdragon/Kconfig +3 -0
@@ -6,6 +6,9 @@ config SYS_SOC config SYS_MALLOC_F_LEN default 0x2000 +config SPL_SYS_MALLOC_F + default y + config SPL_SYS_MALLOC_F_LEN default 0x2000
arch/arm/mach-socfpga/Kconfig +3 -0
@@ -30,6 +30,9 @@ config SPL_SIZE_LIMIT_PROVIDE_STACK config SPL_STACK_R_ADDR default 0x00800000 if TARGET_SOCFPGA_GEN5 +config SPL_SYS_MALLOC_F + default y if TARGET_SOCFPGA_GEN5 + config SPL_SYS_MALLOC_F_LEN default 0x800 if TARGET_SOCFPGA_GEN5
Signature · 1 line
2.42.0.515.g380fc7ccd1-goog
PATCH v3 10/38 tpl: Enable CONFIG_TPL_SYS_MALLOC_F where needed
In reply to Simon GlassEnable CONFIG_TPL_SYS_MALLOC_F for boards which have a non-zero value for CONFIG_TPL_SYS_MALLOC_F_LEN
Note that the default is yes in most cases, so no changes are needed to board defconfig options.
---
Changes in v3:
- Add new patch to nable CONFIG_TPL_SYS_MALLOC_F where needed
arch/arm/mach-rockchip/rv1126/Kconfig | 3 +++ 1 file changed, 3 insertions(+)
arch/arm/mach-rockchip/rv1126/Kconfig +3 -0
@@ -42,6 +42,9 @@ config TPL_LDSCRIPT config TPL_STACK default 0xff718000 +config TPL_SYS_MALLOC_F + default y + config TPL_SYS_MALLOC_F_LEN default 0x2000
Signature · 1 line
2.42.0.515.g380fc7ccd1-goog
PATCH v3 11/38 spl: Use SYS_MALLOC_F instead of SYS_MALLOC_F_LEN
In reply to Simon GlassUse the new SPL/TPL/VPL_SYS_MALLOC_F symbols to determine whether the malloc pool exists.
---
Changes in v3:
- Add new patch to use SYS_MALLOC_F instead of SYS_MALLOC_F_LEN
Kconfig | 9 ++++----- arch/arm/lib/bdinfo.c | 2 +- arch/mips/cpu/start.S | 4 ++-- arch/mips/mach-mtmips/mt7621/spl/start.S | 4 ++-- arch/powerpc/cpu/mpc83xx/start.S | 2 +- arch/powerpc/cpu/mpc85xx/start.S | 4 ++-- arch/sandbox/cpu/start.c | 2 +- arch/sh/lib/start.S | 4 ++-- common/Makefile | 6 +----- common/board_f.c | 2 +- common/board_r.c | 2 +- common/dlmalloc.c | 12 ++++++------ common/init/board_init.c | 4 ++-- common/spl/spl.c | 6 +++--- include/asm-generic/global_data.h | 2 +- lib/asm-offsets.c | 2 +- 16 files changed, 31 insertions(+), 36 deletions(-)
Kconfig +4 -5
@@ -307,8 +307,7 @@ config SPL_SYS_MALLOC_F config SPL_SYS_MALLOC_F_LEN hex "Size of malloc() pool in SPL" - depends on SYS_MALLOC_F && SPL - default 0x0 if !SPL_FRAMEWORK + depends on SPL_SYS_MALLOC_F default 0x2800 if RCAR_GEN3 default 0x2000 if IMX8MQ default SYS_MALLOC_F_LEN
@@ -332,7 +331,7 @@ config TPL_SYS_MALLOC_F config TPL_SYS_MALLOC_F_LEN hex "Size of malloc() pool in TPL" - depends on SYS_MALLOC_F && TPL + depends on TPL_SYS_MALLOC_F default SPL_SYS_MALLOC_F_LEN help Sets the size of the malloc() pool in TPL. This is used for
@@ -366,8 +365,8 @@ config VPL_SYS_MALLOC_F config VPL_SYS_MALLOC_F_LEN hex "Size of malloc() pool in VPL before relocation" - depends on SYS_MALLOC_F && VPL - default SYS_MALLOC_F_LEN + depends on VPL_SYS_MALLOC_F + default SPL_SYS_MALLOC_F_LEN help Sets the size of the malloc() pool in VPL. This is used for driver model and other features, which must allocate memory for
arch/arm/lib/bdinfo.c +1 -1
@@ -57,7 +57,7 @@ void arch_print_bdinfo(void)#ifdef CONFIG_BOARD_TYPES printf ("Board Type = %ld\n" , gd->board_type);#endif -#if CONFIG_VAL (SYS_MALLOC_F_LEN ) +#if CONFIG_IS_ENABLED (SYS_MALLOC_F )printf ("Early malloc usage: %lx / %x\n" , gd->malloc_ptr,CONFIG_VAL (SYS_MALLOC_F_LEN ));#endif
arch/mips/cpu/start.S +2 -2
@@ -46,7 +46,7 @@ sp, sp, GD_SIZE # reserve space for gd and sp, sp, t0 # force 16 byte alignment move k0, sp # save gd pointer -#if CONFIG_VAL(SYS_MALLOC_F_LEN) && \ +#if CONFIG_IS_ENABLED(SYS_MALLOC_F) && \ !CONFIG_IS_ENABLED(INIT_STACK_WITHOUT_MALLOC_F) li t2, CONFIG_VAL(SYS_MALLOC_F_LEN) PTR_SUBU \
@@ -63,7 +63,7 @@ blt t0, t1, 1b nop -#if CONFIG_VAL(SYS_MALLOC_F_LEN) && \ +#if CONFIG_IS_ENABLED(SYS_MALLOC_F) && \ !CONFIG_IS_ENABLED(INIT_STACK_WITHOUT_MALLOC_F) PTR_S sp, GD_MALLOC_BASE(k0) # gd->malloc_base offset #endif
arch/mips/mach-mtmips/mt7621/spl/start.S +2 -2
@@ -37,7 +37,7 @@ sp, sp, GD_SIZE # reserve space for gd and sp, sp, t0 # force 16 byte alignment move k0, sp # save gd pointer -#if CONFIG_VAL(SYS_MALLOC_F_LEN) && \ +#if CONFIG_IS_ENABLED(SYS_MALLOC_F) && \ !CONFIG_IS_ENABLED(INIT_STACK_WITHOUT_MALLOC_F) li t2, CONFIG_VAL(SYS_MALLOC_F_LEN) PTR_SUBU \
@@ -54,7 +54,7 @@ blt t0, t1, 1b nop -#if CONFIG_VAL(SYS_MALLOC_F_LEN) && \ +#if CONFIG_IS_ENABLED(SYS_MALLOC_F) && \ !CONFIG_IS_ENABLED(INIT_STACK_WITHOUT_MALLOC_F) PTR_S sp, GD_MALLOC_BASE(k0) # gd->malloc_base offset #endif
arch/powerpc/cpu/mpc83xx/start.S +1 -1
@@ -244,7 +244,7 @@ in_flash: cmplw r3, r4 bne 1b -#if CONFIG_VAL(SYS_MALLOC_F_LEN) +#if CONFIG_IS_ENABLED(SYS_MALLOC_F) #if CONFIG_VAL(SYS_MALLOC_F_LEN) + GENERATED_GBL_DATA_SIZE > CFG_SYS_INIT_RAM_SIZE #error "SYS_MALLOC_F_LEN too large to fit into initial RAM."
arch/powerpc/cpu/mpc85xx/start.S +2 -2
@@ -1233,7 +1233,7 @@ _start_cont: lis r3,(CFG_SYS_INIT_RAM_ADDR)@h ori r3,r3,((CFG_SYS_INIT_SP_OFFSET-16)&~0xf)@l /* Align to 16 */ -#if CONFIG_VAL(SYS_MALLOC_F_LEN) +#if CONFIG_IS_ENABLED(SYS_MALLOC_F) #if CONFIG_VAL(SYS_MALLOC_F_LEN) + GENERATED_GBL_DATA_SIZE > CFG_SYS_INIT_RAM_SIZE #error "SYS_MALLOC_F_LEN too large to fit into initial RAM." #endif
@@ -1253,7 +1253,7 @@ _start_cont: cmplw r4,r3 bne 1b -#if CONFIG_VAL(SYS_MALLOC_F_LEN) +#if CONFIG_IS_ENABLED(SYS_MALLOC_F) lis r4,SYS_INIT_SP_ADDR@h ori r4,r4,SYS_INIT_SP_ADDR@l
arch/sandbox/cpu/start.c +1 -1
@@ -529,7 +529,7 @@ int sandbox_main(int argc, char *argv[]) goto err; } -#if CONFIG_VAL (SYS_MALLOC_F_LEN ) +#if CONFIG_IS_ENABLED (SYS_MALLOC_F ) gd->malloc_base =CFG_MALLOC_F_ADDR ;#endif #if CONFIG_IS_ENABLED (LOG )
arch/sh/lib/start.S +2 -2
@@ -53,7 +53,7 @@ _start: mov.l ._gd_init, r13 /* global data */ mov.l ._stack_init, r15 /* stack */ -#if CONFIG_VAL(SYS_MALLOC_F_LEN) +#if CONFIG_IS_ENABLED(SYS_MALLOC_F) mov.l ._gd_malloc_base, r14 mov.l r15, @r14 #endif
@@ -73,7 +73,7 @@ loop: ._bss_start: .long bss_start ._bss_end: .long bss_end ._gd_init: .long (_start - GENERATED_GBL_DATA_SIZE) -#if CONFIG_VAL(SYS_MALLOC_F_LEN) +#if CONFIG_IS_ENABLED(SYS_MALLOC_F) ._gd_malloc_base: .long (_start - GENERATED_GBL_DATA_SIZE + GD_MALLOC_BASE) #endif ._stack_init: .long (_start - GENERATED_GBL_DATA_SIZE - CONFIG_SYS_MALLOC_LEN - 16)
common/Makefile +1 -5
@@ -74,11 +74,7 @@ endif # CONFIG_SPL_BUILD obj-$(CONFIG_CROS_EC) += cros_ec.o obj-y += dlmalloc.o -ifdef CONFIG_SYS_MALLOC_F -ifneq ($(CONFIG_$(SPL_TPL_)SYS_MALLOC_F_LEN),0x0) -obj-y += malloc_simple.o -endif -endif +obj-$(CONFIG_$(SPL_TPL_)SYS_MALLOC_F) += malloc_simple.o obj-$(CONFIG_CYCLIC) += cyclic.o obj-$(CONFIG_$(SPL_TPL_)EVENT) += event.o
common/board_f.c +1 -1
@@ -794,7 +794,7 @@ static int initf_bootstage(void)static int initf_dm (void ) { -#if defined(CONFIG_DM ) &&CONFIG_VAL (SYS_MALLOC_F_LEN ) +#if defined(CONFIG_DM ) &&CONFIG_IS_ENABLED (SYS_MALLOC_F )int ret;bootstage_start (BOOTSTAGE_ID_ACCUM_DM_F ,"dm_f" );
common/board_r.c +1 -1
@@ -191,7 +191,7 @@ static int initr_malloc(void) {ulong start; -#if CONFIG_VAL (SYS_MALLOC_F_LEN ) +#if CONFIG_IS_ENABLED (SYS_MALLOC_F )debug ("Pre-reloc malloc() used %#lx bytes (%ld KB)\n" , gd->malloc_ptr, gd->malloc_ptr /1024 );#endif
common/dlmalloc.c +6 -6
@@ -1291,7 +1291,7 @@ Void_t* mALLOc(bytes) size_t bytes;INTERNAL_SIZE_T nb; -#if CONFIG_VAL (SYS_MALLOC_F_LEN ) +#if CONFIG_IS_ENABLED (SYS_MALLOC_F )if (!(gd->flags &GD_FLG_FULL_MALLOC_INIT ))return malloc_simple (bytes);#endif
@@ -1572,7 +1572,7 @@ void fREe(mem) Void_t* mem;mchunkptr fwd;/* misc temp for linking */ int islr;/* track whether merging with last_remainder */ -#if CONFIG_VAL (SYS_MALLOC_F_LEN ) +#if CONFIG_IS_ENABLED (SYS_MALLOC_F )/* free() is a no-op - all the memory will be freed on relocation */ if (!(gd->flags &GD_FLG_FULL_MALLOC_INIT )) {VALGRIND_FREELIKE_BLOCK (mem,SIZE_SZ );
@@ -1735,7 +1735,7 @@ Void_t* rEALLOc(oldmem, bytes) Void_t* oldmem; size_t bytes;/* realloc of null is supposed to be same as malloc */ if (oldmem ==NULL )return mALLOc (bytes); -#if CONFIG_VAL (SYS_MALLOC_F_LEN ) +#if CONFIG_IS_ENABLED (SYS_MALLOC_F )if (!(gd->flags &GD_FLG_FULL_MALLOC_INIT )) {/* This is harder to support and should not be needed */ panic ("pre-reloc realloc() is not supported" );
@@ -1957,7 +1957,7 @@ Void_t* mEMALIGn(alignment, bytes) size_t alignment; size_t bytes;if ((long )bytes <0 )return NULL ; -#if CONFIG_VAL (SYS_MALLOC_F_LEN ) +#if CONFIG_IS_ENABLED (SYS_MALLOC_F )if (!(gd->flags &GD_FLG_FULL_MALLOC_INIT )) {return memalign_simple (alignment, bytes); }
@@ -2153,7 +2153,7 @@ Void_t* cALLOc(n, elem_size) size_t n; size_t elem_size;return NULL ; else { -#if CONFIG_VAL (SYS_MALLOC_F_LEN ) +#if CONFIG_IS_ENABLED (SYS_MALLOC_F )if (!(gd->flags &GD_FLG_FULL_MALLOC_INIT )) {memset (mem,0 , sz);return mem;
@@ -2455,7 +2455,7 @@ int mALLOPt(param_number, value) int param_number; int value;int initf_malloc (void ) { -#if CONFIG_VAL (SYS_MALLOC_F_LEN ) +#if CONFIG_IS_ENABLED (SYS_MALLOC_F )assert (gd->malloc_base);/* Set up by crt0.S */ gd->malloc_limit =CONFIG_VAL (SYS_MALLOC_F_LEN ); gd->malloc_ptr =0 ;
common/init/board_init.c +2 -2
@@ -79,7 +79,7 @@ ulong board_init_f_alloc_reserve(ulong top) {/* Reserve early malloc arena */ #ifndef CFG_MALLOC_F_ADDR -#if CONFIG_VAL (SYS_MALLOC_F_LEN ) +#if CONFIG_IS_ENABLED (SYS_MALLOC_F ) top -=CONFIG_VAL (SYS_MALLOC_F_LEN );#endif #endif
@@ -159,7 +159,7 @@ void board_init_f_init_reserve(ulong base)* Use gd as it is now properly set for all architectures. */ -#if CONFIG_VAL (SYS_MALLOC_F_LEN ) +#if CONFIG_IS_ENABLED (SYS_MALLOC_F )/* go down one 'early malloc arena' */ gd->malloc_base = base;#if CONFIG_IS_ENABLED (ZERO_MEM_BEFORE_USE )
common/spl/spl.c +3 -3
@@ -527,7 +527,7 @@ static int spl_common_init(bool setup_malloc) {int ret; -#if CONFIG_VAL (SYS_MALLOC_F_LEN ) +#if CONFIG_IS_ENABLED (SYS_MALLOC_F )if (setup_malloc) {#ifdef CFG_MALLOC_F_ADDR gd->malloc_base =CFG_MALLOC_F_ADDR ;
@@ -864,7 +864,7 @@ void board_init_r(gd_t *dummy1, ulong dummy2) }else {debug ("Unsupported OS image.. Jumping nevertheless..\n" ); } -#if CONFIG_VAL (SYS_MALLOC_F_LEN ) && !defined(CONFIG_SPL_SYS_MALLOC_SIZE ) +#if CONFIG_IS_ENABLED (SYS_MALLOC_F ) && !defined(CONFIG_SPL_SYS_MALLOC_SIZE )debug ("SPL malloc() used 0x%lx bytes (%ld KB)\n" , gd->malloc_ptr, gd->malloc_ptr /1024 );#endif
@@ -965,7 +965,7 @@ ulong spl_relocate_stack_gd(void)if (CONFIG_IS_ENABLED (SYS_REPORT_STACK_F_USAGE ))spl_relocate_stack_check (); -#if defined(CONFIG_SPL_SYS_MALLOC_SIMPLE ) &&CONFIG_VAL (SYS_MALLOC_F_LEN ) +#if defined(CONFIG_SPL_SYS_MALLOC_SIMPLE ) &&CONFIG_IS_ENABLED (SYS_MALLOC_F )if (CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN ) {debug ("SPL malloc() before relocation used 0x%lx bytes (%ld KB)\n" , gd->malloc_ptr, gd->malloc_ptr /1024 );
include/asm-generic/global_data.h +1 -1
@@ -307,7 +307,7 @@ struct global_data {#if CONFIG_IS_ENABLED (CMD_BDINFO_EXTRA )unsigned long malloc_start;#endif -#if CONFIG_VAL (SYS_MALLOC_F_LEN ) +#if CONFIG_IS_ENABLED (SYS_MALLOC_F )/** * @malloc_base: base address of early malloc() */
lib/asm-offsets.c +1 -1
@@ -32,7 +32,7 @@ int main(void)DEFINE (GD_FLAGS , offsetof(struct global_data , flags)); -#if CONFIG_VAL (SYS_MALLOC_F_LEN ) +#if CONFIG_IS_ENABLED (SYS_MALLOC_F )DEFINE (GD_MALLOC_BASE , offsetof(struct global_data , malloc_base));#endif
Signature · 1 line
2.42.0.515.g380fc7ccd1-goog
PATCH v3 12/38 Tidy up uses of CONFIG_SYS_MALLOC_F_LEN
In reply to Simon GlassUse CONFIG_SYS_MALLOC_F instead to of CONFIG_SYS_MALLOC_F_LEN to determine whether pre-relocation malloc() is enabled.
---
Changes in v3:
- Add new patch to tidy up uses of CONFIG_SYS_MALLOC_F_LEN
Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Makefile +1 -1
@@ -1287,7 +1287,7 @@ binary_size_check: u-boot-nodtb.bin FORCE fi ifeq ($(CONFIG_INIT_SP_RELATIVE)$(CONFIG_OF_SEPARATE),yy) -ifneq ($(CONFIG_SYS_MALLOC_F_LEN),) +ifneq ($(CONFIG_SYS_MALLOC_F),) subtract_sys_malloc_f_len = space=$$(($${space} - $(CONFIG_SYS_MALLOC_F_LEN))) else subtract_sys_malloc_f_len = true
Signature · 1 line
2.42.0.515.g380fc7ccd1-goog
PATCH v3 13/38 doc: Clean up SYS_MALLOC_SIMPLE
In reply to Simon GlassMove the useful help to Kconfig.
Drop mention of CONFIG_SYS_MALLOC_SIMPLE since it doesn't exist.
Correct a 'CONFIGSYS_MALLOC_F_LEN' typo
---
Changes in v3:
- Add new patch to clean up SYS_MALLOC_SIMPLE documentation
Kconfig | 15 +++++++++++---- README | 18 ------------------ doc/usage/cmd/bdinfo.rst | 2 +- 3 files changed, 12 insertions(+), 23 deletions(-)
Kconfig +11 -4
@@ -277,10 +277,17 @@ config SYS_MALLOC_F_LEN default 0x10000 if ARCH_IMX8 || ARCH_IMX8M default 0x2000 help - Before relocation, memory is very limited on many platforms. Still, - we can provide a small malloc() pool if needed. Driver model in - particular needs this to operate, so that it can allocate the - initial serial device and any others that are needed. + Size of the malloc() pool for use before relocation. If + this is defined, then a very simple malloc() implementation + will become available before relocation. The address is just + below the global data, and the stack is moved down to make + space. + + This feature allocates regions with increasing addresses + within the region. calloc() is supported, but realloc() + is not available. free() is supported but does nothing. + The memory will be freed (or in fact just forgotten) when + U-Boot relocates itself. config SYS_MALLOC_LEN hex "Define memory for Dynamic allocation"
README +0 -18
@@ -1281,24 +1281,6 @@ Configuration Settings: - CONFIG_SYS_MALLOC_LEN: Size of DRAM reserved for malloc() use. -- CONFIG_SYS_MALLOC_F_LEN - Size of the malloc() pool for use before relocation. If - this is defined, then a very simple malloc() implementation - will become available before relocation. The address is just - below the global data, and the stack is moved down to make - space. - - This feature allocates regions with increasing addresses - within the region. calloc() is supported, but realloc() - is not available. free() is supported but does nothing. - The memory will be freed (or in fact just forgotten) when - U-Boot relocates itself. - -- CONFIG_SYS_MALLOC_SIMPLE - Provides a simple and small malloc() and calloc() for those - boards which do not use the full malloc in SPL (which is - enabled with CONFIG_SPL_SYS_MALLOC). - - CFG_SYS_BOOTMAPSZ: Maximum size of memory mapped by the startup code of the Linux kernel; all data that must be processed by
doc/usage/cmd/bdinfo.rst +1 -1
@@ -106,7 +106,7 @@ sp start Early malloc usage amount of memory used in the early malloc memory and its maximum size - as defined by CONFIGSYS_MALLOC_F_LEN + as defined by CONFIG_SYS_MALLOC_F_LEN Configuration -------------
Signature · 1 line
2.42.0.515.g380fc7ccd1-goog
PATCH v3 14/38 dm: core: Correct help in TPL_DM and VPL_DM
In reply to Simon GlassThere are copying errors in the help. Fix these.
---
Changes in v3:
- Add new patch to correct help in TPL_DM and VPL_DM
drivers/core/Kconfig | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
drivers/core/Kconfig +6 -6
@@ -27,12 +27,12 @@ config TPL_DM help Enable driver model in TPL. You will need to provide a suitable malloc() implementation. If you are not using the - full malloc() enabled by CFG_SPL_SYS_MALLOC_START, + full malloc() enabled by CFG_TPL_SYS_MALLOC_START, consider using CONFIG_TPL_SYS_MALLOC_SIMPLE. In that case you - must provide CONFIG_SPL_SYS_MALLOC_F_LEN to set the size. + must provide CONFIG_TPL_SYS_MALLOC_F_LEN to set the size. In most cases driver model will only allocate a few uclasses - and devices in SPL, so 1KB should be enough. See - CONFIG_SPL_SYS_MALLOC_F_LEN for more details on how to enable it. + and devices in TPL, so 1KB should be enough. See + CONFIG_TPL_SYS_MALLOC_F_LEN for more details on how to enable it. Disable this for very small implementations. config VPL_DM
@@ -42,8 +42,8 @@ config VPL_DM help Enable driver model in VPL. You will need to provide a suitable malloc() implementation. If you are not using the - full malloc() enabled by CFG_SPL_SYS_MALLOC_START, - consider using CONFIG_SPL_SYS_MALLOC_SIMPLE. + full malloc() enabled by CFG_TPL_SYS_MALLOC_START, + consider using CONFIG_TPL_SYS_MALLOC_SIMPLE. config DM_WARN bool "Enable warnings in driver model"
Signature · 1 line
2.42.0.515.g380fc7ccd1-goog
PATCH v3 15/38 spl: Avoid an #ifdef when printing gd->malloc_ptr
In reply to Simon GlassUse an accessor in the header file to avoid this.
---
Changes in v3:
- Rebase on the new patch
Changes in v2:
- Use the same condition for both pieces to avoid possible problems
common/spl/spl.c | 9 +++++---- include/asm-generic/global_data.h | 6 ++++++ 2 files changed, 11 insertions(+), 4 deletions(-)
common/spl/spl.c +5 -4
@@ -864,10 +864,11 @@ void board_init_r(gd_t *dummy1, ulong dummy2) }else {debug ("Unsupported OS image.. Jumping nevertheless..\n" ); } -#if CONFIG_IS_ENABLED (SYS_MALLOC_F ) && !defined(CONFIG_SPL_SYS_MALLOC_SIZE ) -debug ("SPL malloc() used 0x%lx bytes (%ld KB)\n" , gd->malloc_ptr, - gd->malloc_ptr /1024 ); -#endif +if (CONFIG_IS_ENABLED (SYS_MALLOC_F ) && + !IS_ENABLED (CONFIG_SPL_SYS_MALLOC_SIZE )) +debug ("SPL malloc() used 0x%lx bytes (%ld KB)\n" , +gd_malloc_ptr (),gd_malloc_ptr () /1024 ); +bootstage_mark_name (get_bootstage_id (false),"end phase" );#ifdef CONFIG_BOOTSTAGE_STASH ret = bootstage_stash((void *)CONFIG_BOOTSTAGE_STASH_ADDR,
include/asm-generic/global_data.h +6 -0
@@ -588,6 +588,12 @@ static_assert(sizeof(struct global_data) == GD_SIZE);#define gd_set_pci_ram_top (val)#endif +#if CONFIG_VAL (SYS_MALLOC_F_LEN ) +#define gd_malloc_ptr () gd->malloc_ptr +#else +#define gd_malloc_ptr () 0L +#endif +/** * enum gd_flags - global data flags *
Signature · 1 line
2.42.0.515.g380fc7ccd1-goog
PATCH v3 16/38 spl: Remove #ifdefs with BOOTSTAGE
In reply to Simon GlassThis feature has some helpers in its header file so that its functions resolve to nothing when the feature is disabled. Add a few more and use these to simplify the code.
With this there are no more #ifdefs in board_init_r()
---
(no changes since v1)
common/spl/spl.c | 15 +++------------ include/bootstage.h | 26 ++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 12 deletions(-)
common/spl/spl.c +3 -12
@@ -542,17 +542,11 @@ static int spl_common_init(bool setup_malloc) ret);return ret; } -#ifdef CONFIG_BOOTSTAGE_STASH if (!u_boot_first_phase ()) { -const void *stash =map_sysmem (CONFIG_BOOTSTAGE_STASH_ADDR , -CONFIG_BOOTSTAGE_STASH_SIZE ); - - ret =bootstage_unstash (stash,CONFIG_BOOTSTAGE_STASH_SIZE ); + ret =bootstage_unstash_default ();if (ret) -debug ("%s: Failed to unstash bootstage: ret=%d\n" , - __func__, ret); +log_debug ("Failed to unstash bootstage: ret=%d\n" , ret); } -#endif /* CONFIG_BOOTSTAGE_STASH */ bootstage_mark_name (get_bootstage_id (true),spl_phase_name (spl_phase ()));#if CONFIG_IS_ENABLED (LOG )
@@ -870,12 +864,9 @@ void board_init_r(gd_t *dummy1, ulong dummy2) gd_malloc_ptr(), gd_malloc_ptr() / 1024);bootstage_mark_name (get_bootstage_id (false),"end phase" ); -#ifdef CONFIG_BOOTSTAGE_STASH - ret =bootstage_stash ((void *)CONFIG_BOOTSTAGE_STASH_ADDR , -CONFIG_BOOTSTAGE_STASH_SIZE ); + ret =bootstage_stash_default ();if (ret)debug ("Failed to stash bootstage: err=%d\n" , ret); -#endif if (IS_ENABLED (CONFIG_SPL_VIDEO_REMOVE )) {struct udevice *dev;
include/bootstage.h +26 -0
@@ -244,6 +244,8 @@ void show_boot_progress(int val);#ifdef ENABLE_BOOTSTAGE +#include <mapmem.h> +/* This is the full bootstage implementation */ /**
@@ -364,6 +366,20 @@ int bootstage_stash(void *base, int size);*/ int bootstage_unstash (const void *base,int size); +static inline int bootstage_stash_default (void ) +{ +return bootstage_stash (map_sysmem (CONFIG_BOOTSTAGE_STASH_ADDR ,0 ), +CONFIG_BOOTSTAGE_STASH_SIZE ); +} + +static inline int bootstage_unstash_default (void ) +{ +const void *stash =map_sysmem (CONFIG_BOOTSTAGE_STASH_ADDR , +CONFIG_BOOTSTAGE_STASH_SIZE ); + +return bootstage_unstash (stash,CONFIG_BOOTSTAGE_STASH_SIZE ); +} +/** * bootstage_get_size() - Get the size of the bootstage data *
@@ -440,6 +456,16 @@ static inline int bootstage_unstash(const void *base, int size)return 0 ;/* Pretend to succeed */ } +static inline int bootstage_stash_default (void ) +{ +return 0 ;/* Pretend to succeed */ +} + +static inline int bootstage_unstash_default (void ) +{ +return 0 ;/* Pretend to succeed */ +} +static inline int bootstage_get_size (void ) {return 0 ;
Signature · 1 line
2.42.0.515.g380fc7ccd1-goog
Re: [PATCH v3 16/38] spl: Remove #ifdefs with BOOTSTAGE
Quoted 6 lines · Simon Glass
This feature has some helpers in its header file so that its functions resolve to nothing when the feature is disabled. Add a few more and use these to simplify the code.
With this there are no more #ifdefs in
board_init_r()
Quoted 8 lines
Signed-off-by Simon Glass <[email protected]>---
(no changes since v1)
common/spl/spl.c | 15 +++------------ include/bootstage.h | 26 ++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 12 deletions(-)
This isn't equivalent:
aarch64: (for 1/1 boards) spl/u-boot-spl:all +722.0 spl/u-boot-spl:rodata +14.0 spl/u-boot-spl:text +708.0
lion-rk3368 : spl/u-boot-spl:all +722 spl/u-boot-spl:rodata +14 spl/u-boot-spl:text +708
spl-u-boot-spl: add: 3/0, grow: 2/0 bytes: 708/0 (708)
function old new delta
bootstage_unstash - 308 +308
bootstage_stash - 284 +284
static.get_record_name - 92 +92
spl_common_init 124 136 +12
board_init_r 424 436 +12
Perhaps because this (and another platform) are ones that set:
$ grep BOOTSTAGE .config CONFIG_BOOTSTAGE_STASH_ADDR=0x0 CONFIG_BOOTSTAGE=y CONFIG_SPL_BOOTSTAGE=y # CONFIG_TPL_BOOTSTAGE is not set CONFIG_BOOTSTAGE_REPORT=y CONFIG_BOOTSTAGE_RECORD_COUNT=30 CONFIG_SPL_BOOTSTAGE_RECORD_COUNT=5 CONFIG_BOOTSTAGE_FDT=y # CONFIG_BOOTSTAGE_STASH is not set CONFIG_BOOTSTAGE_STASH_SIZE=0x1000 CONFIG_CMD_BOOTSTAGE=y
Signature · 1 line
Tom
PATCH v3 17/38 spl: Rename spl_load_fit_image() to load_simple_fit()
In reply to Simon GlassWe have two functions called spl_load_fit_image(), one in spl.c and one in spl_fit.c
Rename the second one, to indicate that it relates to simple FIT parsing, rather than the full version.
---
(no changes since v1)
common/spl/spl_fit.c | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-)
common/spl/spl_fit.c +10 -11
@@ -207,7 +207,7 @@ static int get_aligned_image_size(struct spl_load_info *info, int data_size, }/** -* spl_load_fit_image(): load the image described in a certain FIT node +* load_simple_fit(): load the image described in a certain FIT node * @info: points to information about the device to load data from * @sector: the start sector of the FIT image on the device * @ctx: points to the FIT context structure
@@ -220,9 +220,9 @@ static int get_aligned_image_size(struct spl_load_info *info, int data_size,* * Return: 0 on success or a negative error number. */ -static int spl_load_fit_image (struct spl_load_info *info,ulong sector, -const struct spl_fit_info *ctx,int node, -struct spl_image_info *image_info) +static int load_simple_fit (struct spl_load_info *info,ulong sector, +const struct spl_fit_info *ctx,int node, +struct spl_image_info *image_info) {int offset;size_t length;
@@ -385,8 +385,7 @@ static int spl_fit_append_fdt(struct spl_image_info *spl_image,else return node; }else { - ret =spl_load_fit_image (info, sector, ctx, node, - &image_info); + ret =load_simple_fit (info, sector, ctx, node, &image_info);if (ret <0 )return ret; }
@@ -425,8 +424,8 @@ static int spl_fit_append_fdt(struct spl_image_info *spl_image, __func__); } image_info.load_addr = (ulong )tmpbuffer; - ret =spl_load_fit_image (info, sector, ctx, - node, &image_info); + ret =load_simple_fit (info, sector, ctx, node, + &image_info);if (ret <0 )break ;
@@ -616,7 +615,7 @@ static int spl_fit_load_fpga(struct spl_fit_info *ctx,warn_deprecated ("'fpga' property in config node. Use 'loadables'" );/* Load the image and set up the fpga_image structure */ - ret =spl_load_fit_image (info, sector, ctx, node, &fpga_image); + ret =load_simple_fit (info, sector, ctx, node, &fpga_image);if (ret) {printf ("%s: Cannot load the FPGA: %i\n" , __func__, ret);return ret;
@@ -741,7 +740,7 @@ int spl_load_simple_fit(struct spl_image_info *spl_image, }/* Load the image and set up the spl_image structure */ - ret =spl_load_fit_image (info, sector, &ctx, node, spl_image); + ret =load_simple_fit (info, sector, &ctx, node, spl_image);if (ret)return ret;
@@ -782,7 +781,7 @@ int spl_load_simple_fit(struct spl_image_info *spl_image,continue ; image_info.load_addr =0 ; - ret =spl_load_fit_image (info, sector, &ctx, node, &image_info); + ret =load_simple_fit (info, sector, &ctx, node, &image_info);if (ret <0 ) {printf ("%s: can't load image loadables index %d (ret = %d)\n" , __func__, index, ret);
Signature · 1 line
2.42.0.515.g380fc7ccd1-goog
PATCH v3 18/38 spl: Move the full FIT code to spl_fit.c
In reply to Simon GlassFor some reason this code was put in the main spl.c file. Move it out to the FIT implementation where it belongs.
---
(no changes since v1)
common/spl/spl.c | 108 +++---------------------------------------- common/spl/spl_fit.c | 93 +++++++++++++++++++++++++++++++++++++ include/spl.h | 11 +++++ 3 files changed, 111 insertions(+), 101 deletions(-)
common/spl/spl.c +7 -101
@@ -260,102 +260,6 @@ void spl_set_header_raw_uboot(struct spl_image_info *spl_image) }#endif -#if CONFIG_IS_ENABLED (LOAD_FIT_FULL ) -/* Parse and load full fitImage in SPL */ -static int spl_load_fit_image (struct spl_image_info *spl_image, -const struct legacy_img_hdr *header) -{ -struct bootm_headers images; -const char *fit_uname_config =NULL ; -uintptr_t fdt_hack; -const char *uname; -ulong fw_data =0 , dt_data =0 , img_data =0 ; -ulong fw_len =0 , dt_len =0 , img_len =0 ; -int idx, conf_noffset; -int ret; - -#ifdef CONFIG_SPL_FIT_SIGNATURE - images.verify =1 ; -#endif - ret =fit_image_load (&images, (ulong )header, -NULL , &fit_uname_config, -IH_ARCH_DEFAULT ,IH_TYPE_STANDALONE ,-1 , -FIT_LOAD_OPTIONAL , &fw_data, &fw_len); -if (ret >=0 ) { -printf ("DEPRECATED: 'standalone = ' property." ); -printf ("Please use either 'firmware =' or 'kernel ='\n" ); - }else { - ret =fit_image_load (&images, (ulong )header,NULL , - &fit_uname_config,IH_ARCH_DEFAULT , -IH_TYPE_FIRMWARE ,-1 ,FIT_LOAD_OPTIONAL , - &fw_data, &fw_len); - } - -if (ret <0 ) { - ret =fit_image_load (&images, (ulong )header,NULL , - &fit_uname_config,IH_ARCH_DEFAULT , -IH_TYPE_KERNEL ,-1 ,FIT_LOAD_OPTIONAL , - &fw_data, &fw_len); - } - -if (ret <0 ) -return ret; - - spl_image->size = fw_len; - spl_image->entry_point = fw_data; - spl_image->load_addr = fw_data; -if (fit_image_get_os (header, ret, &spl_image->os)) - spl_image->os =IH_OS_INVALID ; - spl_image->name =genimg_get_os_name (spl_image->os); - -debug (SPL_TPL_PROMPT "payload image: %32s load addr: 0x%lx size: %d\n" , - spl_image->name, spl_image->load_addr, spl_image->size); - -#ifdef CONFIG_SPL_FIT_SIGNATURE - images.verify =1 ; -#endif - ret =fit_image_load (&images, (ulong )header,NULL , &fit_uname_config, -IH_ARCH_DEFAULT ,IH_TYPE_FLATDT ,-1 , -FIT_LOAD_OPTIONAL , &dt_data, &dt_len); -if (ret >=0 ) { - spl_image->fdt_addr = (void *)dt_data; - -if (spl_image->os ==IH_OS_U_BOOT ) { -/* HACK: U-Boot expects FDT at a specific address */ - fdt_hack = spl_image->load_addr + spl_image->size; - fdt_hack = (fdt_hack +3 ) & ~3 ; -debug ("Relocating FDT to %p\n" , spl_image->fdt_addr); -memcpy ((void *)fdt_hack, spl_image->fdt_addr, dt_len); - } - } - - conf_noffset =fit_conf_get_node ((const void *)header, - fit_uname_config); -if (conf_noffset <0 ) -return 0 ; - -for (idx =0 ; - uname =fdt_stringlist_get ((const void *)header, conf_noffset, -FIT_LOADABLE_PROP , idx, -NULL ), uname; - idx++) - { -#ifdef CONFIG_SPL_FIT_SIGNATURE - images.verify =1 ; -#endif - ret =fit_image_load (&images, (ulong )header, - &uname, &fit_uname_config, -IH_ARCH_DEFAULT ,IH_TYPE_LOADABLE ,-1 , -FIT_LOAD_OPTIONAL_NON_ZERO , - &img_data, &img_len); -if (ret <0 ) -return ret; - } - -return 0 ; -} -#endif -__weak int spl_parse_board_header (struct spl_image_info *spl_image,const struct spl_boot_device *bootdev,const void *image_header,size_t size)
@@ -375,12 +279,14 @@ int spl_parse_image_header(struct spl_image_info *spl_image,const struct spl_boot_device *bootdev, const struct legacy_img_hdr *header) { -#if CONFIG_IS_ENABLED(LOAD_FIT_FULL) - int ret =spl_load_fit_image (spl_image, header); + int ret; -if (!ret) -return ret; -#endif +if (CONFIG_IS_ENABLED (LOAD_FIT_FULL )) { + ret =spl_load_fit_image (spl_image, header); + +if (!ret) +return ret; + }if (image_get_magic (header) ==IH_MAGIC ) {int ret;
common/spl/spl_fit.c +93 -0
96 lines not on this page · raw message
include/spl.h +11 -0
@@ -910,4 +910,15 @@ struct legacy_img_hdr *spl_get_load_buffer(ssize_t offset, size_t size);void board_boot_order (u32 *spl_boot_list);void spl_save_restore_data (void ); + +/** +* spl_load_fit_image() - Fully parse and a FIT image in SPL +* +* @spl_image: SPL Image data to fill in +* @header: Pointer to FIT image +* Return 0 if OK, -ve on error +*/ +int spl_load_fit_image (struct spl_image_info *spl_image, +const struct legacy_img_hdr *header); +#endif
Signature · 1 line
2.42.0.515.g380fc7ccd1-goog
PATCH v3 19/38 spl: Use the correct FIT_..._PROP constants
In reply to Simon GlassRather than open-coding the property names, use the existing constants provided for this purpose. This better aligns the simple-FIT code with the full FIT implementation.
---
(no changes since v1)
common/spl/spl_fit.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-)
common/spl/spl_fit.c +6 -5
@@ -43,7 +43,7 @@ static int find_node_from_desc(const void *fit, int node, const char *str)for (child =fdt_first_subnode (fit, node); child >=0 ; child =fdt_next_subnode (fit, child)) {int len; -const char *desc =fdt_getprop (fit, child,"description" , &len); +const char *desc =fdt_getprop (fit, child,FIT_DESC_PROP , &len);if (!desc)continue ;
@@ -475,10 +475,11 @@ static int spl_fit_record_loadable(const struct spl_fit_info *ctx, int index, node =spl_fit_get_image_node (ctx,"loadables" , index); ret =fdt_record_loadable (blob, index, name, image->load_addr, - image->size, image->entry_point, -fdt_getprop (ctx->fit, node,"type" ,NULL ), -fdt_getprop (ctx->fit, node,"os" ,NULL ), -fdt_getprop (ctx->fit, node,"arch" ,NULL )); + image->size, image->entry_point, +fdt_getprop (ctx->fit, node,FIT_TYPE_PROP ,NULL ), +fdt_getprop (ctx->fit, node,FIT_OS_PROP ,NULL ), +fdt_getprop (ctx->fit, node,FIT_ARCH_PROP ,NULL )); +return ret; }
Signature · 1 line
2.42.0.515.g380fc7ccd1-goog
PATCH v3 20/38 spl: Move bloblist writing until the image is known
In reply to Simon GlassThe bloblist should not be finalised until the image is fully set up. This allows any final handoff information to be included in the bloblist.
---
(no changes since v1)
common/spl/spl.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-)
common/spl/spl.c +12 -12
@@ -728,18 +728,6 @@ void board_init_r(gd_t *dummy1, ulong dummy2) }spl_perform_fixups (&spl_image); -if (CONFIG_IS_ENABLED (HANDOFF )) { - ret =write_spl_handoff (); -if (ret) -printf (SPL_TPL_PROMPT -"SPL hand-off write failed (err=%d)\n" , ret); - } -if (CONFIG_IS_ENABLED (BLOBLIST )) { - ret =bloblist_finish (); -if (ret) -printf ("Warning: Failed to finish bloblist (ret=%d)\n" , - ret); - } os = spl_image.os;if (os ==IH_OS_U_BOOT ) {
@@ -786,6 +774,18 @@ void board_init_r(gd_t *dummy1, ulong dummy2) dev->name, rc); } } +if (CONFIG_IS_ENABLED (HANDOFF )) { + ret =write_spl_handoff (); +if (ret) +printf (SPL_TPL_PROMPT +"SPL hand-off write failed (err=%d)\n" , ret); + } +if (CONFIG_IS_ENABLED (BLOBLIST )) { + ret =bloblist_finish (); +if (ret) +printf ("Warning: Failed to finish bloblist (ret=%d)\n" , + ret); + }spl_board_prepare_for_boot ();jump_to_image_no_args (&spl_image);
Signature · 1 line
2.42.0.515.g380fc7ccd1-goog
PATCH v3 21/38 dm: core: Reverse the argument order in ofnode_copy_props()
In reply to Simon GlassFollow the order used by memcpy() as it may be less confusing.
---
(no changes since v1)
boot/vbe_request.c | 2 +- boot/vbe_simple_os.c | 2 +- drivers/core/ofnode.c | 2 +- include/dm/ofnode.h | 6 +++--- test/dm/ofnode.c | 9 ++++----- 5 files changed, 10 insertions(+), 11 deletions(-)
boot/vbe_request.c +1 -1
@@ -187,7 +187,7 @@ static int bootmeth_vbe_ft_fixup(void *ctx, struct event *event) ret =ofnode_add_subnode (dest_parent, name, &dest);if (ret && ret != -EEXIST )return log_msg_ret ("add" , ret); - ret =ofnode_copy_props (node, dest); + ret =ofnode_copy_props (dest, node);if (ret)return log_msg_ret ("cp" , ret);
boot/vbe_simple_os.c +1 -1
@@ -94,7 +94,7 @@ static int bootmeth_vbe_simple_ft_fixup(void *ctx, struct event *event)/* Copy over the vbe properties for fwupd */ log_debug ("Fixing up: %s\n" , dev->name); - ret =ofnode_copy_props (dev_ofnode (dev), subnode); + ret =ofnode_copy_props (subnode,dev_ofnode (dev));if (ret)return log_msg_ret ("cp" , ret);
drivers/core/ofnode.c +1 -1
@@ -1731,7 +1731,7 @@ int ofnode_add_subnode(ofnode node, const char *name, ofnode *subnodep)return ret;/* 0 or -EEXIST */ } -int ofnode_copy_props (ofnode src,ofnode dst) +int ofnode_copy_props (ofnode dst,ofnode src) {struct ofprop prop;
include/dm/ofnode.h +3 -3
@@ -1598,7 +1598,7 @@ int ofnode_add_subnode(ofnode parent, const char *name, ofnode *nodep);/** * ofnode_copy_props() - copy all properties from one node to another * -* Makes a copy of all properties from the source note in the destination node. +* Makes a copy of all properties from the source node to the destination node. * Existing properties in the destination node remain unchanged, except that * any with the same name are overwritten, including changing the size of the * property.
@@ -1606,9 +1606,9 @@ int ofnode_add_subnode(ofnode parent, const char *name, ofnode *nodep);* For livetree, properties are copied / allocated, so the source tree does not * need to be present afterwards. * +* @dst: Destination node to write properties to * @src: Source node to read properties from -* @dst: Destination node to write properties too */ -int ofnode_copy_props (ofnode src,ofnode dst); +int ofnode_copy_props (ofnode dst,ofnode src);#endif
test/dm/ofnode.c +4 -5
@@ -1209,12 +1209,11 @@ static int dm_test_ofnode_too_many(struct unit_test_state *uts) }DM_TEST (dm_test_ofnode_too_many,UT_TESTF_SCAN_FDT ); -static int check_copy_props (struct unit_test_state *uts,ofnode src, -ofnode dst) +static int check_copy_props (struct unit_test_state *uts,ofnode dst,ofnode src) {u32 reg[2 ], val; -ut_assertok (ofnode_copy_props (src, dst)); +ut_assertok (ofnode_copy_props (dst, src));ut_assertok (ofnode_read_u32 (dst,"ping-expect" , &val));ut_asserteq (3 , val);
@@ -1246,7 +1245,7 @@ static int dm_test_ofnode_copy_props(struct unit_test_state *uts) src =ofnode_path ("/b-test" ); dst =ofnode_path ("/some-bus" ); -ut_assertok (check_copy_props (uts, src, dst)); +ut_assertok (check_copy_props (uts, dst, src));/* check a property that is in the destination already */ ut_asserteq_str ("mux0" ,ofnode_read_string (dst,"mux-control-names" ));
@@ -1262,7 +1261,7 @@ static int dm_test_ofnode_copy_props_ot(struct unit_test_state *uts) src =ofnode_path ("/b-test" ); dst =oftree_path (otree,"/node/subnode2" ); -ut_assertok (check_copy_props (uts, src, dst)); +ut_assertok (check_copy_props (uts, dst, src));return 0 ; }
Signature · 1 line
2.42.0.515.g380fc7ccd1-goog
PATCH v3 22/38 dm: core: Ensure we run flattree tests on ofnode
In reply to Simon GlassWe need the UT_TESTF_SCAN_FDT flag set for these tests to run with flat tree. In some cases it is missing, so add it.
---
(no changes since v1)
test/dm/ofnode.c | 33 ++++++++++++++++++--------------- 1 file changed, 18 insertions(+), 15 deletions(-)
test/dm/ofnode.c +18 -15
@@ -114,7 +114,7 @@ static int dm_test_ofnode_compatible_ot(struct unit_test_state *uts)return 0 ; } -DM_TEST (dm_test_ofnode_compatible_ot,UT_TESTF_OTHER_FDT ); +DM_TEST (dm_test_ofnode_compatible_ot,UT_TESTF_SCAN_FDT |UT_TESTF_OTHER_FDT );static int dm_test_ofnode_get_by_phandle (struct unit_test_state *uts) {
@@ -146,7 +146,8 @@ static int dm_test_ofnode_get_by_phandle_ot(struct unit_test_state *uts)return 0 ; } -DM_TEST (dm_test_ofnode_get_by_phandle_ot,UT_TESTF_OTHER_FDT ); +DM_TEST (dm_test_ofnode_get_by_phandle_ot, +UT_TESTF_SCAN_FDT |UT_TESTF_OTHER_FDT ); static int check_prop_values(struct unit_test_state *uts, ofnode start, const char *propname, const char *propval,
@@ -196,7 +197,8 @@ static int dm_test_ofnode_by_prop_value_ot(struct unit_test_state *uts)return 0 ; } -DM_TEST (dm_test_ofnode_by_prop_value_ot,UT_TESTF_OTHER_FDT ); +DM_TEST (dm_test_ofnode_by_prop_value_ot, +UT_TESTF_SCAN_FDT |UT_TESTF_OTHER_FDT );static int dm_test_ofnode_fmap (struct unit_test_state *uts) {
@@ -237,7 +239,7 @@ static int dm_test_ofnode_read(struct unit_test_state *uts)return 0 ; } -DM_TEST (dm_test_ofnode_read,UT_TESTF_SCAN_PDATA |UT_TESTF_SCAN_FDT ); +DM_TEST (dm_test_ofnode_read,UT_TESTF_SCAN_FDT );static int dm_test_ofnode_read_ot (struct unit_test_state *uts) {
@@ -256,7 +258,7 @@ static int dm_test_ofnode_read_ot(struct unit_test_state *uts)return 0 ; } -DM_TEST (dm_test_ofnode_read_ot,UT_TESTF_OTHER_FDT ); +DM_TEST (dm_test_ofnode_read_ot,UT_TESTF_SCAN_FDT |UT_TESTF_OTHER_FDT );static int dm_test_ofnode_phandle (struct unit_test_state *uts) {
@@ -452,7 +454,8 @@ static int dm_test_ofnode_get_child_count_ot(struct unit_test_state *uts)return 0 ; } -DM_TEST (dm_test_ofnode_get_child_count_ot,UT_TESTF_OTHER_FDT ); +DM_TEST (dm_test_ofnode_get_child_count_ot, +UT_TESTF_SCAN_FDT |UT_TESTF_OTHER_FDT );static int dm_test_ofnode_is_enabled (struct unit_test_state *uts) {
@@ -526,7 +529,7 @@ static int dm_test_ofnode_get_reg_ot(struct unit_test_state *uts)return 0 ; } -DM_TEST (dm_test_ofnode_get_reg_ot,UT_TESTF_OTHER_FDT ); +DM_TEST (dm_test_ofnode_get_reg_ot,UT_TESTF_SCAN_FDT |UT_TESTF_OTHER_FDT );static int dm_test_ofnode_get_path (struct unit_test_state *uts) {
@@ -566,7 +569,7 @@ static int dm_test_ofnode_get_path_ot(struct unit_test_state *uts)return 0 ; } -DM_TEST (dm_test_ofnode_get_path_ot,UT_TESTF_OTHER_FDT ); +DM_TEST (dm_test_ofnode_get_path_ot,UT_TESTF_SCAN_FDT |UT_TESTF_OTHER_FDT );static int dm_test_ofnode_conf (struct unit_test_state *uts) {
@@ -581,7 +584,7 @@ static int dm_test_ofnode_conf(struct unit_test_state *uts)return 0 ; } -DM_TEST (dm_test_ofnode_conf,0 ); +DM_TEST (dm_test_ofnode_conf,UT_TESTF_SCAN_FDT );static int dm_test_ofnode_options (struct unit_test_state *uts) {
@@ -665,7 +668,7 @@ static int dm_test_ofnode_string(struct unit_test_state *uts)return 0 ; } -DM_TEST (dm_test_ofnode_string,0 ); +DM_TEST (dm_test_ofnode_string,UT_TESTF_SCAN_FDT );static int dm_test_ofnode_string_err (struct unit_test_state *uts) {
@@ -736,7 +739,7 @@ static int dm_test_ofnode_get_phy(struct unit_test_state *uts)return 0 ; } -DM_TEST (dm_test_ofnode_get_phy,0 ); +DM_TEST (dm_test_ofnode_get_phy,UT_TESTF_SCAN_FDT );/** * make_ofnode_fdt() - Create an FDT for testing with ofnode
@@ -920,7 +923,7 @@ static int dm_test_ofnode_write_copy_ot(struct unit_test_state *uts)return 0 ; } -DM_TEST (dm_test_ofnode_write_copy_ot,UT_TESTF_OTHER_FDT ); +DM_TEST (dm_test_ofnode_write_copy_ot,UT_TESTF_SCAN_FDT |UT_TESTF_OTHER_FDT );static int dm_test_ofnode_u32 (struct unit_test_state *uts) {
@@ -1122,7 +1125,7 @@ static int dm_test_ofnode_by_compatible_ot(struct unit_test_state *uts)return 0 ; } -DM_TEST (dm_test_ofnode_by_compatible_ot,UT_TESTF_OTHER_FDT ); +DM_TEST (dm_test_ofnode_by_compatible_ot,UT_TESTF_SCAN_FDT |UT_TESTF_OTHER_FDT );static int dm_test_ofnode_find_subnode (struct unit_test_state *uts) {
@@ -1291,7 +1294,7 @@ static int dm_test_livetree_align(struct unit_test_state *uts)return 0 ; } -DM_TEST (dm_test_livetree_align,UT_TESTF_LIVE_TREE ); +DM_TEST (dm_test_livetree_align,UT_TESTF_SCAN_FDT |UT_TESTF_LIVE_TREE );/* check that it is possible to load an arbitrary livetree */ static int dm_test_livetree_ensure (struct unit_test_state *uts)
@@ -1310,4 +1313,4 @@ static int dm_test_livetree_ensure(struct unit_test_state *uts)return 0 ; } -DM_TEST (dm_test_livetree_ensure,0 ); +DM_TEST (dm_test_livetree_ensure,UT_TESTF_SCAN_FDT );
Signature · 1 line
2.42.0.515.g380fc7ccd1-goog
PATCH v3 23/38 dm: core: Tidy up comments in the ofnode tests
In reply to Simon GlassAdd comments to the functions where the test name does not indicate what is being tested. Rename functions in a few cases, so that a search for the function will also file its test.
---
(no changes since v1)
test/dm/ofnode.c | 46 +++++++++++++++++++++++++++++++++++++++------- 1 file changed, 39 insertions(+), 7 deletions(-)
test/dm/ofnode.c +39 -7
@@ -91,6 +91,7 @@ void free_oftree(oftree tree)free (tree.np); } +/* test ofnode_device_is_compatible() */ static int dm_test_ofnode_compatible (struct unit_test_state *uts) {ofnode root_node =ofnode_path ("/" );
@@ -134,6 +135,7 @@ static int dm_test_ofnode_get_by_phandle(struct unit_test_state *uts) }DM_TEST (dm_test_ofnode_get_by_phandle,UT_TESTF_SCAN_PDATA |UT_TESTF_SCAN_FDT ); +/* test oftree_get_by_phandle() with a the 'other' oftree */ static int dm_test_ofnode_get_by_phandle_ot (struct unit_test_state *uts) {oftree otree =get_other_oftree (uts);
@@ -188,6 +190,7 @@ static int dm_test_ofnode_by_prop_value(struct unit_test_state *uts) }DM_TEST (dm_test_ofnode_by_prop_value,UT_TESTF_SCAN_FDT ); +/* test ofnode_by_prop_value() with a the 'other' oftree */ static int dm_test_ofnode_by_prop_value_ot (struct unit_test_state *uts) {oftree otree =get_other_oftree (uts);
@@ -200,6 +203,7 @@ static int dm_test_ofnode_by_prop_value_ot(struct unit_test_state *uts)DM_TEST (dm_test_ofnode_by_prop_value_ot,UT_TESTF_SCAN_FDT |UT_TESTF_OTHER_FDT ); +/* test ofnode_read_fmap_entry() */ static int dm_test_ofnode_fmap (struct unit_test_state *uts) {struct fmap_entry entry;
@@ -215,6 +219,7 @@ static int dm_test_ofnode_fmap(struct unit_test_state *uts) }DM_TEST (dm_test_ofnode_fmap,UT_TESTF_SCAN_PDATA |UT_TESTF_SCAN_FDT ); +/* test ofnode_read_prop() */ static int dm_test_ofnode_read (struct unit_test_state *uts) {const u32 *val;
@@ -241,6 +246,7 @@ static int dm_test_ofnode_read(struct unit_test_state *uts) }DM_TEST (dm_test_ofnode_read,UT_TESTF_SCAN_FDT ); +/* test ofnode_read_prop() with the 'other' tree */ static int dm_test_ofnode_read_ot (struct unit_test_state *uts) {oftree otree =get_other_oftree (uts);
@@ -260,6 +266,7 @@ static int dm_test_ofnode_read_ot(struct unit_test_state *uts) }DM_TEST (dm_test_ofnode_read_ot,UT_TESTF_SCAN_FDT |UT_TESTF_OTHER_FDT ); +/* test ofnode_count_/parse_phandle_with_args() */ static int dm_test_ofnode_phandle (struct unit_test_state *uts) {struct ofnode_phandle_args args;
@@ -335,6 +342,7 @@ static int dm_test_ofnode_phandle(struct unit_test_state *uts) }DM_TEST (dm_test_ofnode_phandle,UT_TESTF_SCAN_PDATA |UT_TESTF_SCAN_FDT ); +/* test ofnode_count_/parse_phandle_with_args() with 'other' tree */ static int dm_test_ofnode_phandle_ot (struct unit_test_state *uts) {oftree otree =get_other_oftree (uts);
@@ -363,6 +371,7 @@ static int dm_test_ofnode_phandle_ot(struct unit_test_state *uts) }DM_TEST (dm_test_ofnode_phandle_ot,UT_TESTF_OTHER_FDT ); +/* test ofnode_read_chosen_string/node/prop() */ static int dm_test_ofnode_read_chosen (struct unit_test_state *uts) {const char *str;
@@ -392,6 +401,7 @@ static int dm_test_ofnode_read_chosen(struct unit_test_state *uts) }DM_TEST (dm_test_ofnode_read_chosen,UT_TESTF_SCAN_PDATA |UT_TESTF_SCAN_FDT ); +/* test ofnode_get_aliases_node/prop() */ static int dm_test_ofnode_read_aliases (struct unit_test_state *uts) {const void *val;
@@ -435,6 +445,7 @@ static int dm_test_ofnode_get_child_count(struct unit_test_state *uts)DM_TEST (dm_test_ofnode_get_child_count,UT_TESTF_SCAN_PDATA |UT_TESTF_SCAN_FDT ); +/* test ofnode_get_child_count() with 'other' tree */ static int dm_test_ofnode_get_child_count_ot (struct unit_test_state *uts) {oftree otree =get_other_oftree (uts);
@@ -469,6 +480,7 @@ static int dm_test_ofnode_is_enabled(struct unit_test_state *uts) }DM_TEST (dm_test_ofnode_is_enabled,UT_TESTF_SCAN_PDATA |UT_TESTF_SCAN_FDT ); +/* test ofnode_is_enabled() with 'other' tree */ static int dm_test_ofnode_is_enabled_ot (struct unit_test_state *uts) {oftree otree =get_other_oftree (uts);
@@ -482,6 +494,7 @@ static int dm_test_ofnode_is_enabled_ot(struct unit_test_state *uts) }DM_TEST (dm_test_ofnode_is_enabled_ot,UT_TESTF_OTHER_FDT ); +/* test ofnode_get_addr/size() */ static int dm_test_ofnode_get_reg (struct unit_test_state *uts) {ofnode node;
@@ -518,6 +531,7 @@ static int dm_test_ofnode_get_reg(struct unit_test_state *uts) }DM_TEST (dm_test_ofnode_get_reg,UT_TESTF_SCAN_PDATA |UT_TESTF_SCAN_FDT ); +/* test ofnode_get_addr() with 'other' tree */ static int dm_test_ofnode_get_reg_ot (struct unit_test_state *uts) {oftree otree =get_other_oftree (uts);
@@ -552,6 +566,7 @@ static int dm_test_ofnode_get_path(struct unit_test_state *uts) }DM_TEST (dm_test_ofnode_get_path,UT_TESTF_SCAN_PDATA |UT_TESTF_SCAN_FDT ); +/* test ofnode_get_path() with 'other' tree */ static int dm_test_ofnode_get_path_ot (struct unit_test_state *uts) {oftree otree =get_other_oftree (uts);
@@ -571,6 +586,7 @@ static int dm_test_ofnode_get_path_ot(struct unit_test_state *uts) }DM_TEST (dm_test_ofnode_get_path_ot,UT_TESTF_SCAN_FDT |UT_TESTF_OTHER_FDT ); +/* test ofnode_conf_read_bool/int/str() */ static int dm_test_ofnode_conf (struct unit_test_state *uts) {ut_assert (!ofnode_conf_read_bool ("missing" ));
@@ -623,6 +639,7 @@ static int dm_test_ofnode_for_each_compatible_node(struct unit_test_state *uts) }DM_TEST (dm_test_ofnode_for_each_compatible_node,UT_TESTF_SCAN_FDT ); +/* test dm_test_ofnode_string_count/index/list() */ static int dm_test_ofnode_string (struct unit_test_state *uts) {const char **val;
@@ -670,6 +687,7 @@ static int dm_test_ofnode_string(struct unit_test_state *uts) }DM_TEST (dm_test_ofnode_string,UT_TESTF_SCAN_FDT ); +/* test error returns from ofnode_read_string_count/index/list() */ static int dm_test_ofnode_string_err (struct unit_test_state *uts) {const char **val;
@@ -719,7 +737,7 @@ static int dm_test_ofnode_string_err(struct unit_test_state *uts) }DM_TEST (dm_test_ofnode_string_err,UT_TESTF_LIVE_TREE ); -static int dm_test_ofnode_get_phy (struct unit_test_state *uts) +static int dm_test_ofnode_read_phy_mode (struct unit_test_state *uts) {ofnode eth_node, phy_node;phy_interface_t mode;
@@ -739,7 +757,7 @@ static int dm_test_ofnode_get_phy(struct unit_test_state *uts)return 0 ; } -DM_TEST (dm_test_ofnode_get_phy,UT_TESTF_SCAN_FDT ); +DM_TEST (dm_test_ofnode_read_phy_mode,UT_TESTF_SCAN_FDT );/** * make_ofnode_fdt() - Create an FDT for testing with ofnode
@@ -773,11 +791,11 @@ static int make_ofnode_fdt(struct unit_test_state *uts, void *fdt, int size,return 0 ; } -static int dm_test_ofnode_root (struct unit_test_state *uts) +/* Check that aliases work on the control FDT */ +static int dm_test_ofnode_aliases (struct unit_test_state *uts) {ofnode node; -/* Check that aliases work on the control FDT */ node =ofnode_get_aliases_node ("ethernet3" );ut_assert (ofnode_valid (node));ut_asserteq_str ("sbe5" ,ofnode_get_name (node));
@@ -786,8 +804,15 @@ static int dm_test_ofnode_root(struct unit_test_state *uts)return 0 ; } -DM_TEST (dm_test_ofnode_root,UT_TESTF_SCAN_FDT ); +DM_TEST (dm_test_ofnode_aliases,UT_TESTF_SCAN_FDT ); +/** +* dm_test_ofnode_root_mult() - Check aliaes on control and 'other' tree +* +* Check that aliases work only with the control FDT, not with 'other' tree. +* This is not actually the desired behaviour. If aliases are implemented for +* any tree, then this test should be changed. +*/ static int dm_test_ofnode_root_mult (struct unit_test_state *uts) {char fdt[256 ];
@@ -820,6 +845,7 @@ static int dm_test_ofnode_root_mult(struct unit_test_state *uts) }DM_TEST (dm_test_ofnode_root_mult,UT_TESTF_SCAN_FDT ); +/* test ofnode_set_enabled(), ofnode_write_prop() on a livetree */ static int dm_test_ofnode_livetree_writing (struct unit_test_state *uts) {struct udevice *dev;
@@ -909,6 +935,7 @@ static int dm_test_ofnode_write_copy(struct unit_test_state *uts) }DM_TEST (dm_test_ofnode_write_copy,UT_TESTF_SCAN_FDT ); +/* test writing a property to the 'other' tree */ static int dm_test_ofnode_write_copy_ot (struct unit_test_state *uts) {oftree otree =get_other_oftree (uts);
@@ -925,6 +952,7 @@ static int dm_test_ofnode_write_copy_ot(struct unit_test_state *uts) }DM_TEST (dm_test_ofnode_write_copy_ot,UT_TESTF_SCAN_FDT |UT_TESTF_OTHER_FDT ); +/* test ofnode_read_u32_index/default() */ static int dm_test_ofnode_u32 (struct unit_test_state *uts) {ofnode node;
@@ -952,6 +980,7 @@ static int dm_test_ofnode_u32(struct unit_test_state *uts) }DM_TEST (dm_test_ofnode_u32,UT_TESTF_SCAN_PDATA |UT_TESTF_SCAN_FDT ); +/* test ofnode_read_u32_array() */ static int dm_test_ofnode_u32_array (struct unit_test_state *uts) {ofnode node;
@@ -978,7 +1007,7 @@ static int dm_test_ofnode_u32_array(struct unit_test_state *uts) }DM_TEST (dm_test_ofnode_u32_array,UT_TESTF_SCAN_PDATA |UT_TESTF_SCAN_FDT ); -static int dm_test_ofnode_u64 (struct unit_test_state *uts) +static int dm_test_ofnode_read_u64 (struct unit_test_state *uts) {ofnode node;u64 val;
@@ -999,7 +1028,7 @@ static int dm_test_ofnode_u64(struct unit_test_state *uts)return 0 ; } -DM_TEST (dm_test_ofnode_u64,UT_TESTF_SCAN_FDT ); +DM_TEST (dm_test_ofnode_read_u64,UT_TESTF_SCAN_FDT );static int dm_test_ofnode_add_subnode (struct unit_test_state *uts) {
@@ -1110,6 +1139,7 @@ static int dm_test_ofnode_by_compatible(struct unit_test_state *uts) }DM_TEST (dm_test_ofnode_by_compatible,UT_TESTF_SCAN_FDT ); +/* check ofnode_by_compatible() on the 'other' tree */ static int dm_test_ofnode_by_compatible_ot (struct unit_test_state *uts) {const char *compat ="sandbox-other2" ;
@@ -1144,6 +1174,7 @@ static int dm_test_ofnode_find_subnode(struct unit_test_state *uts) }DM_TEST (dm_test_ofnode_find_subnode,UT_TESTF_SCAN_FDT ); +/* test ofnode_find_subnode() on the 'other' tree */ static int dm_test_ofnode_find_subnode_ot (struct unit_test_state *uts) {oftree otree =get_other_oftree (uts);
@@ -1257,6 +1288,7 @@ static int dm_test_ofnode_copy_props(struct unit_test_state *uts) }DM_TEST (dm_test_ofnode_copy_props,UT_TESTF_SCAN_FDT ); +/* test ofnode_copy_props() with the 'other' tree */ static int dm_test_ofnode_copy_props_ot (struct unit_test_state *uts) {ofnode src, dst;
Signature · 1 line
2.42.0.515.g380fc7ccd1-goog
PATCH v3 24/38 dm: core: Add a function to create an empty tree
In reply to Simon GlassProvide a function to create a new, empty tree.
---
(no changes since v1)
drivers/core/ofnode.c | 56 +++++++++++++++++++++++++++++++++++++++---- include/dm/ofnode.h | 9 +++++++ include/of_live.h | 8 +++++++ lib/of_live.c | 19 +++++++++++++++ test/dm/ofnode.c | 16 +++++++++++++ 5 files changed, 104 insertions(+), 4 deletions(-)
drivers/core/ofnode.c +52 -4
@@ -47,6 +47,17 @@ static int oftree_find(const void *fdt)return -1 ; } +static int check_tree_count (void ) +{ +if (oftree_count ==CONFIG_OFNODE_MULTI_TREE_MAX ) { +log_warning ("Too many registered device trees (max %d)\n" , +CONFIG_OFNODE_MULTI_TREE_MAX ); +return -E2BIG ; + } + +return 0 ; +} +static oftree oftree_ensure (void *fdt) {oftree tree;
@@ -69,11 +80,8 @@ static oftree oftree_ensure(void *fdt)if (gd->flags &GD_FLG_RELOC ) { i =oftree_find (fdt);if (i ==-1 ) { -if (oftree_count ==CONFIG_OFNODE_MULTI_TREE_MAX ) { -log_warning ("Too many registered device trees (max %d)\n" , -CONFIG_OFNODE_MULTI_TREE_MAX ); +if (check_tree_count ())return oftree_null (); - }/* register the new tree */ i = oftree_count++;
@@ -92,6 +100,41 @@ static oftree oftree_ensure(void *fdt)return tree; } +int oftree_new (oftree *treep) +{ +oftree tree =oftree_null (); +int ret; + +if (of_live_active ()) { +struct device_node *root; + + ret =of_live_create_empty (&root); +if (ret) +return log_msg_ret ("liv" , ret); + tree =oftree_from_np (root); + }else { +const int size =1024 ; +void *fdt; + + ret =check_tree_count (); +if (ret) +return log_msg_ret ("fla" , ret); + +/* register the new tree with a small size */ + fdt =malloc (size); +if (!fdt) +return log_msg_ret ("fla" , -ENOMEM ); + ret =fdt_create_empty_tree (fdt, size); +if (ret) +return log_msg_ret ("fla" , -EINVAL ); + oftree_list[oftree_count++] = fdt; + tree.fdt = fdt; + } + *treep = tree; + +return 0 ; +} +void oftree_dispose (oftree tree) {if (of_live_active ())
@@ -193,6 +236,11 @@ static inline int oftree_find(const void *fdt) return 0; } +int oftree_new (oftree *treep) +{ +return -ENOSYS ; +} +#endif /* OFNODE_MULTI_TREE */ /**
include/dm/ofnode.h +9 -0
@@ -127,6 +127,15 @@ static inline ofnode noffset_to_ofnode(ofnode other_node, int of_offset)#endif /* OFNODE_MULTI_TREE */ +/** +* oftree_new() - Create a new, empty tree +* +* @treep: Returns a pointer to the tree, on success +* Returns: 0 on success, -ENOMEM if out of memory, -E2BIG if !OF_LIVE and +* there are too many (flattrees) already +*/ +int oftree_new (oftree *treep); +/** * ofnode_to_np() - convert an ofnode to a live DT node pointer *
include/of_live.h +8 -0
@@ -46,4 +46,12 @@ int unflatten_device_tree(const void *blob, struct device_node **mynodes);*/ void of_live_free (struct device_node *root); +/** +* of_live_create_empty() - Create a new, empty tree +* +* @rootp: Returns the root node of the created tree +* Return: 0 if OK, -ENOMEM if out of memory +*/ +int of_live_create_empty (struct device_node **rootp); +#endif
lib/of_live.c +19 -0
@@ -336,3 +336,22 @@ void of_live_free(struct device_node *root)/* the tree is stored as a contiguous block of memory */ free (root); } + +int of_live_create_empty (struct device_node **rootp) +{ +struct device_node *root; + + root =calloc (1 ,sizeof (struct device_node )); +if (!root) +return -ENOMEM ; + root->name =strdup ("" ); +if (!root->name) { +free (root); +return -ENOMEM ; + } + root->type ="<NULL>" ; + root->full_name ="" ; + *rootp = root; + +return 0 ; +}
test/dm/ofnode.c +16 -0
@@ -1346,3 +1346,19 @@ static int dm_test_livetree_ensure(struct unit_test_state *uts)return 0 ; }DM_TEST (dm_test_livetree_ensure,UT_TESTF_SCAN_FDT ); + +static int dm_test_oftree_new (struct unit_test_state *uts) +{ +ofnode node, subnode, check; +oftree tree; + +ut_assertok (oftree_new (&tree)); + node =oftree_root (tree); +ut_assert (ofnode_valid (node)); +ut_assertok (ofnode_add_subnode (node,"edmund" , &subnode)); + check =ofnode_find_subnode (node,"edmund" ); +ut_asserteq (check.of_offset, subnode.of_offset); + +return 0 ; +} +DM_TEST (dm_test_oftree_new,UT_TESTF_SCAN_FDT );
Signature · 1 line
2.42.0.515.g380fc7ccd1-goog
PATCH v3 25/38 dm: core: Add a way to copy a node
In reply to Simon GlassAdd a function to copy a node to another place under a new name. This is useful at least for testing, since copying a test node with existing properties is easier than writing the code to generate it all afresh.
---
(no changes since v1)
drivers/core/ofnode.c | 20 ++++++++++++++ include/dm/ofnode.h | 15 +++++++++++ test/dm/ofnode.c | 63 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 98 insertions(+)
drivers/core/ofnode.c +20 -0
@@ -1802,3 +1802,23 @@ int ofnode_copy_props(ofnode dst, ofnode src)return 0 ; } + +int ofnode_copy_node (ofnode dst_parent,const char *name,ofnode src, +ofnode *nodep) +{ +ofnode node; +int ret; + + ret =ofnode_add_subnode (dst_parent, name, &node); +if (ret) { +if (ret == -EEXIST ) + *nodep = node; +return log_msg_ret ("add" , ret); + } + ret =ofnode_copy_props (node, src); +if (ret) +return log_msg_ret ("cpy" , ret); + *nodep = node; + +return 0 ; +}
include/dm/ofnode.h +15 -0
@@ -1620,4 +1620,19 @@ int ofnode_add_subnode(ofnode parent, const char *name, ofnode *nodep);*/ int ofnode_copy_props (ofnode dst,ofnode src); +/** +* ofnode_copy_node() - Copy a node to another place +* +* If a node with this name already exists in dst_parent, this returns an +* .error +* +* @dst_parent: Parent of the newly copied node +* @name: Name to give the new node +* @src: Source node to copy +* @nodep: Returns the new node, or the existing node if there is one +* Return: 0 if OK, -EEXIST if dst_parent already has a node with this parent +*/ +int ofnode_copy_node (ofnode dst_parent,const char *name,ofnode src, +ofnode *nodep); +#endif
test/dm/ofnode.c +63 -0
66 lines not on this page · raw message
Signature · 1 line
2.42.0.515.g380fc7ccd1-goog
PATCH v3 26/38 dm: core: Add a way to delete a node
In reply to Simon GlassAdd a function to delete a node in an existing tree.
---
(no changes since v1)
drivers/core/of_access.c | 65 ++++++++++++++++++++++++++++++++++++++++ drivers/core/ofnode.c | 23 ++++++++++++++ include/dm/of_access.h | 18 +++++++++++ include/dm/ofnode.h | 13 ++++++++ test/dm/ofnode.c | 31 +++++++++++++++++++ 5 files changed, 150 insertions(+)
drivers/core/of_access.c +65 -0
@@ -1040,3 +1040,68 @@ int of_add_subnode(struct device_node *parent, const char *name, int len,return 0 ; } + +int __of_remove_property (struct device_node *np,struct property *prop) +{ +struct property **next; + +for (next = &np->properties; *next; next = &(*next)->next) { +if (*next == prop) +break ; + } +if (!*next) +return -ENODEV ; + +/* found the node */ + *next = prop->next; + +return 0 ; +} + +int of_remove_property (struct device_node *np,struct property *prop) +{ +int rc; + +mutex_lock (&of_mutex); + + rc =__of_remove_property (np, prop); + +mutex_unlock (&of_mutex); + +return rc; +} + +int of_remove_node (struct device_node *to_remove) +{ +struct device_node *parent = to_remove->parent; +struct device_node *np, *prev; + +if (!parent) +return -EPERM ; + prev =NULL ; +__for_each_child_of_node (parent, np) { +if (np == to_remove) +break ; + prev = np; + } +if (!np) +return -EFAULT ; + +/* if there is a previous node, link it to this one's sibling */ +if (prev) + prev->sibling = np->sibling; +else + parent->child = np->sibling; + +/* +* don't free it, since if this is an unflattened tree, all the memory +* was alloced in one block; this pointer will be somewhere in the +* middle of that +* +* TODO([email protected]): Consider marking nodes as 'allocated'? +* +* free(np); +*/ + +return 0 ; +}
drivers/core/ofnode.c +23 -0
@@ -1779,6 +1779,29 @@ int ofnode_add_subnode(ofnode node, const char *name, ofnode *subnodep)return ret;/* 0 or -EEXIST */ } +int ofnode_delete (ofnode *nodep) +{ +ofnode node = *nodep; +int ret; + +assert (ofnode_valid (node)); +if (ofnode_is_np (node)) { + ret =of_remove_node (ofnode_to_np (node)); + }else { +void *fdt =ofnode_to_fdt (node); +int offset =ofnode_to_offset (node); + + ret =fdt_del_node (fdt, offset); +if (ret) + ret = -EFAULT ; + } +if (ret) +return ret; + *nodep =ofnode_null (); + +return 0 ; +} +int ofnode_copy_props (ofnode dst,ofnode src) {struct ofprop prop;
include/dm/of_access.h +18 -0
@@ -597,4 +597,22 @@ int of_write_prop(struct device_node *np, const char *propname, int len,int of_add_subnode (struct device_node *node,const char *name,int len,struct device_node **subnodep); +/** +* of_remove_property() - Remove a property from a node +* +* @np: Node to remove from +* @prop: Pointer to property to remove +* Return 0 if OK, -ENODEV if the property could not be found in the node +*/ +int of_remove_property (struct device_node *np,struct property *prop); + +/** +* of_remove_node() - Remove a node from the tree +* +* @to_remove: Node to remove +* Return: 0 if OK, -EPERM if it is the root node (wWhich cannot be removed), +* -ENOENT if the tree is broken (to_remove is not a child of its parent) +*/ +int of_remove_node (struct device_node *to_remove); +#endif
include/dm/ofnode.h +13 -0
@@ -1635,4 +1635,17 @@ int ofnode_copy_props(ofnode dst, ofnode src);int ofnode_copy_node (ofnode dst_parent,const char *name,ofnode src,ofnode *nodep); +/** +* ofnode_delete() - Delete a node +* +* Delete a node from the tree +* +* @nodep: Pointer to node to delete (set to ofnode_null() on success) +* Return: 0 if OK, -ENOENT if the node does not exist, -EPERM if it is the root +* node (wWhich cannot be removed), -EFAULT if the tree is broken (to_remove is +* not a child of its parent), +* +*/ +int ofnode_delete (ofnode *nodep); +#endif
test/dm/ofnode.c +31 -0
@@ -1425,3 +1425,34 @@ static int dm_test_ofnode_copy_node_ot(struct unit_test_state *uts)return 0 ; }DM_TEST (dm_test_ofnode_copy_node_ot,UT_TESTF_SCAN_FDT |UT_TESTF_OTHER_FDT ); + +static int dm_test_ofnode_delete (struct unit_test_state *uts) +{ +ofnode node; + +/* +* At present the livetree is not restored after changes made in tests. +* See test_pre_run() for how this is done with the other FDT and +* dm_test_pre_run() where it sets up the root-tree pointer. So use +* nodes which don't matter to other tests. +* +* We could fix this by detecting livetree changes and regenerating it +* before the next test if needed. +*/ + node =ofnode_path ("/leds/iracibble" ); +ut_assert (ofnode_valid (node)); +ut_assertok (ofnode_delete (&node)); +ut_assert (!ofnode_valid (node)); +ut_assert (!ofnode_valid (ofnode_path ("/leds/iracibble" ))); + + node =ofnode_path ("/leds/default_on" ); +ut_assert (ofnode_valid (node)); +ut_assertok (ofnode_delete (&node)); +ut_assert (!ofnode_valid (node)); +ut_assert (!ofnode_valid (ofnode_path ("/leds/default_on" ))); + +ut_asserteq (2 ,ofnode_get_child_count (ofnode_path ("/leds" ))); + +return 0 ; +} +DM_TEST (dm_test_ofnode_delete,UT_TESTF_SCAN_FDT );
Signature · 1 line
2.42.0.515.g380fc7ccd1-goog
PATCH v3 27/38 dm: core: Add a way to convert a devicetree to a dtb
In reply to Simon GlassAdd a way to flatten a devicetree into binary form. For livetree this involves generating the devicetree using fdt_property() and other calls. For flattree it simply involves providing the buffer containing the tree.
---
(no changes since v1)
drivers/core/ofnode.c | 18 +++++++ include/dm/ofnode.h | 13 +++++ include/of_live.h | 10 ++++ lib/of_live.c | 122 ++++++++++++++++++++++++++++++++++++++++++ test/dm/ofnode.c | 24 +++++++++ 5 files changed, 187 insertions(+)
drivers/core/ofnode.c +18 -0
@@ -243,6 +243,24 @@ int oftree_new(oftree *treep)#endif /* OFNODE_MULTI_TREE */ +int oftree_to_fdt (oftree tree,struct abuf *buf) +{ +int ret; + +if (of_live_active ()) { + ret =of_live_flatten (ofnode_to_np (oftree_root (tree)), buf); +if (ret) +return log_msg_ret ("flt" , ret); + }else { +void *fdt =oftree_lookup_fdt (tree); + +abuf_init (buf); +abuf_set (buf, fdt,fdt_totalsize (fdt)); + } + +return 0 ; +} +/** * ofnode_from_tree_offset() - get an ofnode from a tree offset (flat tree) *
include/dm/ofnode.h +13 -0
@@ -17,6 +17,7 @@/* Enable checks to protect against invalid calls */ #undef OF_CHECKS +struct abuf ;struct resource ;#include <dm/ofnode_decl.h>
@@ -136,6 +137,18 @@ static inline ofnode noffset_to_ofnode(ofnode other_node, int of_offset)*/ int oftree_new (oftree *treep); +/** +* oftree_to_fdt() - Convert an oftree to a flat FDT +* +* @tree: tree to flatten (if livetree) or copy (if not) +* @buf: Returns inited buffer containing the newly created flat tree. Note +* that for flat tree the buffer is not allocated. In either case the caller +* must call abut_uninit() to free any memory used by @buf +* Return: 0 on success, -ENOMEM if out of memory, other -ve value for any other +* error +*/ +int oftree_to_fdt (oftree tree,struct abuf *buf); +/** * ofnode_to_np() - convert an ofnode to a live DT node pointer *
include/of_live.h +10 -0
@@ -9,6 +9,7 @@#ifndef _OF_LIVE_H#define _OF_LIVE_H +struct abuf ;struct device_node ;/**
@@ -54,4 +55,13 @@ void of_live_free(struct device_node *root);*/ int of_live_create_empty (struct device_node **rootp); +/** +* of_live_flatten() - Create an FDT from a hierarchical tree +* +* @root: Root node of tree to convert +* @buf: Buffer to return the tree (inited by this function) +* Return: 0 if OK, -ENOMEM if out of memory +*/ +int of_live_flatten (const struct device_node *root,struct abuf *buf); +#endif
lib/of_live.c +122 -0
138 lines not on this page · raw message
test/dm/ofnode.c +24 -0
@@ -17,6 +17,7 @@*/ #include <common.h> +#include <abuf.h> #include <dm.h> #include <log.h> #include <of_live.h>
@@ -26,6 +27,7 @@#include <dm/root.h> #include <dm/test.h> #include <dm/uclass-internal.h> +#include <linux/sizes.h> #include <test/test.h> #include <test/ut.h>
@@ -1456,3 +1458,25 @@ static int dm_test_ofnode_delete(struct unit_test_state *uts)return 0 ; }DM_TEST (dm_test_ofnode_delete,UT_TESTF_SCAN_FDT ); + +static int dm_test_oftree_to_fdt (struct unit_test_state *uts) +{ +oftree tree, check; +struct abuf buf, buf2; + + tree =oftree_default (); +ut_assertok (oftree_to_fdt (tree, &buf)); +ut_assert (abuf_size (&buf) >SZ_16K ); + +/* convert it back to a tree and see if it looks OK */ + check =oftree_from_fdt (abuf_data (&buf)); +ut_assert (oftree_valid (check)); + +ut_assertok (oftree_to_fdt (check, &buf2)); +ut_assert (abuf_size (&buf2) >SZ_16K ); +ut_asserteq (abuf_size (&buf),abuf_size (&buf2)); +ut_asserteq_mem (abuf_data (&buf),abuf_data (&buf2),abuf_size (&buf)); + +return 0 ; +} +DM_TEST (dm_test_oftree_to_fdt,UT_TESTF_SCAN_FDT );
Signature · 1 line
2.42.0.515.g380fc7ccd1-goog
PATCH v3 28/38 dm: core: Support writing a boolean
In reply to Simon GlassAdd functions to write a boolean property. This involves deleting it if the value is false.
Add a new ofnode_has_property() as well. Add a comment about the behaviour of of_read_property() when the property value is empty.
---
(no changes since v1)
drivers/core/ofnode.c | 36 ++++++++++++++++++++++++++++++++++-- include/dm/ofnode.h | 32 +++++++++++++++++++++++++++++++- test/dm/ofnode.c | 25 +++++++++++++++++++++++++ 3 files changed, 90 insertions(+), 3 deletions(-)
drivers/core/ofnode.c +34 -2
@@ -491,12 +491,12 @@ u64 ofnode_read_u64_default(ofnode node, const char *propname, u64 def)bool ofnode_read_bool (ofnode node,const char *propname) { -const void *prop; +bool prop;assert (ofnode_valid (node));debug ("%s: %s: " , __func__, propname); - prop =ofnode_get_property (node, propname,NULL ); + prop =ofnode_has_property (node, propname);debug ("%s\n" , prop ?"true" :"false" );
@@ -1168,6 +1168,14 @@ const void *ofnode_get_property(ofnode node, const char *propname, int *lenp) propname, lenp); } +bool ofnode_has_property (ofnode node,const char *propname) +{ +if (ofnode_is_np (node)) +return of_find_property (ofnode_to_np (node), propname,NULL ); +else +return ofnode_get_property (node, propname,NULL ); +} +int ofnode_first_property (ofnode node,struct ofprop *prop) { prop->node = node;
@@ -1616,6 +1624,30 @@ int ofnode_write_u32(ofnode node, const char *propname, u32 value)return ofnode_write_prop (node, propname, val,sizeof (value), false); } +int ofnode_write_bool (ofnode node,const char *propname,bool value) +{ +if (value) +return ofnode_write_prop (node, propname,NULL ,0 , false); +else +return ofnode_delete_prop (node, propname); +} + +int ofnode_delete_prop (ofnode node,const char *propname) +{ +if (ofnode_is_np (node)) { +struct property *prop; +int len; + + prop =of_find_property (ofnode_to_np (node), propname, &len); +if (prop) +return of_remove_property (ofnode_to_np (node), prop); +return 0 ; + }else { +return fdt_delprop (ofnode_to_fdt (node),ofnode_to_offset (node), + propname); + } +} +int ofnode_set_enabled (ofnode node,bool value) {assert (ofnode_valid (node));
include/dm/ofnode.h +31 -1
@@ -1037,10 +1037,19 @@ int ofnode_decode_panel_timing(ofnode node,* @node: node to read * @propname: property to read * @lenp: place to put length on success -* Return: pointer to property, or NULL if not found +* Return: pointer to property value, or NULL if not found or empty */ const void *ofnode_get_property (ofnode node,const char *propname,int *lenp); +/** +* ofnode_has_property() - check if a node has a named property +* +* @node: node to read +* @propname: property to read +* Return: true if the property exists in the node, false if not +*/ +bool ofnode_has_property (ofnode node,const char *propname); +/** * ofnode_first_property()- get the reference of the first property *
@@ -1452,6 +1461,27 @@ int ofnode_write_string(ofnode node, const char *propname, const char *value);*/ int ofnode_write_u32 (ofnode node,const char *propname,u32 value); +/** +* ofnode_write_bool() - Set a boolean property of an ofnode +* +* This either adds or deleted a property with a zero-length value +* +* @node: The node for whose string property should be set +* @propname: The name of the string property to set +* @value: The new value of the boolean property +* Return: 0 if successful, -ve on error +*/ +int ofnode_write_bool (ofnode node,const char *propname,bool value); + +/** +* ofnode_delete_prop() - Delete a property +* +* @node: Node containing the property to delete +* @propname: Name of property to delete +* Return: 0 if successful, -ve on error +*/ +int ofnode_delete_prop (ofnode node,const char *propname); +/** * ofnode_set_enabled() - Enable or disable a device tree node given by its * ofnode
test/dm/ofnode.c +25 -0
@@ -1480,3 +1480,28 @@ static int dm_test_oftree_to_fdt(struct unit_test_state *uts)return 0 ; }DM_TEST (dm_test_oftree_to_fdt,UT_TESTF_SCAN_FDT ); + +/* test ofnode_read_bool() and ofnode_write_bool() */ +static int dm_test_bool (struct unit_test_state *uts) +{ +const char *propname ="missing-bool-value" ; +ofnode node; + + node =ofnode_path ("/a-test" ); +ut_assert (ofnode_read_bool (node,"bool-value" )); +ut_assert (!ofnode_read_bool (node, propname)); +ut_assert (!ofnode_has_property (node, propname)); + +ut_assertok (ofnode_write_bool (node, propname, true)); +ut_assert (ofnode_read_bool (node, propname)); +ut_assert (ofnode_has_property (node, propname)); +ut_assert (ofnode_read_bool (node,"bool-value" )); + +ut_assertok (ofnode_write_bool (node, propname, false)); +ut_assert (!ofnode_read_bool (node, propname)); +ut_assert (!ofnode_has_property (node, propname)); +ut_assert (ofnode_read_bool (node,"bool-value" )); + +return 0 ; +} +DM_TEST (dm_test_bool,UT_TESTF_SCAN_FDT );
Signature · 1 line
2.42.0.515.g380fc7ccd1-goog
PATCH v3 29/38 dm: core: Support writing a 64-bit value
In reply to Simon GlassAdd support for writing a single 64-bit value into a property.
Repurpose the existing tests to handle this case too.
---
(no changes since v1)
drivers/core/ofnode.c | 17 ++++++++++++++++- include/dm/ofnode.h | 10 ++++++++++ test/dm/ofnode.c | 15 +++++++++++++-- 3 files changed, 39 insertions(+), 3 deletions(-)
drivers/core/ofnode.c +16 -1
@@ -1621,7 +1621,22 @@ int ofnode_write_u32(ofnode node, const char *propname, u32 value)return -ENOMEM ; *val =cpu_to_fdt32 (value); -return ofnode_write_prop (node, propname, val,sizeof (value), false); +return ofnode_write_prop (node, propname, val,sizeof (value), true); +} + +int ofnode_write_u64 (ofnode node,const char *propname,u64 value) +{ +fdt64_t *val; + +assert (ofnode_valid (node)); + +log_debug ("%s = %llx" , propname, (unsigned long long )value); + val =malloc (sizeof (*val)); +if (!val) +return -ENOMEM ; + *val =cpu_to_fdt64 (value); + +return ofnode_write_prop (node, propname, val,sizeof (value), true); }int ofnode_write_bool (ofnode node,const char *propname,bool value)
include/dm/ofnode.h +10 -0
@@ -1461,6 +1461,16 @@ int ofnode_write_string(ofnode node, const char *propname, const char *value);*/ int ofnode_write_u32 (ofnode node,const char *propname,u32 value); +/** +* ofnode_write_u64() - Set an integer property of an ofnode +* +* @node: The node for whose string property should be set +* @propname: The name of the string property to set +* @value: The new value of the 64-bit integer property +* Return: 0 if successful, -ve on error +*/ +int ofnode_write_u64 (ofnode node,const char *propname,u64 value); +/** * ofnode_write_bool() - Set a boolean property of an ofnode *
test/dm/ofnode.c +13 -2
@@ -1009,7 +1009,8 @@ static int dm_test_ofnode_u32_array(struct unit_test_state *uts) }DM_TEST (dm_test_ofnode_u32_array,UT_TESTF_SCAN_PDATA |UT_TESTF_SCAN_FDT ); -static int dm_test_ofnode_read_u64 (struct unit_test_state *uts) +/* test ofnode_read_u64() and ofnode_write_u64() */ +static int dm_test_ofnode_u64 (struct unit_test_state *uts) {ofnode node;u64 val;
@@ -1018,6 +1019,10 @@ static int dm_test_ofnode_read_u64(struct unit_test_state *uts)ut_assert (ofnode_valid (node));ut_assertok (ofnode_read_u64 (node,"int64-value" , &val));ut_asserteq_64 (0x1111222233334444 , val); +ut_assertok (ofnode_write_u64 (node,"new-int64-value" ,0x9876543210 )); +ut_assertok (ofnode_read_u64 (node,"new-int64-value" , &val)); +ut_asserteq_64 (0x9876543210 , val); +ut_asserteq (-EINVAL ,ofnode_read_u64 (node,"missing" , &val));ut_assertok (ofnode_read_u64_index (node,"int64-array" ,0 , &val));
@@ -1028,9 +1033,15 @@ static int dm_test_ofnode_read_u64(struct unit_test_state *uts) ofnode_read_u64_index(node, "int64-array", 2, &val));ut_asserteq (-EINVAL ,ofnode_read_u64_index (node,"missing" ,0 , &val)); +ut_assertok (ofnode_write_u64 (node,"int64-array" ,0x9876543210 )); +ut_assertok (ofnode_read_u64_index (node,"int64-array" ,0 , &val)); +ut_asserteq_64 (0x9876543210 , val); +ut_asserteq (-EOVERFLOW , +ofnode_read_u64_index (node,"int64-array" ,1 , &val)); +return 0 ; } -DM_TEST (dm_test_ofnode_read_u64,UT_TESTF_SCAN_FDT ); +DM_TEST (dm_test_ofnode_u64,UT_TESTF_SCAN_FDT );static int dm_test_ofnode_add_subnode (struct unit_test_state *uts) {
Signature · 1 line
2.42.0.515.g380fc7ccd1-goog
PATCH v3 30/38 dm: core: Add tests for oftree_path()
In reply to Simon GlassAdd a few simple tests for getting the root node, since this is handled as a special case in the implementation.
---
(no changes since v1)
test/dm/ofnode.c | 6 ++++++ 1 file changed, 6 insertions(+)
test/dm/ofnode.c +6 -0
@@ -228,6 +228,9 @@ static int dm_test_ofnode_read(struct unit_test_state *uts)ofnode node;int size; + node =oftree_path (oftree_default (),"/" ); +ut_assert (ofnode_valid (node)); + node =ofnode_path ("/a-test" );ut_assert (ofnode_valid (node));
@@ -256,6 +259,9 @@ static int dm_test_ofnode_read_ot(struct unit_test_state *uts)ofnode node;int size; + node =oftree_path (otree,"/" ); +ut_assert (ofnode_valid (node)); + node =oftree_path (otree,"/node/subnode" );ut_assert (ofnode_valid (node));
Signature · 1 line
2.42.0.515.g380fc7ccd1-goog
PATCH v3 31/38 sandbox: Move reading the RAM buffer into a better place
In reply to Simon GlassThis should not happen in the argument-parsing function. Move it to the main program.
Add some debugging for reading/writing.
---
(no changes since v1)
arch/sandbox/cpu/start.c | 19 +++++++++++-------- arch/sandbox/cpu/state.c | 1 + 2 files changed, 12 insertions(+), 8 deletions(-)
arch/sandbox/cpu/start.c +11 -8
@@ -272,17 +272,9 @@ SANDBOX_CMDLINE_OPT_SHORT(program, 'p', 1, "U-Boot program name");static int sandbox_cmdline_cb_memory (struct sandbox_state *state,const char *arg) { -int err; -/* For now assume we always want to write it */ state->write_ram_buf = true; state->ram_buf_fname = arg; - - err =os_read_ram_buf (arg); -if (err) { -printf ("Failed to read RAM buffer '%s': %d\n" , arg, err); -return err; - } state->ram_buf_read = true;return 0 ;
@@ -512,6 +504,17 @@ int sandbox_main(int argc, char *argv[])if (os_parse_args (state, argc, argv))return 1 ; +if (state->ram_buf_fname) { + ret =os_read_ram_buf (state->ram_buf_fname); +if (ret) { +printf ("Failed to read RAM buffer '%s': %d\n" , + state->ram_buf_fname, ret); + }else { + state->ram_buf_read = true; +log_debug ("Read RAM buffer from '%s'\n" , state->ram_buf_fname); + } + } +/* Remove old memory file if required */ if (state->ram_buf_rm && state->ram_buf_fname) {os_unlink (state->ram_buf_fname);
arch/sandbox/cpu/state.c +1 -0
@@ -513,6 +513,7 @@ int state_uninit(void)printf ("Failed to write RAM buffer\n" );return err; } +log_debug ("Wrote RAM to file '%s'\n" , state->ram_buf_fname); }if (state->write_state) {
Signature · 1 line
2.42.0.515.g380fc7ccd1-goog
PATCH v3 32/38 sandbox: Init the EC properly even if no state file is available
In reply to Simon GlassThis currently relies on sandbox attempting to read a state file. At present it always does, even when there is no state file, in which case it fails, but still inits the EC.
That is a bug, so update this driver to set the current image always, even if no state is read.
---
(no changes since v1)
drivers/misc/cros_ec_sandbox.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)
drivers/misc/cros_ec_sandbox.c +8 -1
@@ -81,6 +81,7 @@ struct ec_pwm_channel {/** * struct ec_state - Information about the EC state * +* @valid: true if this struct contains valid state data * @vbnv_context: Vboot context data stored by EC * @ec_config: FDT config information about the EC (e.g. flashmap) * @flash_data: Contents of flash memory
@@ -95,6 +96,7 @@ struct ec_pwm_channel {* @pwm: Information per PWM channel */ struct ec_state { +bool valid;u8 vbnv_context[EC_VBNV_BLOCK_SIZE_V2 ];struct fdt_cros_ec ec_config;uint8_t *flash_data;
@@ -145,6 +147,7 @@ static int cros_ec_read_state(const void *blob, int node)memcpy (ec->flash_data, prop, len);debug ("%s: Loaded EC flash data size %#x\n" , __func__, len); } + ec->valid = true;return 0 ; }
@@ -589,6 +592,7 @@ static int process_cmd(struct ec_state *ec,printf (" ** Unknown EC command %#02x\n" , req_hdr->command);return -1 ; } +debug (" - EC command %#0x, result %d\n" , req_hdr->command, len);return len; }
@@ -675,7 +679,10 @@ int cros_ec_probe(struct udevice *dev)ofnode node;int err; -memcpy (ec, &s_state,sizeof (*ec)); +if (s_state.valid) +memcpy (ec, &s_state,sizeof (*ec)); +else + ec->current_image =EC_IMAGE_RO ; err =cros_ec_decode_ec_flash (dev, &ec->ec_config);if (err) {debug ("%s: Cannot device EC flash\n" , __func__);
Signature · 1 line
2.42.0.515.g380fc7ccd1-goog
PATCH v3 33/38 sandbox: Only read the state if we have a state file
In reply to Simon GlassWe should not read this unless requested. Make it conditional on the option being provided.
Add some debugging to show the state being written.
---
(no changes since v1)
arch/sandbox/cpu/start.c | 8 +++++--- arch/sandbox/cpu/state.c | 1 + 2 files changed, 6 insertions(+), 3 deletions(-)
arch/sandbox/cpu/start.c +5 -3
@@ -522,9 +522,11 @@ int sandbox_main(int argc, char *argv[]) state->ram_buf_fname =NULL ; } - ret =sandbox_read_state (state, state->state_fname); -if (ret) - goto err; +if (state->read_state && state->state_fname) { + ret =sandbox_read_state (state, state->state_fname); +if (ret) + goto err; + }if (state->handle_signals) { ret =os_setup_signal_handlers ();
arch/sandbox/cpu/state.c +1 -0
@@ -521,6 +521,7 @@ int state_uninit(void)printf ("Failed to write sandbox state\n" );return -1 ; } +log_debug ("Wrote state to file '%s'\n" , state->ram_buf_fname); }/* Delete this at the last moment so as not to upset gdb too much */
Signature · 1 line
2.42.0.515.g380fc7ccd1-goog
PATCH v3 34/38 sandbox: Move the bloblist down a little in memory
In reply to Simon GlassMove this down by 4KB so that it is large enough to hold the devicetree.
Also fix up the devicetree address in the documetation while we are here.
---
(no changes since v1)
common/Kconfig | 2 +- doc/arch/sandbox/sandbox.rst | 4 ++-- test/lib/kconfig.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-)
common/Kconfig +1 -1
@@ -1012,7 +1012,7 @@ endchoice config BLOBLIST_ADDR hex "Address of bloblist" - default 0xc000 if SANDBOX + default 0xb000 if SANDBOX depends on BLOBLIST_FIXED help Sets the address of the bloblist, set up by the first part of U-Boot
doc/arch/sandbox/sandbox.rst +2 -2
@@ -614,8 +614,8 @@ that are mapped into that memory: ======= ======================== =============================== Addr Config Usage ======= ======================== =============================== - 0 CONFIG_SYS_FDT_LOAD_ADDR Device tree - c000 CONFIG_BLOBLIST_ADDR Blob list + 100 CONFIG_SYS_FDT_LOAD_ADDR Device tree + b000 CONFIG_BLOBLIST_ADDR Blob list 10000 CFG_MALLOC_F_ADDR Early memory allocation f0000 CONFIG_PRE_CON_BUF_ADDR Pre-console buffer 100000 CONFIG_TRACE_EARLY_ADDR Early trace buffer (if enabled). Also used
test/lib/kconfig.c +2 -2
@@ -22,9 +22,9 @@ static int lib_test_is_enabled(struct unit_test_state *uts)ut_asserteq (0 ,CONFIG_IS_ENABLED (OF_PLATDATA ));ut_asserteq (0 ,CONFIG_IS_ENABLED (_UNDEFINED)); -ut_asserteq (0xc000 , +ut_asserteq (0xb000 ,IF_ENABLED_INT (CONFIG_BLOBLIST_FIXED ,CONFIG_BLOBLIST_ADDR )); -ut_asserteq (0xc000 , +ut_asserteq (0xb000 ,CONFIG_IF_ENABLED_INT (BLOBLIST_FIXED ,BLOBLIST_ADDR ));/*
Signature · 1 line
2.42.0.515.g380fc7ccd1-goog
PATCH v3 35/38 bloblist: Support initing from multiple places
In reply to Simon GlassTypically the bloblist is set up after the devicetree is present. This makes sense because bloblist may use malloc() to allocate the space it needs.
However sometimes the devicetree itself may be present in the bloblist. In that case it is at a known location in memory so we can init the bloblist very early, before devicetree.
Add a flag to indicate whether the bloblist has been inited. Add a function to init it only if needed. Use that in the init sequence.
---
(no changes since v1)
common/bloblist.c | 13 ++++++++++++- common/board_f.c | 4 +--- include/asm-generic/global_data.h | 4 ++++ include/bloblist.h | 18 ++++++++++++++++++ 4 files changed, 35 insertions(+), 4 deletions(-)
common/bloblist.c +12 -1
@@ -476,6 +476,17 @@ int bloblist_init(void)log_debug ("Found existing bloblist size %lx at %lx\n" , size, addr); } +if (ret) +return log_msg_ret ("ini" , ret); + gd->flags |=GD_FLG_BLOBLIST_READY ; + +return 0 ; +} -return ret; +int bloblist_maybe_init (void ) +{ +if (CONFIG_IS_ENABLED (BLOBLIST ) && !(gd->flags &GD_FLG_BLOBLIST_READY )) +return bloblist_init (); + +return 0 ; }
common/board_f.c +1 -3
@@ -841,9 +841,7 @@ static const init_fnc_t init_sequence_f[] = { log_init, initf_bootstage,/* uses its own timer, so does not need DM */ event_init, -#ifdef CONFIG_BLOBLIST - bloblist_init, -#endif + bloblist_maybe_init, setup_spl_handoff, #if defined(CONFIG_CONSOLE_RECORD_INIT_F) console_record_init,
include/asm-generic/global_data.h +4 -0
@@ -693,6 +693,10 @@ enum gd_flags {* the memory used to holds its tables has been mapped out. */ GD_FLG_DM_DEAD =0x400000 , +/** +* @GD_FLG_BLOBLIST_READY: bloblist is ready for use +*/ + GD_FLG_BLOBLIST_READY = 0x800000, };#endif /* __ASSEMBLY__ */
include/bloblist.h +18 -0
@@ -413,8 +413,26 @@ void bloblist_reloc(void *to, uint to_size, void *from, uint from_size);* standard passage. The size is detected automatically so CONFIG_BLOBLIST_SIZE * can be 0. * +* Sets GD_FLG_BLOBLIST_READY in global_data flags on success +* * Return: 0 if OK, -ve on error */ int bloblist_init (void ); +#if CONFIG_IS_ENABLED (BLOBLIST ) +/** +* bloblist_maybe_init() - Init the bloblist system if not already done +* +* Calls bloblist_init() if the GD_FLG_BLOBLIST_READY flag is not et +* +* Return: 0 if OK, -ve on error +*/ +int bloblist_maybe_init (void ); +#else +static inline int bloblist_maybe_init (void ) +{ +return 0 ; +} +#endif /* BLOBLIST */ +#endif /* __BLOBLIST_H */
Signature · 1 line
2.42.0.515.g380fc7ccd1-goog
PATCH v3 36/38 fdt: Allow the devicetree to come from a bloblist
In reply to Simon GlassStandard passage provides for a bloblist to be passed from one firmware phase to the next. That can be used to pass the devicetree along as well. Add an option to support this.
Tests for this will be added as part of the Universal Payload work.
---
(no changes since v2)
Changes in v2:
- No changes as it still seems unclear what should be done
common/bloblist.c | 2 ++ doc/develop/devicetree/control.rst | 3 ++ dts/Kconfig | 8 ++++++ include/bloblist.h | 5 ++++ include/fdtdec.h | 3 +- lib/fdtdec.c | 44 ++++++++++++++++++++++-------- 6 files changed, 52 insertions(+), 13 deletions(-)
common/bloblist.c +2 -0
@@ -48,9 +48,11 @@ static struct tag_name { { BLOBLISTT_ACPI_TABLES, "ACPI tables for x86" }, { BLOBLISTT_SMBIOS_TABLES, "SMBIOS tables for x86" }, { BLOBLISTT_VBOOT_CTX, "Chrome OS vboot context" }, + { BLOBLISTT_CONTROL_FDT, "Control FDT" },/* BLOBLISTT_PROJECT_AREA */ { BLOBLISTT_U_BOOT_SPL_HANDOFF, "SPL hand-off" }, + { BLOBLISTT_VBE, "VBE" }, { BLOBLISTT_U_BOOT_VIDEO, "SPL video handoff" }, /* BLOBLISTT_VENDOR_AREA */
doc/develop/devicetree/control.rst +3 -0
@@ -108,6 +108,9 @@ If CONFIG_OF_BOARD is defined, a board-specific routine will provide the devicetree at runtime, for example if an earlier bootloader stage creates it and passes it to U-Boot. +If CONFIG_OF_BLOBLIST is defined, the devicetree comes from a bloblist passed +from a previous stage. + If CONFIG_SANDBOX is defined, then it will be read from a file on startup. Use the -d flag to U-Boot to specify the file to read, -D for the default and -T for the test devicetree, used to run sandbox unit tests.
dts/Kconfig +8 -0
@@ -105,6 +105,14 @@ config OF_EMBED endchoice +config OF_BLOBLIST + bool "DTB is provided by a bloblist" + help + Select this to read the devicetree from the bloblist. This allows + using a bloblist to transfer the devicetree between U-Boot phases. + The devicetree is stored in the bloblist by an early phase so that + U-Boot can read it. + config OF_BOARD bool "Provided by the board (e.g a previous loader) at runtime" default y if SANDBOX || OF_HAS_PRIOR_STAGE
include/bloblist.h +5 -0
@@ -103,6 +103,11 @@ enum bloblist_tag_t {BLOBLISTT_ACPI_TABLES =0x104 ,/* ACPI tables for x86 */ BLOBLISTT_SMBIOS_TABLES =0x105 ,/* SMBIOS tables for x86 */ BLOBLISTT_VBOOT_CTX =0x106 ,/* Chromium OS verified boot context */ +/* +* Devicetree for use by firmware. On some platforms this is passed to +* the OS also +*/ + BLOBLISTT_CONTROL_FDT = 0x107,/* * Project-specific tags are permitted here. Projects can be open source
include/fdtdec.h +2 -1
@@ -72,7 +72,7 @@ struct bd_info;* U-Boot is packaged as an ELF file, e.g. for debugging purposes * @FDTSRC_ENV: Provided by the fdtcontroladdr environment variable. This should * be used for debugging/development only -* @FDTSRC_NONE: No devicetree at all +* @FDTSRC_BLOBLIST: Provided by a bloblist from an earlier phase */ enum fdt_source_t {FDTSRC_SEPARATE ,
@@ -80,6 +80,7 @@ enum fdt_source_t {FDTSRC_BOARD ,FDTSRC_EMBED ,FDTSRC_ENV , + FDTSRC_BLOBLIST, };/*
lib/fdtdec.c +32 -12
65 lines not on this page · raw message
Signature · 1 line
2.42.0.515.g380fc7ccd1-goog
PATCH v3 37/38 command: Include a required header in command.h
In reply to Simon GlassThis uses ARRAY_SIZE() but does not include the header file which declares it. Fix this, so that command.h can be included without common.h
---
(no changes since v1)
include/command.h | 3 +++ 1 file changed, 3 insertions(+)
include/command.h +3 -0
@@ -15,6 +15,9 @@#include <linux/compiler_attributes.h> +/* For ARRAY_SIZE() */ +#include <linux/kernel.h> +#ifndef NULL #define NULL 0#endif
Signature · 1 line
2.42.0.515.g380fc7ccd1-goog
PATCH v3 38/38 pci: serial: Support reading PCI-register size with base
In reply to Simon GlassThe PCI helpers read only the base address for a PCI region. In some cases the size is needed as well, e.g. to pass along to a driver which needs to know the size of its register area.
Update the functions to allow the size to be returned. For serial, record the information and provided it with the serial_info() call.
A limitation still exists in that the size is not available when OF_LIVE is enabled, so take account of that in the tests.
---
(no changes since v1)
arch/sandbox/dts/test.dts | 6 +++--- drivers/core/fdtaddr.c | 6 +++--- drivers/core/ofnode.c | 11 ++++++++--- drivers/core/read.c | 6 ++++-- drivers/core/util.c | 2 +- drivers/pci/pci-uclass.c | 2 +- drivers/pci/pci_mvebu.c | 3 ++- drivers/pci/pci_tegra.c | 2 +- drivers/pci/pcie_mediatek.c | 4 ++-- drivers/serial/ns16550.c | 15 ++++++++++----- include/dm/fdtaddr.h | 3 ++- include/dm/ofnode.h | 4 +++- include/dm/read.h | 8 +++++--- include/ns16550.h | 4 +++- include/serial.h | 2 ++ test/dm/pci.c | 14 ++++++++++---- 16 files changed, 60 insertions(+), 32 deletions(-)
arch/sandbox/dts/test.dts +3 -3
@@ -1123,8 +1123,8 @@ pci@1,0 { compatible = "pci-generic"; /* reg 0 is at 0x14, using FDT_PCI_SPACE_MEM32 */ - reg = <0x02000814 0 0 0 0 - 0x01000810 0 0 0 0>; + reg = <0x02000814 0 0 0x80 0 + 0x01000810 0 0 0xc0 0>; sandbox,emul = <&swap_case_emul0_1>; }; p2sb-pci@2,0 {
@@ -1151,7 +1151,7 @@ pci@1f,0 { compatible = "pci-generic"; /* reg 0 is at 0x10, using FDT_PCI_SPACE_IO */ - reg = <0x0100f810 0 0 0 0>; + reg = <0x0100f810 0 0 0x100 0>; sandbox,emul = <&swap_case_emul0_1f>; }; };
drivers/core/fdtaddr.c +3 -3
@@ -215,7 +215,7 @@ void *devfdt_map_physmem(const struct udevice *dev, unsigned long size)return map_physmem (addr, size,MAP_NOCACHE ); } -fdt_addr_t devfdt_get_addr_pci (const struct udevice *dev) +fdt_addr_t devfdt_get_addr_pci (const struct udevice *dev,fdt_size_t *sizep) {ulong addr;
@@ -226,12 +226,12 @@ fdt_addr_t devfdt_get_addr_pci(const struct udevice *dev)int ret; ret =ofnode_read_pci_addr (dev_ofnode (dev),FDT_PCI_SPACE_MEM32 , -"reg" , &pci_addr); +"reg" , &pci_addr, sizep);if (ret) {/* try if there is any i/o-mapped register */ ret =ofnode_read_pci_addr (dev_ofnode (dev),FDT_PCI_SPACE_IO ,"reg" , - &pci_addr); + &pci_addr, sizep);if (ret)return FDT_ADDR_T_NONE ; }
drivers/core/ofnode.c +8 -3
@@ -1270,7 +1270,8 @@ const uint8_t *ofnode_read_u8_array_ptr(ofnode node, const char *propname, }int ofnode_read_pci_addr (ofnode node,enum fdt_pci_space type, -const char *propname,struct fdt_pci_addr *addr) +const char *propname,struct fdt_pci_addr *addr, +fdt_size_t *size) {const fdt32_t *cell;int len;
@@ -1298,14 +1299,18 @@ int ofnode_read_pci_addr(ofnode node, enum fdt_pci_space type, (ulong )fdt32_to_cpu (cell[1 ]), (ulong)fdt32_to_cpu(cell[2]));if ((fdt32_to_cpu (*cell) & type) == type) { +const unaligned_fdt64_t *ptr; + addr->phys_hi =fdt32_to_cpu (cell[0 ]); addr->phys_mid =fdt32_to_cpu (cell[1 ]); addr->phys_lo =fdt32_to_cpu (cell[2 ]); + ptr = (const unaligned_fdt64_t *)(cell +3 ); +if (size) + *size =fdt64_to_cpu (*ptr);break ; } - cell += (FDT_PCI_ADDR_CELLS + -FDT_PCI_SIZE_CELLS ); + cell +=FDT_PCI_ADDR_CELLS +FDT_PCI_SIZE_CELLS ; }if (i == num) {
drivers/core/read.c +4 -2
@@ -405,13 +405,15 @@ int dev_read_alias_highest_id(const char *stem)return fdtdec_get_alias_highest_id (gd->fdt_blob, stem); } -fdt_addr_t dev_read_addr_pci (const struct udevice *dev) +fdt_addr_t dev_read_addr_pci (const struct udevice *dev,fdt_size_t *sizep) {ulong addr; addr =dev_read_addr (dev); +if (sizep) + *sizep =0 ;if (addr ==FDT_ADDR_T_NONE && !of_live_active ()) - addr =devfdt_get_addr_pci (dev); + addr =devfdt_get_addr_pci (dev, sizep);return addr; }
drivers/core/util.c +1 -1
@@ -30,7 +30,7 @@ int pci_get_devfn(struct udevice *dev)/* Extract the devfn from fdt_pci_addr */ ret =ofnode_read_pci_addr (dev_ofnode (dev),FDT_PCI_SPACE_CONFIG , -"reg" , &addr); +"reg" , &addr,NULL );if (ret) {if (ret != -ENOENT )return -EINVAL ;
drivers/pci/pci-uclass.c +1 -1
@@ -122,7 +122,7 @@ static void pci_dev_find_ofnode(struct udevice *bus, phys_addr_t bdf,dev_for_each_subnode (node, bus) { ret =ofnode_read_pci_addr (node,FDT_PCI_SPACE_CONFIG ,"reg" , - &addr); + &addr,NULL );if (ret)continue ;
drivers/pci/pci_mvebu.c +2 -1
@@ -640,7 +640,8 @@ static int mvebu_pcie_port_parse_dt(ofnode node, ofnode parent, struct mvebu_pci pcie->is_x4 = true;/* devfn is in bits [15:8], see PCI_DEV usage */ - ret =ofnode_read_pci_addr (node,FDT_PCI_SPACE_CONFIG ,"reg" , &pci_addr); + ret =ofnode_read_pci_addr (node,FDT_PCI_SPACE_CONFIG ,"reg" , &pci_addr, +NULL );if (ret <0 ) {printf ("%s: property \"reg\" is invalid\n" , pcie->name); goto err;
drivers/pci/pci_tegra.c +1 -1
@@ -461,7 +461,7 @@ static int tegra_pcie_parse_port_info(ofnode node, uint *index, uint *lanes) *lanes = err; - err =ofnode_read_pci_addr (node,0 ,"reg" , &addr); + err =ofnode_read_pci_addr (node,0 ,"reg" , &addr,NULL );if (err <0 ) {pr_err ("failed to parse \"reg\" property\n" );return err;
drivers/pci/pcie_mediatek.c +2 -2
@@ -660,7 +660,7 @@ static int mtk_pcie_probe(struct udevice *dev)if (!ofnode_is_enabled (subnode))continue ; - err =ofnode_read_pci_addr (subnode,0 ,"reg" , &addr); + err =ofnode_read_pci_addr (subnode,0 ,"reg" , &addr,NULL );if (err)return err;
@@ -699,7 +699,7 @@ static int mtk_pcie_probe_v2(struct udevice *dev)if (!ofnode_is_enabled (subnode))continue ; - err =ofnode_read_pci_addr (subnode,0 ,"reg" , &addr); + err =ofnode_read_pci_addr (subnode,0 ,"reg" , &addr,NULL );if (err)return err;
drivers/serial/ns16550.c +10 -5
@@ -479,6 +479,7 @@ static int ns16550_serial_getinfo(struct udevice *dev, info->addr_space =SERIAL_ADDRESS_SPACE_MEMORY ;#endif info->addr = plat->base; + info->size = plat->size; info->reg_width = plat->reg_width; info->reg_shift = plat->reg_shift; info->reg_offset = plat->reg_offset;
@@ -487,7 +488,8 @@ static int ns16550_serial_getinfo(struct udevice *dev,return 0 ; } -static int ns16550_serial_assign_base (struct ns16550_plat *plat,fdt_addr_t base) +static int ns16550_serial_assign_base (struct ns16550_plat *plat, +fdt_addr_t base,fdt_size_t size) {if (base ==FDT_ADDR_T_NONE )return -EINVAL ;
@@ -497,6 +499,7 @@ static int ns16550_serial_assign_base(struct ns16550_plat *plat, fdt_addr_t base#else plat->base = (unsigned long )map_physmem (base,0 ,MAP_NOCACHE );#endif + plat->size = size;return 0 ; }
@@ -507,6 +510,7 @@ int ns16550_serial_probe(struct udevice *dev)struct ns16550 *const com_port =dev_get_priv (dev);struct reset_ctl_bulk reset_bulk;fdt_addr_t addr; +fdt_addr_t size;int ret;/*
@@ -514,8 +518,8 @@ int ns16550_serial_probe(struct udevice *dev)* or via a PCI bridge, assign plat->base before probing hardware. */ if (device_is_on_pci_bus (dev)) { - addr =devfdt_get_addr_pci (dev); - ret =ns16550_serial_assign_base (plat, addr); + addr =devfdt_get_addr_pci (dev, &size); + ret =ns16550_serial_assign_base (plat, addr, size);if (ret)return ret; }
@@ -543,11 +547,12 @@ int ns16550_serial_of_to_plat(struct udevice *dev)struct ns16550_plat *plat =dev_get_plat (dev);const u32 port_type =dev_get_driver_data (dev);fdt_addr_t addr; +fdt_size_t size;struct clk clk;int err; - addr =dev_read_addr (dev); - err =ns16550_serial_assign_base (plat, addr); + addr =dev_read_addr_size (dev, &size); + err =ns16550_serial_assign_base (plat, addr, size);if (err && !device_is_on_pci_bus (dev))return err;
include/dm/fdtaddr.h +2 -1
@@ -168,8 +168,9 @@ fdt_addr_t devfdt_get_addr_size_name(const struct udevice *dev,* devfdt_get_addr_pci() - Read an address and handle PCI address translation * * @dev: Device to read from +* @sizep: If non-NULL, returns size of address space * Return: address or FDT_ADDR_T_NONE if not found */ -fdt_addr_t devfdt_get_addr_pci (const struct udevice *dev); +fdt_addr_t devfdt_get_addr_pci (const struct udevice *dev,fdt_size_t *sizep);#endif
include/dm/ofnode.h +3 -1
@@ -1153,13 +1153,15 @@ const uint8_t *ofnode_read_u8_array_ptr(ofnode node, const char *propname,* @type: pci address type (FDT_PCI_SPACE_xxx) * @propname: name of property to find * @addr: returns pci address in the form of fdt_pci_addr +* @size: if non-null, returns register-space size * Return: * 0 if ok, -ENOENT if the property did not exist, -EINVAL if the * format of the property was invalid, -ENXIO if the requested * address type was not found */ int ofnode_read_pci_addr (ofnode node,enum fdt_pci_space type, -const char *propname,struct fdt_pci_addr *addr); +const char *propname,struct fdt_pci_addr *addr, +fdt_size_t *size);/** * ofnode_read_pci_vendev() - look up PCI vendor and device id
include/dm/read.h +5 -3
@@ -346,9 +346,10 @@ void *dev_read_addr_ptr(const struct udevice *dev);* fdtdec_get_addr() and friends. * * @dev: Device to read from +* @sizep: If non-NULL, returns size of address space found * Return: address or FDT_ADDR_T_NONE if not found */ -fdt_addr_t dev_read_addr_pci (const struct udevice *dev); +fdt_addr_t dev_read_addr_pci (const struct udevice *dev,fdt_size_t *sizep);/** * dev_remap_addr() - Get the reg property of a device as a
@@ -996,9 +997,10 @@ static inline void *dev_read_addr_ptr(const struct udevice *dev)return devfdt_get_addr_ptr (dev); } -static inline fdt_addr_t dev_read_addr_pci (const struct udevice *dev) +static inline fdt_addr_t dev_read_addr_pci (const struct udevice *dev, +fdt_size_t *sizep) { -return devfdt_get_addr_pci (dev); +return devfdt_get_addr_pci (dev, sizep); }static inline void *dev_remap_addr (const struct udevice *dev)
include/ns16550.h +3 -1
@@ -58,6 +58,7 @@ enum ns16550_flags {* struct ns16550_plat - information about a NS16550 port * * @base: Base register address +* @size: Size of register area in bytes * @reg_width: IO accesses size of registers (in bytes, 1 or 4) * @reg_shift: Shift size of registers (0=byte, 1=16bit, 2=32bit...) * @reg_offset: Offset to start of registers (normally 0)
@@ -67,7 +68,8 @@ enum ns16550_flags {* @bdf: PCI slot/function (pci_dev_t) */ struct ns16550_plat { -unsigned long base; +ulong base; +ulong size;int reg_width;int reg_shift;int reg_offset;
include/serial.h +2 -0
@@ -137,6 +137,7 @@ enum adr_space_type {* @type: type of the UART chip * @addr_space: address space to access the registers * @addr: physical address of the registers +* @size: size of the register area in bytes * @reg_width: size (in bytes) of the IO accesses to the registers * @reg_offset: offset to apply to the @addr from the start of the registers * @reg_shift: quantity to shift the register offsets by
@@ -147,6 +148,7 @@ struct serial_device_info {enum serial_chip_type type;enum adr_space_type addr_space;ulong addr; +ulong size;u8 reg_width;u8 reg_offset;u8 reg_shift;
test/dm/pci.c +10 -4
@@ -301,10 +301,12 @@ static int dm_test_pci_addr_flat(struct unit_test_state *uts) {struct udevice *swap1f, *swap1;ulong io_addr, mem_addr; +fdt_addr_t size;ut_assertok (dm_pci_bus_find_bdf (PCI_BDF (0 ,0x1f ,0 ), &swap1f)); io_addr =dm_pci_read_bar32 (swap1f,0 ); -ut_asserteq (io_addr,dev_read_addr_pci (swap1f)); +ut_asserteq (io_addr,dev_read_addr_pci (swap1f, &size)); +ut_asserteq (0 , size);/* * This device has both I/O and MEM spaces but the MEM space appears
@@ -312,7 +314,8 @@ static int dm_test_pci_addr_flat(struct unit_test_state *uts)*/ ut_assertok (dm_pci_bus_find_bdf (PCI_BDF (0 ,0x1 ,0 ), &swap1)); mem_addr =dm_pci_read_bar32 (swap1,1 ); -ut_asserteq (mem_addr,dev_read_addr_pci (swap1)); +ut_asserteq (mem_addr,dev_read_addr_pci (swap1, &size)); +ut_asserteq (0 , size);return 0 ; }
@@ -329,12 +332,15 @@ DM_TEST(dm_test_pci_addr_flat, UT_TESTF_SCAN_PDATA | UT_TESTF_SCAN_FDT |static int dm_test_pci_addr_live (struct unit_test_state *uts) {struct udevice *swap1f, *swap1; +fdt_size_t size;ut_assertok (dm_pci_bus_find_bdf (PCI_BDF (0 ,0x1f ,0 ), &swap1f)); -ut_asserteq_64 (FDT_ADDR_T_NONE ,dev_read_addr_pci (swap1f)); +ut_asserteq_64 (FDT_ADDR_T_NONE ,dev_read_addr_pci (swap1f, &size)); +ut_asserteq (0 , size);ut_assertok (dm_pci_bus_find_bdf (PCI_BDF (0 ,0x1 ,0 ), &swap1)); -ut_asserteq_64 (FDT_ADDR_T_NONE ,dev_read_addr_pci (swap1)); +ut_asserteq_64 (FDT_ADDR_T_NONE ,dev_read_addr_pci (swap1, &size)); +ut_asserteq (0 , size);return 0 ; }
Signature · 1 line
2.42.0.515.g380fc7ccd1-goog
Re: [PATCH v3 38/38] pci: serial: Support reading PCI-register size with base
Quoted 11 lines · Simon Glass
The PCI helpers read only the base address for a PCI region. In some cases the size is needed as well, e.g. to pass along to a driver which needs to know the size of its register area.
Update the functions to allow the size to be returned. For serial, record the information and provided it with the
serial_info()call.A limitation still exists in that the size is not available when
OF_LIVEis enabled, so take account of that in the tests.Signed-off-by Simon Glass <[email protected]>
So on platforms that end up here, we see consistently:
eaidk-610-rk3399: all +224 spl/u-boot-spl:all +224 spl/u-boot-spl:text +224 text +224 tpl/u-boot-tpl:all +224 tpl/u-boot-tpl:text +224
u-boot: add: 2/0, grow: 3/0 bytes: 224/0 (224)
function old new delta
fdtdec_get_addr_size_auto_noparent - 124 +124
devfdt_get_addr_size_index - 72 +72
ns16550_serial_of_to_plat 316 328 +12
ns16550_serial_probe 132 140 +8
ns16550_serial_getinfo 84 92 +8
tpl-u-boot-tpl: add: 2/0, grow: 3/0 bytes: 224/0 (224)
function old new delta
fdtdec_get_addr_size_auto_noparent - 124 +124
devfdt_get_addr_size_index - 72 +72
ns16550_serial_of_to_plat 316 328 +12
ns16550_serial_probe 132 140 +8
ns16550_serial_getinfo 84 92 +8
spl-u-boot-spl: add: 2/0, grow: 3/0 bytes: 224/0 (224)
function old new delta
fdtdec_get_addr_size_auto_noparent - 124 +124
devfdt_get_addr_size_index - 72 +72
ns16550_serial_of_to_plat 316 328 +12
ns16550_serial_probe 132 140 +8
ns16550_serial_getinfo 84 92 +8
Can we optimize this in any way? I'm less concerned with full U-Boot growing by 224 bytes than I am by TPL growing by that much too.
Signature · 1 line
Tom
Re: [PATCH v3 38/38] pci: serial: Support reading PCI-register size with base
Hi Tom,
Quoted 39 lines · Tom Rini
Quoted 11 lines · Simon Glass
The PCI helpers read only the base address for a PCI region. In some cases the size is needed as well, e.g. to pass along to a driver which needs to know the size of its register area.
Update the functions to allow the size to be returned. For serial, record the information and provided it with the
serial_info()call.A limitation still exists in that the size is not available when
OF_LIVEis enabled, so take account of that in the tests.Signed-off-by Simon Glass <[email protected]>So on platforms that end up here, we see consistently:
eaidk-610-rk3399: all +224 spl/u-boot-spl:all +224 spl/u-boot-spl:text +224 text +224 tpl/u-boot-tpl:all +224 tpl/u-boot-tpl:text +224
u-boot: add: 2/0, grow: 3/0 bytes: 224/0 (224)
function old new delta
fdtdec_get_addr_size_auto_noparent- 124 +124
devfdt_get_addr_size_index- 72 +72
ns16550_serial_of_to_plat316 328 +12
ns16550_serial_probe132 140 +8
ns16550_serial_getinfo84 92 +8
tpl-u-boot-tpl: add: 2/0, grow: 3/0 bytes: 224/0 (224)
function old new delta
fdtdec_get_addr_size_auto_noparent- 124 +124
devfdt_get_addr_size_index- 72 +72
ns16550_serial_of_to_plat316 328 +12
ns16550_serial_probe132 140 +8
ns16550_serial_getinfo84 92 +8
spl-u-boot-spl: add: 2/0, grow: 3/0 bytes: 224/0 (224)
function old new delta
fdtdec_get_addr_size_auto_noparent- 124 +124
devfdt_get_addr_size_index- 72 +72
ns16550_serial_of_to_plat316 328 +12
ns16550_serial_probe132 140 +8
ns16550_serial_getinfo84 92 +8
Quoted 2 lines
Can we optimize this in any way? I'm less concerned with full U-Boot growing by 224 bytes than I am by TPL growing by that much too.
One option would be to have two functions in each case, one for the address and one for the address + size. We do that in some other cases. I have to admit I somehow didn't notice this large size difference, although I knew it would have an impact...it is so strange how the compiler changes what functions end up in the image willy nilly.
Regards,
Simon
Re: [PATCH v3 38/38] pci: serial: Support reading PCI-register size with base
Quoted 45 lines · Simon Glass
Hi Tom,
Quoted 39 lines · Tom Rini
Quoted 11 lines · Simon Glass
The PCI helpers read only the base address for a PCI region. In some cases the size is needed as well, e.g. to pass along to a driver which needs to know the size of its register area.
Update the functions to allow the size to be returned. For serial, record the information and provided it with the
serial_info()call.A limitation still exists in that the size is not available when
OF_LIVEis enabled, so take account of that in the tests.Signed-off-by Simon Glass <[email protected]>So on platforms that end up here, we see consistently:
eaidk-610-rk3399: all +224 spl/u-boot-spl:all +224 spl/u-boot-spl:text +224 text +224 tpl/u-boot-tpl:all +224 tpl/u-boot-tpl:text +224
u-boot: add: 2/0, grow: 3/0 bytes: 224/0 (224)
function old new delta
fdtdec_get_addr_size_auto_noparent- 124 +124
devfdt_get_addr_size_index- 72 +72
ns16550_serial_of_to_plat316 328 +12
ns16550_serial_probe132 140 +8
ns16550_serial_getinfo84 92 +8
tpl-u-boot-tpl: add: 2/0, grow: 3/0 bytes: 224/0 (224)
function old new delta
fdtdec_get_addr_size_auto_noparent- 124 +124
devfdt_get_addr_size_index- 72 +72
ns16550_serial_of_to_plat316 328 +12
ns16550_serial_probe132 140 +8
ns16550_serial_getinfo84 92 +8
spl-u-boot-spl: add: 2/0, grow: 3/0 bytes: 224/0 (224)
function old new delta
fdtdec_get_addr_size_auto_noparent- 124 +124
devfdt_get_addr_size_index- 72 +72
ns16550_serial_of_to_plat316 328 +12
ns16550_serial_probe132 140 +8
ns16550_serial_getinfo84 92 +8Quoted 2 lines
Can we optimize this in any way? I'm less concerned with full U-Boot growing by 224 bytes than I am by TPL growing by that much too.
Quoted 6 lines
One option would be to have two functions in each case, one for the address and one for the address + size. We do that in some other cases. I have to admit I somehow didn't notice this large size difference, although I knew it would have an impact...it is so strange how the compiler changes what functions end up in the image willy nilly.
Yes, please take a look. But note that it's not arbitrary, setting aside the EFI application build, we garbage collect things that cannot be called :)
Signature · 1 line
Tom
Quoted 61 lines · Simon Glass
This series tidies up SPL a little and adds some core ofnode functions needed to support Universal Payload. It also includes a few minor fix-ups for sandbox.
For SPL the changes include CONFIG naming, removing various #ifdefs and tidying up the FIT code.
One notable piece of the ofnode improvements is support for flattening a livetree. This should be useful in future as we move FDT fixups to use the ofnode API.
Changes in v3:
- Mention testing on qemu-ppce500
- Add new patch to create a proper symbol for enabling themalloc()pool
- Add new patch to enableCONFIG_SPL_SYS_MALLOC_Fwhere needed
- Add new patch to nableCONFIG_TPL_SYS_MALLOC_Fwhere needed
- Add new patch to useSYS_MALLOC_Finstead ofSYS_MALLOC_F_LEN
- Add new patch to tidy up uses ofCONFIG_SYS_MALLOC_F_LEN
- Add new patch to clean upSYS_MALLOC_SIMPLEdocumentation
- Add new patch to correct help inTPL_DMandVPL_DM
- Rebase on the new patchChanges in v2:
- Rename based on Tom's feedback
- Improve readability by moving the size part to the header file
- Explicitly copy two maintainers as it seems only Mario was auto-cc'd
- Change the approach to use the header file
- Use the same condition for both pieces to avoid possible problems
- No changes as it still seems unclear what should be doneSimon Glass (38):
spl: UseCONFIG_SPL... instead of CONFIG_..._SPL_...
spl: RenameSYS_SPL_ARGS_ADDRtoSPL_PAYLOAD_ARGS_ADDR
spl: Avoid #ifdef withCONFIG_SPL_SYS_MALLOC
spl: mx6: powerpc: Drop the condition ontimer_init()
spl: Drop #ifdefs forBOARD_INITand watchdog
spl: Avoid #ifdef withCONFIG_SPL_PAYLOAD_ARGS_ADDR
spl: Drop theswitch()statement for OS selection
spl: Create proper symbols for enabling themalloc()pool
spl: EnableCONFIG_SPL_SYS_MALLOC_Fwhere needed
tpl: EnableCONFIG_TPL_SYS_MALLOC_Fwhere needed
spl: UseSYS_MALLOC_Finstead ofSYS_MALLOC_F_LENTidy up uses ofCONFIG_SYS_MALLOC_F_LEN
doc: Clean upSYS_MALLOC_SIMPLE
dm: core: Correct help inTPL_DMandVPL_DM
spl: Avoid an #ifdef when printinggd->malloc_ptr
spl: Remove #ifdefs with BOOTSTAGE
spl: Renamespl_load_fit_image()toload_simple_fit()
spl: Move the full FIT code tospl_fit.c
spl: Use the correct FIT_..._PROP constants
spl: Move bloblist writing until the image is known
dm: core: Reverse the argument order inofnode_copy_props()
dm: core: Ensure we run flattree tests on ofnode
dm: core: Tidy up comments in the ofnode tests
dm: core: Add a function to create an empty tree
dm: core: Add a way to copy a node
dm: core: Add a way to delete a node
dm: core: Add a way to convert a devicetree to a dtb
dm: core: Support writing a boolean
dm: core: Support writing a 64-bit value
dm: core: Add tests foroftree_path()
Quoted 8 lines
sandbox: Move reading the RAM buffer into a better place
sandbox: Init the EC properly even if no state file is available
sandbox: Only read the state if we have a state file
sandbox: Move the bloblist down a little in memory
bloblist: Support initing from multiple places
fdt: Allow the devicetree to come from a bloblist
command: Include a required header incommand.h
pci: serial: Support reading PCI-register size with base
Specific feedback aside, generally this seems fine.
Signature · 1 line
Tom