History log of /openbmc/u-boot/common/ (Results 376 – 400 of 4888)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
d1fc0a3128-Sep-2017 York Sun <york.sun@nxp.com>

spl: fix assignment of board info to global data

Commit 15eb1d43bf47 ("spl: reorder the assignment of board info to
global data") intended to move assignment of board info earlier,
into board_init_r

spl: fix assignment of board info to global data

Commit 15eb1d43bf47 ("spl: reorder the assignment of board info to
global data") intended to move assignment of board info earlier,
into board_init_r(). However, function preload_console_init() is
called either from spl_board_init() or from board_init_f(). For the
latter case, the board info assignment is much earlier than proposed
board_init_r(). Create a new function to fill gd->bd and call this
function when needed.

Signed-off-by: York Sun <york.sun@nxp.com>
CC: Lokesh Vutla <lokeshvutla@ti.com>
CC: Ravi Babu <ravibabu@ti.com>
CC: Lukasz Majewski <lukma@denx.de>
CC: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>

show more ...


/openbmc/u-boot/Makefile
/openbmc/u-boot/arch/arc/include/asm/io.h
/openbmc/u-boot/arch/arm/cpu/armv8/fsl-layerscape/Kconfig
/openbmc/u-boot/arch/arm/cpu/armv8/fsl-layerscape/cpu.c
/openbmc/u-boot/arch/arm/cpu/armv8/fsl-layerscape/soc.c
/openbmc/u-boot/arch/arm/cpu/armv8/fsl-layerscape/spl.c
/openbmc/u-boot/arch/arm/include/asm/io.h
/openbmc/u-boot/arch/m68k/include/asm/io.h
/openbmc/u-boot/arch/microblaze/include/asm/io.h
/openbmc/u-boot/arch/mips/include/asm/io.h
/openbmc/u-boot/arch/nds32/include/asm/io.h
/openbmc/u-boot/arch/nios2/include/asm/io.h
/openbmc/u-boot/arch/powerpc/include/asm/io.h
/openbmc/u-boot/arch/sandbox/cpu/cpu.c
/openbmc/u-boot/arch/sandbox/include/asm/io.h
/openbmc/u-boot/arch/sh/include/asm/io.h
/openbmc/u-boot/arch/x86/include/asm/io.h
/openbmc/u-boot/arch/xtensa/include/asm/io.h
/openbmc/u-boot/board/freescale/ls1088a/eth_ls1088aqds.c
/openbmc/u-boot/board/freescale/ls1088a/eth_ls1088ardb.c
/openbmc/u-boot/cmd/Kconfig
/openbmc/u-boot/cmd/Makefile
/openbmc/u-boot/cmd/btrfs.c
spl/spl.c
/openbmc/u-boot/configs/ls1021aiot_qspi_defconfig
/openbmc/u-boot/configs/ls1021aiot_sdcard_defconfig
/openbmc/u-boot/configs/sandbox_defconfig
/openbmc/u-boot/configs/turris_omnia_defconfig
/openbmc/u-boot/fs/Kconfig
/openbmc/u-boot/fs/Makefile
/openbmc/u-boot/fs/btrfs/Kconfig
/openbmc/u-boot/fs/btrfs/Makefile
/openbmc/u-boot/fs/btrfs/btrfs.c
/openbmc/u-boot/fs/btrfs/btrfs.h
/openbmc/u-boot/fs/btrfs/btrfs_tree.h
/openbmc/u-boot/fs/btrfs/chunk-map.c
/openbmc/u-boot/fs/btrfs/compression.c
/openbmc/u-boot/fs/btrfs/conv-funcs.h
/openbmc/u-boot/fs/btrfs/ctree.c
/openbmc/u-boot/fs/btrfs/ctree.h
/openbmc/u-boot/fs/btrfs/dev.c
/openbmc/u-boot/fs/btrfs/dir-item.c
/openbmc/u-boot/fs/btrfs/extent-io.c
/openbmc/u-boot/fs/btrfs/hash.c
/openbmc/u-boot/fs/btrfs/inode.c
/openbmc/u-boot/fs/btrfs/root.c
/openbmc/u-boot/fs/btrfs/subvolume.c
/openbmc/u-boot/fs/btrfs/super.c
/openbmc/u-boot/fs/ext4/dev.c
/openbmc/u-boot/fs/fs.c
/openbmc/u-boot/fs/fs_internal.c
/openbmc/u-boot/fs/reiserfs/dev.c
/openbmc/u-boot/fs/zfs/dev.c
/openbmc/u-boot/include/asm-generic/io.h
/openbmc/u-boot/include/btrfs.h
/openbmc/u-boot/include/configs/ls1021aiot.h
/openbmc/u-boot/include/configs/ls1046a_common.h
/openbmc/u-boot/include/configs/ls1046aqds.h
/openbmc/u-boot/include/configs/ls1088a_common.h
/openbmc/u-boot/include/fs.h
/openbmc/u-boot/include/fs_internal.h
/openbmc/u-boot/include/spl.h
/openbmc/u-boot/include/u-boot/crc.h
/openbmc/u-boot/include/u-boot/variadic-macro.h
/openbmc/u-boot/lib/Kconfig
/openbmc/u-boot/lib/Makefile
/openbmc/u-boot/lib/crc32c.c
/openbmc/u-boot/scripts/dtc/.gitignore
02035d0015-Sep-2017 Jean-Jacques Hiblot <jjhiblot@ti.com>

fit: If no matching config is found in fit_find_config_node(), use the default one

If board_fit_config_name_match() doesn't match any configuration node,
then use the default one (if provided).

Sig

fit: If no matching config is found in fit_find_config_node(), use the default one

If board_fit_config_name_match() doesn't match any configuration node,
then use the default one (if provided).

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>

show more ...

d56b86ee15-Sep-2017 Jean-Jacques Hiblot <jjhiblot@ti.com>

fit: fixed bug in locate_dtb_in_fit()

If the dtb is the first data of the FIT, the its offset is 0x0. Change the
test to '<' instead of '<='

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Rev

fit: fixed bug in locate_dtb_in_fit()

If the dtb is the first data of the FIT, the its offset is 0x0. Change the
test to '<' instead of '<='

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>

show more ...

906a9dbb15-Sep-2017 Jean-Jacques Hiblot <jjhiblot@ti.com>

fit: use 'const' for the input of fdt_offset() and locate_dtb_in_fit()

Those 2 functions don't modify their input, we can mark it const.
This prevents compilation warnings when they are provided con

fit: use 'const' for the input of fdt_offset() and locate_dtb_in_fit()

Those 2 functions don't modify their input, we can mark it const.
This prevents compilation warnings when they are provided const input.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>

show more ...

1195559015-Sep-2017 Jean-Jacques Hiblot <jjhiblot@ti.com>

dts: renamed FIT_EMBED to MULTI_DTB_FIT and moved it to the dts Kconfig

CONFIG_FIT_EMBED might be confused with CONFIG_OF_EMBED, rename it
MULTI_DTB_FIT as it is able to get a DTB from a FIT image c

dts: renamed FIT_EMBED to MULTI_DTB_FIT and moved it to the dts Kconfig

CONFIG_FIT_EMBED might be confused with CONFIG_OF_EMBED, rename it
MULTI_DTB_FIT as it is able to get a DTB from a FIT image containing
multiple DTBs. Also move the option to the Kconfig dedicated to the DTS
options and create a README for this feature.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>

show more ...


/openbmc/u-boot/Makefile
/openbmc/u-boot/arch/arm/Kconfig
/openbmc/u-boot/arch/arm/dts/Makefile
/openbmc/u-boot/arch/arm/dts/axp223.dtsi
/openbmc/u-boot/arch/arm/dts/axp22x.dtsi
/openbmc/u-boot/arch/arm/dts/sun7i-a20-bananapi-m1-plus.dts
/openbmc/u-boot/arch/arm/dts/sun7i-a20-olinuxino-micro-emmc.dts
/openbmc/u-boot/arch/arm/dts/sun8i-a23-a33.dtsi
/openbmc/u-boot/arch/arm/dts/sun8i-a23.dtsi
/openbmc/u-boot/arch/arm/dts/sun8i-a33-sinlinx-sina33.dts
/openbmc/u-boot/arch/arm/dts/sun8i-a33.dtsi
/openbmc/u-boot/arch/arm/dts/sun8i-a83t-bananapi-m3.dts
/openbmc/u-boot/arch/arm/include/asm/arch-sunxi/spl.h
/openbmc/u-boot/arch/arm/include/asm/arch-sunxi/usb_phy.h
/openbmc/u-boot/arch/arm/mach-imx/spl.c
/openbmc/u-boot/arch/arm/mach-sunxi/board.c
/openbmc/u-boot/arch/arm/mach-sunxi/usb_phy.c
/openbmc/u-boot/arch/sandbox/include/asm/io.h
/openbmc/u-boot/board/samsung/common/gadget.c
/openbmc/u-boot/board/siemens/common/factoryset.c
/openbmc/u-boot/board/sunxi/MAINTAINERS
/openbmc/u-boot/board/sunxi/board.c
/openbmc/u-boot/board/ti/ks2_evm/board_k2e.c
/openbmc/u-boot/board/ti/ks2_evm/board_k2g.c
/openbmc/u-boot/board/ti/ks2_evm/board_k2hk.c
/openbmc/u-boot/board/ti/ks2_evm/board_k2l.c
/openbmc/u-boot/cmd/Kconfig
/openbmc/u-boot/cmd/fastboot/Kconfig
Kconfig
Makefile
/openbmc/u-boot/configs/A13-OLinuXino_defconfig
/openbmc/u-boot/configs/A20-OLinuXino-Lime2-eMMC_defconfig
/openbmc/u-boot/configs/A20-OLinuXino-Lime2_defconfig
/openbmc/u-boot/configs/A20-OLinuXino_MICRO-eMMC_defconfig
/openbmc/u-boot/configs/CHIP_defconfig
/openbmc/u-boot/configs/CHIP_pro_defconfig
/openbmc/u-boot/configs/Cubietruck_defconfig
/openbmc/u-boot/configs/Cubietruck_plus_defconfig
/openbmc/u-boot/configs/LicheePi_Zero_defconfig
/openbmc/u-boot/configs/Nintendo_NES_Classic_Edition_defconfig
/openbmc/u-boot/configs/Sinlinx_SinA33_defconfig
/openbmc/u-boot/configs/Sinovoip_BPI_M3_defconfig
/openbmc/u-boot/configs/am335x_baltos_defconfig
/openbmc/u-boot/configs/am335x_boneblack_defconfig
/openbmc/u-boot/configs/am335x_boneblack_vboot_defconfig
/openbmc/u-boot/configs/am335x_evm_defconfig
/openbmc/u-boot/configs/am335x_evm_nor_defconfig
/openbmc/u-boot/configs/am335x_evm_norboot_defconfig
/openbmc/u-boot/configs/am335x_evm_spiboot_defconfig
/openbmc/u-boot/configs/am335x_evm_usbspl_defconfig
/openbmc/u-boot/configs/am335x_hs_evm_defconfig
/openbmc/u-boot/configs/am43xx_evm_defconfig
/openbmc/u-boot/configs/am43xx_evm_ethboot_defconfig
/openbmc/u-boot/configs/am43xx_evm_qspiboot_defconfig
/openbmc/u-boot/configs/am43xx_evm_usbhost_boot_defconfig
/openbmc/u-boot/configs/am43xx_hs_evm_defconfig
/openbmc/u-boot/configs/am57xx_evm_defconfig
/openbmc/u-boot/configs/am57xx_evm_nodt_defconfig
/openbmc/u-boot/configs/am57xx_hs_evm_defconfig
/openbmc/u-boot/configs/apalis-tk1_defconfig
/openbmc/u-boot/configs/apalis_imx6_defconfig
/openbmc/u-boot/configs/apalis_imx6_nospl_com_defconfig
/openbmc/u-boot/configs/apalis_imx6_nospl_it_defconfig
/openbmc/u-boot/configs/apalis_t30_defconfig
/openbmc/u-boot/configs/bananapi_m1_plus_defconfig
/openbmc/u-boot/configs/bcm11130_defconfig
/openbmc/u-boot/configs/bcm11130_nand_defconfig
/openbmc/u-boot/configs/bcm23550_w1d_defconfig
/openbmc/u-boot/configs/bcm28155_ap_defconfig
/openbmc/u-boot/configs/bcm28155_w1d_defconfig
/openbmc/u-boot/configs/beaver_defconfig
/openbmc/u-boot/configs/birdland_bav335a_defconfig
/openbmc/u-boot/configs/birdland_bav335b_defconfig
/openbmc/u-boot/configs/cei-tk1-som_defconfig
/openbmc/u-boot/configs/cgtqmx6eval_defconfig
/openbmc/u-boot/configs/chromebit_mickey_defconfig
/openbmc/u-boot/configs/chromebook_jerry_defconfig
/openbmc/u-boot/configs/chromebook_minnie_defconfig
/openbmc/u-boot/configs/colibri_imx6_defconfig
/openbmc/u-boot/configs/colibri_imx6_nospl_defconfig
/openbmc/u-boot/configs/colibri_imx7_defconfig
/openbmc/u-boot/configs/colibri_t20_defconfig
/openbmc/u-boot/configs/colibri_t30_defconfig
/openbmc/u-boot/configs/colibri_vf_defconfig
/openbmc/u-boot/configs/corvus_defconfig
/openbmc/u-boot/configs/dalmore_defconfig
/openbmc/u-boot/configs/dms-ba16-1g_defconfig
/openbmc/u-boot/configs/dms-ba16_defconfig
/openbmc/u-boot/configs/dra7xx_evm_defconfig
/openbmc/u-boot/configs/dra7xx_hs_evm_defconfig
/openbmc/u-boot/configs/draco_defconfig
/openbmc/u-boot/configs/e2220-1170_defconfig
/openbmc/u-boot/configs/edison_defconfig
/openbmc/u-boot/configs/etamin_defconfig
/openbmc/u-boot/configs/evb-rk3036_defconfig
/openbmc/u-boot/configs/evb-rk3229_defconfig
/openbmc/u-boot/configs/evb-rk3288_defconfig
/openbmc/u-boot/configs/evb-rk3328_defconfig
/openbmc/u-boot/configs/evb-rv1108_defconfig
/openbmc/u-boot/configs/fennec-rk3288_defconfig
/openbmc/u-boot/configs/firefly-rk3288_defconfig
/openbmc/u-boot/configs/gwventana_emmc_defconfig
/openbmc/u-boot/configs/gwventana_gw5904_defconfig
/openbmc/u-boot/configs/gwventana_nand_defconfig
/openbmc/u-boot/configs/h2200_defconfig
/openbmc/u-boot/configs/jetson-tk1_defconfig
/openbmc/u-boot/configs/k2e_evm_defconfig
/openbmc/u-boot/configs/k2g_evm_defconfig
/openbmc/u-boot/configs/k2hk_evm_defconfig
/openbmc/u-boot/configs/k2l_evm_defconfig
/openbmc/u-boot/configs/kc1_defconfig
/openbmc/u-boot/configs/kylin-rk3036_defconfig
/openbmc/u-boot/configs/ma5d4evk_defconfig
/openbmc/u-boot/configs/miqi-rk3288_defconfig
/openbmc/u-boot/configs/mx6qsabrelite_defconfig
/openbmc/u-boot/configs/mx6sabreauto_defconfig
/openbmc/u-boot/configs/mx6sabresd_defconfig
/openbmc/u-boot/configs/mx7dsabresd_defconfig
/openbmc/u-boot/configs/mx7dsabresd_secure_defconfig
/openbmc/u-boot/configs/nitrogen6dl2g_defconfig
/openbmc/u-boot/configs/nitrogen6dl_defconfig
/openbmc/u-boot/configs/nitrogen6q2g_defconfig
/openbmc/u-boot/configs/nitrogen6q_defconfig
/openbmc/u-boot/configs/nitrogen6s1g_defconfig
/openbmc/u-boot/configs/nitrogen6s_defconfig
/openbmc/u-boot/configs/novena_defconfig
/openbmc/u-boot/configs/nyan-big_defconfig
/openbmc/u-boot/configs/odroid-xu3_defconfig
/openbmc/u-boot/configs/odroid_defconfig
/openbmc/u-boot/configs/omap3_beagle_defconfig
/openbmc/u-boot/configs/omap3_evm_defconfig
/openbmc/u-boot/configs/omap3_logic_defconfig
/openbmc/u-boot/configs/omap5_uevm_defconfig
/openbmc/u-boot/configs/opos6uldev_defconfig
/openbmc/u-boot/configs/origen_defconfig
/openbmc/u-boot/configs/p2371-0000_defconfig
/openbmc/u-boot/configs/p2371-2180_defconfig
/openbmc/u-boot/configs/p2571_defconfig
/openbmc/u-boot/configs/parrot_r16_defconfig
/openbmc/u-boot/configs/pcm051_rev1_defconfig
/openbmc/u-boot/configs/pcm051_rev3_defconfig
/openbmc/u-boot/configs/phycore-rk3288_defconfig
/openbmc/u-boot/configs/pico-imx6ul_defconfig
/openbmc/u-boot/configs/pico-imx7d_defconfig
/openbmc/u-boot/configs/popmetal-rk3288_defconfig
/openbmc/u-boot/configs/pxm2_defconfig
/openbmc/u-boot/configs/rastaban_defconfig
/openbmc/u-boot/configs/rock2_defconfig
/openbmc/u-boot/configs/rock_defconfig
/openbmc/u-boot/configs/rut_defconfig
/openbmc/u-boot/configs/s5p_goni_defconfig
/openbmc/u-boot/configs/s5pc210_universal_defconfig
/openbmc/u-boot/configs/sama5d2_ptc_nandflash_defconfig
/openbmc/u-boot/configs/sama5d2_ptc_spiflash_defconfig
/openbmc/u-boot/configs/sansa_fuze_plus_defconfig
/openbmc/u-boot/configs/smartweb_defconfig
/openbmc/u-boot/configs/sniper_defconfig
/openbmc/u-boot/configs/socfpga_arria5_defconfig
/openbmc/u-boot/configs/socfpga_cyclone5_defconfig
/openbmc/u-boot/configs/socfpga_de0_nano_soc_defconfig
/openbmc/u-boot/configs/socfpga_de10_nano_defconfig
/openbmc/u-boot/configs/socfpga_mcvevk_defconfig
/openbmc/u-boot/configs/socfpga_sockit_defconfig
/openbmc/u-boot/configs/socfpga_socrates_defconfig
/openbmc/u-boot/configs/socfpga_vining_fpga_defconfig
/openbmc/u-boot/configs/stih410-b2260_defconfig
/openbmc/u-boot/configs/taurus_defconfig
/openbmc/u-boot/configs/tbs2910_defconfig
/openbmc/u-boot/configs/thuban_defconfig
/openbmc/u-boot/configs/tinker-rk3288_defconfig
/openbmc/u-boot/configs/topic_miami_defconfig
/openbmc/u-boot/configs/topic_miamilite_defconfig
/openbmc/u-boot/configs/topic_miamiplus_defconfig
/openbmc/u-boot/configs/trats2_defconfig
/openbmc/u-boot/configs/trats_defconfig
/openbmc/u-boot/configs/venice2_defconfig
/openbmc/u-boot/configs/vinco_defconfig
/openbmc/u-boot/configs/warp7_defconfig
/openbmc/u-boot/configs/warp7_secure_defconfig
/openbmc/u-boot/configs/warp_defconfig
/openbmc/u-boot/configs/xfi3_defconfig
/openbmc/u-boot/configs/xilinx_zynqmp_ep_defconfig
/openbmc/u-boot/configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig
/openbmc/u-boot/configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig
/openbmc/u-boot/configs/xilinx_zynqmp_zcu102_revA_defconfig
/openbmc/u-boot/configs/xilinx_zynqmp_zcu102_revB_defconfig
/openbmc/u-boot/configs/zynq_microzed_defconfig
/openbmc/u-boot/configs/zynq_picozed_defconfig
/openbmc/u-boot/configs/zynq_z_turn_defconfig
/openbmc/u-boot/configs/zynq_zc702_defconfig
/openbmc/u-boot/configs/zynq_zc706_defconfig
/openbmc/u-boot/configs/zynq_zed_defconfig
/openbmc/u-boot/configs/zynq_zybo_defconfig
/openbmc/u-boot/disk/part_dos.c
/openbmc/u-boot/doc/README.android-fastboot
/openbmc/u-boot/doc/README.multi-dtb-fit
/openbmc/u-boot/drivers/usb/gadget/Kconfig
/openbmc/u-boot/drivers/usb/gadget/ether.c
/openbmc/u-boot/drivers/usb/gadget/g_dnl.c
/openbmc/u-boot/drivers/usb/musb-new/sunxi.c
/openbmc/u-boot/dts/Kconfig
/openbmc/u-boot/include/configs/am335x_evm.h
/openbmc/u-boot/include/configs/am3517_evm.h
/openbmc/u-boot/include/configs/am43xx_evm.h
/openbmc/u-boot/include/configs/am57xx_evm.h
/openbmc/u-boot/include/configs/baltos.h
/openbmc/u-boot/include/configs/dra7xx_evm.h
/openbmc/u-boot/include/configs/edison.h
/openbmc/u-boot/include/configs/gw_ventana.h
/openbmc/u-boot/include/configs/h2200.h
/openbmc/u-boot/include/configs/ma5d4evk.h
/openbmc/u-boot/include/configs/nitrogen6x.h
/openbmc/u-boot/include/configs/novena.h
/openbmc/u-boot/include/configs/odroid.h
/openbmc/u-boot/include/configs/odroid_xu3.h
/openbmc/u-boot/include/configs/omap3_beagle.h
/openbmc/u-boot/include/configs/omap3_evm.h
/openbmc/u-boot/include/configs/omap3_logic.h
/openbmc/u-boot/include/configs/pcm051.h
/openbmc/u-boot/include/configs/rockchip-common.h
/openbmc/u-boot/include/configs/sama5d2_ptc.h
/openbmc/u-boot/include/configs/sansa_fuze_plus.h
/openbmc/u-boot/include/configs/siemens-am33x-common.h
/openbmc/u-boot/include/configs/sunxi-common.h
/openbmc/u-boot/include/configs/tao3530.h
/openbmc/u-boot/include/configs/trats.h
/openbmc/u-boot/include/configs/trats2.h
/openbmc/u-boot/include/configs/vinco.h
/openbmc/u-boot/include/configs/warp7.h
/openbmc/u-boot/include/configs/xfi3.h
/openbmc/u-boot/include/configs/xilinx_zynqmp.h
/openbmc/u-boot/include/dt-bindings/clock/sun8i-a23-a33-ccu.h
/openbmc/u-boot/include/dt-bindings/reset/sun8i-a23-a33-ccu.h
/openbmc/u-boot/include/linux/kernel.h
/openbmc/u-boot/lib/fdtdec.c
/openbmc/u-boot/scripts/config_whitelist.txt
6a3e65de04-Oct-2017 Tom Rini <trini@konsulko.com>

common: Drop LOGLEVEL to 4

While this came in with a default value of 6 I am lowering this to 4.
The MTD/UBI code has a large number of error messages that we include
now. In addition, "normally" w

common: Drop LOGLEVEL to 4

While this came in with a default value of 6 I am lowering this to 4.
The MTD/UBI code has a large number of error messages that we include
now. In addition, "normally" warning messages are not included so this
feels like a more natural level to have.

Signed-off-by: Tom Rini <trini@konsulko.com>

show more ...

9b643e3116-Sep-2017 Masahiro Yamada <yamada.masahiro@socionext.com>

treewide: replace with error() with pr_err()

U-Boot widely uses error() as a bit noisier variant of printf().

This macro causes name conflict with the following line in
include/linux/compiler-gcc.h

treewide: replace with error() with pr_err()

U-Boot widely uses error() as a bit noisier variant of printf().

This macro causes name conflict with the following line in
include/linux/compiler-gcc.h:

# define __compiletime_error(message) __attribute__((error(message)))

This prevents us from using __compiletime_error(), and makes it
difficult to fully sync BUILD_BUG macros with Linux. (Notice
Linux's BUILD_BUG_ON_MSG is implemented by using compiletime_assert().)

Let's convert error() into now treewide-available pr_err().

Done with the help of Coccinelle, excluing tools/ directory.

The semantic patch I used is as follows:

// <smpl>
@@@@
-error
+pr_err
(...)
// </smpl>

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
[trini: Re-run Coccinelle]
Signed-off-by: Tom Rini <trini@konsulko.com>

show more ...


/openbmc/u-boot/arch/arm/mach-omap2/am33xx/board.c
/openbmc/u-boot/arch/arm/mach-omap2/utils.c
/openbmc/u-boot/arch/arm/mach-rockchip/rk3188-board-spl.c
/openbmc/u-boot/arch/arm/mach-rockchip/rk3188-board.c
/openbmc/u-boot/arch/arm/mach-rockchip/rk3368-board-spl.c
/openbmc/u-boot/arch/arm/mach-socfpga/reset_manager_arria10.c
/openbmc/u-boot/arch/arm/mach-tegra/ivc.c
/openbmc/u-boot/arch/arm/mach-tegra/tegra124/xusb-padctl.c
/openbmc/u-boot/arch/arm/mach-tegra/tegra186/nvtboot_mem.c
/openbmc/u-boot/arch/arm/mach-tegra/tegra20/clock.c
/openbmc/u-boot/arch/arm/mach-tegra/tegra210/xusb-padctl.c
/openbmc/u-boot/arch/arm/mach-tegra/tegra30/clock.c
/openbmc/u-boot/arch/arm/mach-tegra/xusb-padctl-common.c
/openbmc/u-boot/arch/x86/cpu/tangier/sdram.c
/openbmc/u-boot/board/nvidia/jetson-tk1/jetson-tk1.c
/openbmc/u-boot/board/samsung/common/exynos5-dt.c
/openbmc/u-boot/board/samsung/common/misc.c
/openbmc/u-boot/board/samsung/goni/goni.c
/openbmc/u-boot/board/samsung/odroid/odroid.c
/openbmc/u-boot/cmd/fastboot.c
/openbmc/u-boot/cmd/nvedit.c
/openbmc/u-boot/cmd/regulator.c
/openbmc/u-boot/cmd/thordown.c
/openbmc/u-boot/cmd/tpm_test.c
/openbmc/u-boot/cmd/usb_gadget_sdp.c
/openbmc/u-boot/cmd/usb_mass_storage.c
dfu.c
fb_mmc.c
fb_nand.c
spl/spl_dfu.c
spl/spl_sdp.c
update.c
/openbmc/u-boot/disk/part_efi.c
/openbmc/u-boot/drivers/adc/adc-uclass.c
/openbmc/u-boot/drivers/adc/exynos-adc.c
/openbmc/u-boot/drivers/adc/rockchip-saradc.c
/openbmc/u-boot/drivers/adc/sandbox.c
/openbmc/u-boot/drivers/ata/dwc_ahci.c
/openbmc/u-boot/drivers/clk/clk_boston.c
/openbmc/u-boot/drivers/clk/clk_stm32f7.c
/openbmc/u-boot/drivers/clk/clk_stm32h7.c
/openbmc/u-boot/drivers/clk/rockchip/clk_rk3368.c
/openbmc/u-boot/drivers/clk/rockchip/clk_rk3399.c
/openbmc/u-boot/drivers/clk/rockchip/clk_rv1108.c
/openbmc/u-boot/drivers/dfu/dfu.c
/openbmc/u-boot/drivers/dfu/dfu_mmc.c
/openbmc/u-boot/drivers/dfu/dfu_ram.c
/openbmc/u-boot/drivers/dfu/dfu_tftp.c
/openbmc/u-boot/drivers/dma/dma-uclass.c
/openbmc/u-boot/drivers/dma/lpc32xx_dma.c
/openbmc/u-boot/drivers/dma/ti-edma3.c
/openbmc/u-boot/drivers/i2c/i2c-gpio.c
/openbmc/u-boot/drivers/i2c/omap24xx_i2c.c
/openbmc/u-boot/drivers/i2c/stm32f7_i2c.c
/openbmc/u-boot/drivers/i2c/tegra_i2c.c
/openbmc/u-boot/drivers/misc/tegra186_bpmp.c
/openbmc/u-boot/drivers/mmc/exynos_dw_mmc.c
/openbmc/u-boot/drivers/mmc/hi6220_dw_mmc.c
/openbmc/u-boot/drivers/mmc/sti_sdhci.c
/openbmc/u-boot/drivers/mmc/stm32_sdmmc2.c
/openbmc/u-boot/drivers/mmc/xenon_sdhci.c
/openbmc/u-boot/drivers/mtd/nand/lpc32xx_nand_mlc.c
/openbmc/u-boot/drivers/mtd/nand/pxa3xx_nand.c
/openbmc/u-boot/drivers/net/bcm-sf2-eth-gmac.c
/openbmc/u-boot/drivers/net/bcm-sf2-eth.c
/openbmc/u-boot/drivers/net/cpsw-common.c
/openbmc/u-boot/drivers/net/cpsw.c
/openbmc/u-boot/drivers/net/dwc_eth_qos.c
/openbmc/u-boot/drivers/net/ep93xx_eth.c
/openbmc/u-boot/drivers/net/keystone_net.c
/openbmc/u-boot/drivers/pci/pci_tegra.c
/openbmc/u-boot/drivers/pci/pcie_xilinx.c
/openbmc/u-boot/drivers/phy/marvell/comphy_cp110.c
/openbmc/u-boot/drivers/phy/sti_usb_phy.c
/openbmc/u-boot/drivers/phy/ti-pipe3-phy.c
/openbmc/u-boot/drivers/pinctrl/mvebu/pinctrl-armada-37xx.c
/openbmc/u-boot/drivers/pinctrl/pinctrl-sti.c
/openbmc/u-boot/drivers/pinctrl/pinctrl_stm32.c
/openbmc/u-boot/drivers/power/pmic/as3722.c
/openbmc/u-boot/drivers/power/pmic/as3722_gpio.c
/openbmc/u-boot/drivers/power/pmic/i2c_pmic_emul.c
/openbmc/u-boot/drivers/power/pmic/lp873x.c
/openbmc/u-boot/drivers/power/pmic/lp87565.c
/openbmc/u-boot/drivers/power/pmic/max77686.c
/openbmc/u-boot/drivers/power/pmic/max8997.c
/openbmc/u-boot/drivers/power/pmic/max8998.c
/openbmc/u-boot/drivers/power/pmic/palmas.c
/openbmc/u-boot/drivers/power/pmic/pfuze100.c
/openbmc/u-boot/drivers/power/pmic/s2mps11.c
/openbmc/u-boot/drivers/power/pmic/s5m8767.c
/openbmc/u-boot/drivers/power/pmic/sandbox.c
/openbmc/u-boot/drivers/power/pmic/tps65090.c
/openbmc/u-boot/drivers/power/regulator/fixed.c
/openbmc/u-boot/drivers/power/regulator/gpio-regulator.c
/openbmc/u-boot/drivers/power/regulator/max77686.c
/openbmc/u-boot/drivers/power/regulator/pbias_regulator.c
/openbmc/u-boot/drivers/power/regulator/sandbox.c
/openbmc/u-boot/drivers/ram/rockchip/dmc-rk3368.c
/openbmc/u-boot/drivers/ram/rockchip/sdram_rk3399.c
/openbmc/u-boot/drivers/ram/stm32_sdram.c
/openbmc/u-boot/drivers/reset/sti-reset.c
/openbmc/u-boot/drivers/spi/atmel_spi.c
/openbmc/u-boot/drivers/spi/lpc32xx_ssp.c
/openbmc/u-boot/drivers/sysreset/sysreset_sti.c
/openbmc/u-boot/drivers/sysreset/sysreset_syscon.c
/openbmc/u-boot/drivers/sysreset/sysreset_watchdog.c
/openbmc/u-boot/drivers/tpm/tpm_tis_infineon.c
/openbmc/u-boot/drivers/usb/common/common.c
/openbmc/u-boot/drivers/usb/eth/mcs7830.c
/openbmc/u-boot/drivers/usb/gadget/at91_udc.c
/openbmc/u-boot/drivers/usb/gadget/atmel_usba_udc.c
/openbmc/u-boot/drivers/usb/gadget/dwc2_udc_otg.c
/openbmc/u-boot/drivers/usb/gadget/ether.c
/openbmc/u-boot/drivers/usb/gadget/f_fastboot.c
/openbmc/u-boot/drivers/usb/gadget/f_sdp.c
/openbmc/u-boot/drivers/usb/gadget/f_thor.c
/openbmc/u-boot/drivers/usb/host/dwc2.c
/openbmc/u-boot/drivers/usb/host/dwc3-sti-glue.c
/openbmc/u-boot/drivers/usb/host/ehci-generic.c
/openbmc/u-boot/drivers/usb/host/ohci-generic.c
/openbmc/u-boot/drivers/usb/host/xhci-dwc3.c
/openbmc/u-boot/drivers/usb/host/xhci-rockchip.c
/openbmc/u-boot/drivers/usb/musb-new/ti-musb.c
/openbmc/u-boot/drivers/video/am335x-fb.c
/openbmc/u-boot/env/common.c
/openbmc/u-boot/env/sf.c
/openbmc/u-boot/fs/jffs2/jffs2_nand_1pass.c
/openbmc/u-boot/fs/yaffs2/yaffs_uboot_glue.c
b44b302616-Sep-2017 Masahiro Yamada <yamada.masahiro@socionext.com>

printk: collect printk stuff into <linux/printk.h> with loglevel support

When we import code from Linux, with regular re-sync planned, we want
to use printk() and pr_*(). U-Boot does not support th

printk: collect printk stuff into <linux/printk.h> with loglevel support

When we import code from Linux, with regular re-sync planned, we want
to use printk() and pr_*(). U-Boot does not support them in a clean
way. So, people end up with local macros, or compat headers here and
there, then we occasionally see build errors of definition conflicts.

We have include/linux/compat.h, but putting all sorts of unrelated
things into a single header is just a temporal workaround. Hence this
patch, to find the best home for all printk variants. If you want to
use printk() and friends, please include <linux/printk.h>. This header
is self-contained, and pulls in only a few headers.

When I was testing this clean-up, I noticed the image size exceeded
its platform limit on some boards. This is because all pr_*() that
were previously defined as no-op in include/linux/mtd/mtd.h (unless
CONFIG_MTD_DEBUG is set), are now enabled.

To make such boards happy, this commit also implements CONFIG_LOGLEVEL.
The concept is similar to the kernel parameter "loglevel". (Actually,
the Kconfig help message was taken from kernel-paremeter.txt of Linux)
Messages with a loglevel smaller than console loglevel will be printed.

The difference is the loglevel is build-time determined. To save the
image size, lower priority pr_*() are compiled out. I set the default
of CONFIG_LOGLEVEL to 6, i.e. pr_notice and higher priority messages
are compiled in.

I adjusted CONFIG_LOGLEVEL to avoid build error for some boards.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
[trini: Add in SPL_LOGLEVEL that is the same as LOGLEVEL]
Signed-off-by: Tom Rini <trini@konsulko.com>

show more ...


/openbmc/u-boot/Makefile
/openbmc/u-boot/arch/arc/include/asm/io.h
/openbmc/u-boot/arch/arm/include/asm/io.h
/openbmc/u-boot/arch/arm/mach-uniphier/dram_init.c
/openbmc/u-boot/arch/arm/mach-uniphier/init.h
/openbmc/u-boot/arch/m68k/include/asm/io.h
/openbmc/u-boot/arch/microblaze/include/asm/io.h
/openbmc/u-boot/arch/mips/include/asm/io.h
/openbmc/u-boot/arch/nds32/include/asm/io.h
/openbmc/u-boot/arch/nios2/include/asm/io.h
/openbmc/u-boot/arch/powerpc/include/asm/io.h
/openbmc/u-boot/arch/sandbox/cpu/cpu.c
/openbmc/u-boot/arch/sandbox/include/asm/io.h
/openbmc/u-boot/arch/sh/include/asm/io.h
/openbmc/u-boot/arch/x86/include/asm/io.h
/openbmc/u-boot/arch/xtensa/include/asm/io.h
/openbmc/u-boot/cmd/Kconfig
/openbmc/u-boot/cmd/Makefile
/openbmc/u-boot/cmd/btrfs.c
Kconfig
/openbmc/u-boot/configs/axm_defconfig
/openbmc/u-boot/configs/colibri_vf_defconfig
/openbmc/u-boot/configs/corvus_defconfig
/openbmc/u-boot/configs/omapl138_lcdk_defconfig
/openbmc/u-boot/configs/openrd_base_defconfig
/openbmc/u-boot/configs/openrd_client_defconfig
/openbmc/u-boot/configs/openrd_ultimate_defconfig
/openbmc/u-boot/configs/sandbox_defconfig
/openbmc/u-boot/configs/taurus_defconfig
/openbmc/u-boot/configs/turris_omnia_defconfig
/openbmc/u-boot/configs/vf610twr_defconfig
/openbmc/u-boot/configs/vf610twr_nand_defconfig
/openbmc/u-boot/drivers/bios_emulator/include/x86emu/x86emui.h
/openbmc/u-boot/drivers/usb/dwc3/linux-compat.h
/openbmc/u-boot/drivers/usb/musb-new/linux-compat.h
/openbmc/u-boot/fs/Kconfig
/openbmc/u-boot/fs/Makefile
/openbmc/u-boot/fs/btrfs/Kconfig
/openbmc/u-boot/fs/btrfs/Makefile
/openbmc/u-boot/fs/btrfs/btrfs.c
/openbmc/u-boot/fs/btrfs/btrfs.h
/openbmc/u-boot/fs/btrfs/btrfs_tree.h
/openbmc/u-boot/fs/btrfs/chunk-map.c
/openbmc/u-boot/fs/btrfs/compression.c
/openbmc/u-boot/fs/btrfs/conv-funcs.h
/openbmc/u-boot/fs/btrfs/ctree.c
/openbmc/u-boot/fs/btrfs/ctree.h
/openbmc/u-boot/fs/btrfs/dev.c
/openbmc/u-boot/fs/btrfs/dir-item.c
/openbmc/u-boot/fs/btrfs/extent-io.c
/openbmc/u-boot/fs/btrfs/hash.c
/openbmc/u-boot/fs/btrfs/inode.c
/openbmc/u-boot/fs/btrfs/root.c
/openbmc/u-boot/fs/btrfs/subvolume.c
/openbmc/u-boot/fs/btrfs/super.c
/openbmc/u-boot/fs/ext4/dev.c
/openbmc/u-boot/fs/fs.c
/openbmc/u-boot/fs/fs_internal.c
/openbmc/u-boot/fs/reiserfs/dev.c
/openbmc/u-boot/fs/zfs/dev.c
/openbmc/u-boot/include/asm-generic/io.h
/openbmc/u-boot/include/btrfs.h
/openbmc/u-boot/include/common.h
/openbmc/u-boot/include/fs.h
/openbmc/u-boot/include/fs_internal.h
/openbmc/u-boot/include/linux/compat.h
/openbmc/u-boot/include/linux/mtd/mtd.h
/openbmc/u-boot/include/linux/printk.h
/openbmc/u-boot/include/stdio.h
/openbmc/u-boot/include/u-boot/crc.h
/openbmc/u-boot/include/u-boot/variadic-macro.h
/openbmc/u-boot/lib/Kconfig
/openbmc/u-boot/lib/Makefile
/openbmc/u-boot/lib/crc32c.c
/openbmc/u-boot/scripts/dtc/.gitignore
4d1c166f01-Oct-2017 Tom Rini <trini@konsulko.com>

Merge git://git.denx.de/u-boot-usb


/openbmc/u-boot/MAINTAINERS
/openbmc/u-boot/arch/arm/Kconfig
/openbmc/u-boot/arch/arm/dts/am3517-evm-u-boot.dtsi
/openbmc/u-boot/arch/arm/dts/am3517-evm.dts
/openbmc/u-boot/arch/arm/dts/am3517-u-boot.dtsi
/openbmc/u-boot/arch/arm/dts/am3517.dtsi
/openbmc/u-boot/arch/arm/dts/am35xx-clocks.dtsi
/openbmc/u-boot/arch/arm/dts/omap3.dtsi
/openbmc/u-boot/arch/arm/dts/omap5-u-boot.dtsi
/openbmc/u-boot/arch/arm/dts/rk3229-evb.dts
/openbmc/u-boot/arch/arm/dts/rk3288-popmetal.dtsi
/openbmc/u-boot/arch/arm/dts/rk3328-evb.dts
/openbmc/u-boot/arch/arm/dts/rk3368-px5-evb.dts
/openbmc/u-boot/arch/arm/dts/rk3368-sheep.dts
/openbmc/u-boot/arch/arm/dts/rk3399-evb.dts
/openbmc/u-boot/arch/arm/dts/rk3399-puma.dtsi
/openbmc/u-boot/arch/arm/dts/rv1108-evb.dts
/openbmc/u-boot/arch/arm/dts/rv1108.dtsi
/openbmc/u-boot/arch/arm/include/asm/arch-rockchip/bootrom.h
/openbmc/u-boot/arch/arm/include/asm/arch-rockchip/cru_rk3368.h
/openbmc/u-boot/arch/arm/include/asm/arch-rockchip/cru_rv1108.h
/openbmc/u-boot/arch/arm/include/asm/arch-rockchip/grf_rk3036.h
/openbmc/u-boot/arch/arm/include/asm/arch-rockchip/sdram_rk322x.h
/openbmc/u-boot/arch/arm/include/asm/arch-rockchip/sys_proto.h
/openbmc/u-boot/arch/arm/include/asm/armv7.h
/openbmc/u-boot/arch/arm/mach-omap2/omap3/Kconfig
/openbmc/u-boot/arch/arm/mach-omap2/sec-common.c
/openbmc/u-boot/arch/arm/mach-rockchip/Makefile
/openbmc/u-boot/arch/arm/mach-rockchip/rk3188/Makefile
/openbmc/u-boot/arch/arm/mach-rockchip/rk322x-board.c
/openbmc/u-boot/arch/arm/mach-rockchip/rk3288-board-spl.c
/openbmc/u-boot/arch/arm/mach-rockchip/rk3288-board-tpl.c
/openbmc/u-boot/arch/arm/mach-rockchip/rk3288/Kconfig
/openbmc/u-boot/arch/arm/mach-rockchip/rk3288/Makefile
/openbmc/u-boot/arch/arm/mach-rockchip/rk3328/Makefile
/openbmc/u-boot/arch/arm/mach-rockchip/rk3399-board-spl.c
/openbmc/u-boot/arch/arm/mach-rockchip/rk3399/Makefile
/openbmc/u-boot/arch/arm/mach-rockchip/spl-boot-order.c
/openbmc/u-boot/board/amarula/vyasa-rk3288/vyasa-rk3288.c
/openbmc/u-boot/board/logicpd/am3517evm/am3517evm.c
/openbmc/u-boot/board/rockchip/evb_rk3399/evb-rk3399.c
/openbmc/u-boot/board/theobroma-systems/lion_rk3368/fit_spl_atf.its
/openbmc/u-boot/board/theobroma-systems/puma_rk3399/puma-rk3399.c
/openbmc/u-boot/cmd/Kconfig
/openbmc/u-boot/cmd/bootefi.c
usb.c
usb_hub.c
usb_storage.c
/openbmc/u-boot/configs/am335x_hs_evm_uart_defconfig
/openbmc/u-boot/configs/am3517_evm_defconfig
/openbmc/u-boot/configs/evb-rk3328_defconfig
/openbmc/u-boot/configs/lion-rk3368_defconfig
/openbmc/u-boot/configs/puma-rk3399_defconfig
/openbmc/u-boot/configs/vyasa-rk3288_defconfig
/openbmc/u-boot/disk/part_dos.c
/openbmc/u-boot/disk/part_efi.c
/openbmc/u-boot/doc/README.rockchip
/openbmc/u-boot/doc/device-tree-bindings/chosen.txt
/openbmc/u-boot/drivers/adc/Kconfig
/openbmc/u-boot/drivers/adc/Makefile
/openbmc/u-boot/drivers/adc/rockchip-saradc.c
/openbmc/u-boot/drivers/clk/clk_stm32f7.c
/openbmc/u-boot/drivers/clk/rockchip/clk_rk322x.c
/openbmc/u-boot/drivers/clk/rockchip/clk_rk3288.c
/openbmc/u-boot/drivers/clk/rockchip/clk_rk3328.c
/openbmc/u-boot/drivers/clk/rockchip/clk_rk3368.c
/openbmc/u-boot/drivers/clk/rockchip/clk_rk3399.c
/openbmc/u-boot/drivers/clk/rockchip/clk_rv1108.c
/openbmc/u-boot/drivers/i2c/rk_i2c.c
/openbmc/u-boot/drivers/pinctrl/rockchip/pinctrl_rk3368.c
/openbmc/u-boot/drivers/power/regulator/Kconfig
/openbmc/u-boot/drivers/ram/rockchip/Makefile
/openbmc/u-boot/drivers/ram/rockchip/sdram_rk3188.c
/openbmc/u-boot/drivers/ram/rockchip/sdram_rk322x.c
/openbmc/u-boot/drivers/ram/rockchip/sdram_rk3288.c
/openbmc/u-boot/drivers/ram/rockchip/sdram_rk3328.c
/openbmc/u-boot/drivers/ram/rockchip/sdram_rk3399.c
/openbmc/u-boot/drivers/usb/dwc3/Kconfig
/openbmc/u-boot/drivers/usb/dwc3/Makefile
/openbmc/u-boot/drivers/usb/dwc3/dwc3-uniphier.c
/openbmc/u-boot/drivers/usb/emul/sandbox_flash.c
/openbmc/u-boot/drivers/usb/emul/sandbox_hub.c
/openbmc/u-boot/drivers/usb/emul/sandbox_keyb.c
/openbmc/u-boot/drivers/usb/emul/usb-emul-uclass.c
/openbmc/u-boot/drivers/usb/host/usb-sandbox.c
/openbmc/u-boot/drivers/usb/host/usb-uclass.c
/openbmc/u-boot/drivers/usb/host/xhci-mem.c
/openbmc/u-boot/drivers/usb/host/xhci.c
/openbmc/u-boot/drivers/usb/host/xhci.h
/openbmc/u-boot/include/asm-generic/sections.h
/openbmc/u-boot/include/blk.h
/openbmc/u-boot/include/config_distro_bootcmd.h
/openbmc/u-boot/include/configs/am3517_evm.h
/openbmc/u-boot/include/configs/am43xx_evm.h
/openbmc/u-boot/include/configs/am57xx_evm.h
/openbmc/u-boot/include/configs/dra7xx_evm.h
/openbmc/u-boot/include/configs/evb_rk3399.h
/openbmc/u-boot/include/configs/k2g_evm.h
/openbmc/u-boot/include/configs/rk3288_common.h
/openbmc/u-boot/include/configs/ti_armv7_keystone2.h
/openbmc/u-boot/include/configs/vyasa-rk3288.h
/openbmc/u-boot/include/dt-bindings/clock/rv1108-cru.h
/openbmc/u-boot/include/efi.h
/openbmc/u-boot/include/efi_api.h
/openbmc/u-boot/include/efi_loader.h
/openbmc/u-boot/include/efi_selftest.h
/openbmc/u-boot/include/environment/ti/boot.h
/openbmc/u-boot/include/linux/usb/ch9.h
/openbmc/u-boot/include/part.h
/openbmc/u-boot/include/part_efi.h
/openbmc/u-boot/include/pe.h
/openbmc/u-boot/include/usb.h
/openbmc/u-boot/lib/Makefile
/openbmc/u-boot/lib/efi_loader/Makefile
/openbmc/u-boot/lib/efi_loader/efi_bootmgr.c
/openbmc/u-boot/lib/efi_loader/efi_boottime.c
/openbmc/u-boot/lib/efi_loader/efi_console.c
/openbmc/u-boot/lib/efi_loader/efi_device_path.c
/openbmc/u-boot/lib/efi_loader/efi_device_path_to_text.c
/openbmc/u-boot/lib/efi_loader/efi_disk.c
/openbmc/u-boot/lib/efi_loader/efi_file.c
/openbmc/u-boot/lib/efi_loader/efi_image_loader.c
/openbmc/u-boot/lib/efi_loader/efi_memory.c
/openbmc/u-boot/lib/efi_loader/efi_net.c
/openbmc/u-boot/lib/efi_loader/efi_runtime.c
/openbmc/u-boot/lib/efi_loader/efi_variable.c
/openbmc/u-boot/lib/efi_selftest/Kconfig
/openbmc/u-boot/lib/efi_selftest/Makefile
/openbmc/u-boot/lib/efi_selftest/efi_selftest.c
/openbmc/u-boot/lib/efi_selftest/efi_selftest_console.c
/openbmc/u-boot/lib/efi_selftest/efi_selftest_events.c
/openbmc/u-boot/lib/efi_selftest/efi_selftest_exitbootservices.c
/openbmc/u-boot/lib/efi_selftest/efi_selftest_tpl.c
/openbmc/u-boot/scripts/Makefile.lib
/openbmc/u-boot/scripts/spelling.txt
/openbmc/u-boot/test/dm/usb.c
/openbmc/u-boot/test/py/README.md
/openbmc/u-boot/test/py/conftest.py
/openbmc/u-boot/test/py/multiplexed_log.py
/openbmc/u-boot/test/py/tests/test_dfu.py
/openbmc/u-boot/test/py/tests/test_efi_selftest.py
/openbmc/u-boot/test/py/tests/test_fit.py
/openbmc/u-boot/test/py/tests/test_gpt.py
/openbmc/u-boot/test/py/tests/test_vboot.py
/openbmc/u-boot/tools/buildman/kconfiglib.py
/openbmc/u-boot/tools/moveconfig.py
/openbmc/u-boot/tools/rkcommon.c
72ac8f3f27-Sep-2017 Bin Meng <bmeng.cn@gmail.com>

usb: storage: Fix overwritten in usb_stor_set_max_xfer_blk()

The stored 'blk' value is overwritten to 'size / 512' before it can
be used in usb_stor_set_max_xfer_blk(). This is not what we want.
In

usb: storage: Fix overwritten in usb_stor_set_max_xfer_blk()

The stored 'blk' value is overwritten to 'size / 512' before it can
be used in usb_stor_set_max_xfer_blk(). This is not what we want.
In fact, when 'size' exceeds the upper limit (USHRT_MAX * 512), we
should simply assign 'size' to the upper limit.

Reported-by: Coverity (CID: 167250)
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>

show more ...

061895fb18-Sep-2017 Bin Meng <bmeng.cn@gmail.com>

usb: hub: Clear BH reset status change for a 3.0 hub

USB 3.0 hubs report bit[5] in the port status change response as BH
reset. The hub shall set the C_BH_PORT_RESET field for this port.

Signed-off

usb: hub: Clear BH reset status change for a 3.0 hub

USB 3.0 hubs report bit[5] in the port status change response as BH
reset. The hub shall set the C_BH_PORT_RESET field for this port.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>

show more ...

b902035218-Sep-2017 Bin Meng <bmeng.cn@gmail.com>

usb: hub: Clear port reset before usb_hub_port_connect_change()

During usb_hub_port_connect_change(), a port reset set feature
request is issued to the port, and later a port reset clear feature
is

usb: hub: Clear port reset before usb_hub_port_connect_change()

During usb_hub_port_connect_change(), a port reset set feature
request is issued to the port, and later a port reset clear feature
is done to the same port before the function returns. However at
the end of usb_scan_port(), we attempt to clear port reset again
on a cached port status change variable, which should not be done.

Adjust the call to clear port reset to right before the call to
usb_hub_port_connect_change().

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>

show more ...

932bb66818-Sep-2017 Bin Meng <bmeng.cn@gmail.com>

usb: Read device descriptor after device is addressed for xHCI

For xHCI it is not possible to read a device descriptor before it
has been assigned an address. That's why usb_setup_descriptor()
was c

usb: Read device descriptor after device is addressed for xHCI

For xHCI it is not possible to read a device descriptor before it
has been assigned an address. That's why usb_setup_descriptor()
was called with 'do_read' being false. But we really need try to
read the device descriptor before starting any real communication
with the default control endpoint.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>

show more ...

c008faa718-Sep-2017 Bin Meng <bmeng.cn@gmail.com>

usb: Only get 64 bytes device descriptor for full speed devices

Full speed device endpoint 0 can have 8/16/32/64 bMaxPacketSize0.
Other speed devices report fixed value per USB spec. So it only
make

usb: Only get 64 bytes device descriptor for full speed devices

Full speed device endpoint 0 can have 8/16/32/64 bMaxPacketSize0.
Other speed devices report fixed value per USB spec. So it only
makes sense if we send a get device descriptor with 64 bytes to
full speed devices.

While we are here, update the comment block to be within 80 cols.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>

show more ...

2f0eb2ac18-Sep-2017 Bin Meng <bmeng.cn@gmail.com>

usb: Handle audio extension endpoint descriptor in usb_parse_config()

Normal endpoint descriptor size is 7, but for audio extension it is
9. Handle that correctly when parsing endpoint descriptor.

usb: Handle audio extension endpoint descriptor in usb_parse_config()

Normal endpoint descriptor size is 7, but for audio extension it is
9. Handle that correctly when parsing endpoint descriptor.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>

show more ...


usb.c
/openbmc/u-boot/configs/Cyrus_P5020_defconfig
/openbmc/u-boot/configs/Cyrus_P5040_defconfig
/openbmc/u-boot/configs/MPC8610HPCD_defconfig
/openbmc/u-boot/configs/MPC8641HPCN_36BIT_defconfig
/openbmc/u-boot/configs/MPC8641HPCN_defconfig
/openbmc/u-boot/configs/apalis_imx6_defconfig
/openbmc/u-boot/configs/apalis_imx6_nospl_com_defconfig
/openbmc/u-boot/configs/apalis_imx6_nospl_it_defconfig
/openbmc/u-boot/configs/colibri_imx6_defconfig
/openbmc/u-boot/configs/colibri_imx6_nospl_defconfig
/openbmc/u-boot/configs/firefly-rk3288_defconfig
/openbmc/u-boot/configs/mx6cuboxi_defconfig
/openbmc/u-boot/configs/rpi_2_defconfig
/openbmc/u-boot/configs/rpi_3_32b_defconfig
/openbmc/u-boot/configs/rpi_3_defconfig
/openbmc/u-boot/configs/rpi_defconfig
/openbmc/u-boot/configs/sandbox_defconfig
/openbmc/u-boot/configs/sandbox_flattree_defconfig
/openbmc/u-boot/configs/sandbox_noblk_defconfig
/openbmc/u-boot/configs/sandbox_spl_defconfig
/openbmc/u-boot/configs/seaboard_defconfig
/openbmc/u-boot/configs/ventana_defconfig
/openbmc/u-boot/drivers/usb/Kconfig
/openbmc/u-boot/drivers/usb/emul/sandbox_flash.c
/openbmc/u-boot/drivers/usb/emul/sandbox_hub.c
/openbmc/u-boot/drivers/usb/emul/sandbox_keyb.c
/openbmc/u-boot/drivers/usb/emul/usb-emul-uclass.c
/openbmc/u-boot/drivers/usb/gadget/dwc2_udc_otg_xfer_dma.c
/openbmc/u-boot/drivers/usb/host/dwc2.c
/openbmc/u-boot/drivers/usb/host/ehci-generic.c
/openbmc/u-boot/drivers/usb/host/usb-sandbox.c
/openbmc/u-boot/drivers/usb/host/usb-uclass.c
/openbmc/u-boot/drivers/usb/host/xhci-mem.c
/openbmc/u-boot/drivers/usb/host/xhci-rockchip.c
/openbmc/u-boot/include/usb.h
/openbmc/u-boot/test/dm/usb.c
ff6c312517-Sep-2017 Tom Rini <trini@konsulko.com>

TI: ARCH_OMAP2PLUS: Enable SPL_STACK_R and provide default value

On ARCH_OMAP2PLUS platforms we know what the DDR layout is going to be,
and that it is safe to use SPL_STACK_R and provide a default

TI: ARCH_OMAP2PLUS: Enable SPL_STACK_R and provide default value

On ARCH_OMAP2PLUS platforms we know what the DDR layout is going to be,
and that it is safe to use SPL_STACK_R and provide a default value for
it. select this and re-sync the defconfigs.

Signed-off-by: Tom Rini <trini@konsulko.com>

show more ...


/openbmc/u-boot/arch/arm/Kconfig
/openbmc/u-boot/arch/arm/dts/da850-evm-u-boot.dtsi
/openbmc/u-boot/arch/arm/dts/da850-evm.dts
/openbmc/u-boot/arch/arm/dts/da850.dtsi
/openbmc/u-boot/arch/arm/dts/tps6507x.dtsi
/openbmc/u-boot/arch/nds32/include/asm/io.h
/openbmc/u-boot/board/davinci/da8xxevm/Kconfig
/openbmc/u-boot/board/davinci/da8xxevm/da850evm.c
spl/Kconfig
/openbmc/u-boot/configs/am335x_baltos_defconfig
/openbmc/u-boot/configs/am335x_boneblack_defconfig
/openbmc/u-boot/configs/am335x_boneblack_vboot_defconfig
/openbmc/u-boot/configs/am335x_evm_defconfig
/openbmc/u-boot/configs/am335x_evm_nor_defconfig
/openbmc/u-boot/configs/am335x_evm_spiboot_defconfig
/openbmc/u-boot/configs/am335x_evm_usbspl_defconfig
/openbmc/u-boot/configs/am335x_hs_evm_defconfig
/openbmc/u-boot/configs/am335x_igep003x_defconfig
/openbmc/u-boot/configs/am335x_shc_defconfig
/openbmc/u-boot/configs/am335x_shc_ict_defconfig
/openbmc/u-boot/configs/am335x_shc_netboot_defconfig
/openbmc/u-boot/configs/am335x_shc_prompt_defconfig
/openbmc/u-boot/configs/am335x_shc_sdboot_defconfig
/openbmc/u-boot/configs/am335x_shc_sdboot_prompt_defconfig
/openbmc/u-boot/configs/am335x_sl50_defconfig
/openbmc/u-boot/configs/am43xx_evm_defconfig
/openbmc/u-boot/configs/am43xx_evm_usbhost_boot_defconfig
/openbmc/u-boot/configs/am43xx_hs_evm_defconfig
/openbmc/u-boot/configs/am57xx_evm_defconfig
/openbmc/u-boot/configs/am57xx_hs_evm_defconfig
/openbmc/u-boot/configs/chiliboard_defconfig
/openbmc/u-boot/configs/da850_am18xxevm_defconfig
/openbmc/u-boot/configs/da850evm_defconfig
/openbmc/u-boot/configs/da850evm_direct_nor_defconfig
/openbmc/u-boot/configs/dra7xx_evm_defconfig
/openbmc/u-boot/configs/dra7xx_hs_evm_defconfig
/openbmc/u-boot/configs/omap3_evm_defconfig
/openbmc/u-boot/configs/omap3_logic_defconfig
/openbmc/u-boot/configs/omap3_overo_defconfig
/openbmc/u-boot/configs/ti816x_evm_defconfig
/openbmc/u-boot/drivers/mmc/sdhci-cadence.c
/openbmc/u-boot/drivers/spi/davinci_spi.c
/openbmc/u-boot/include/configs/da850evm.h
b016b58518-Sep-2017 Seung-Woo Kim <sw0312.kim@samsung.com>

spl: spl_mmc: add __maybe_unused to mmc_load_image_raw_sector()

If there are no CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION,
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR and CONFIG_SPL_OS_BOOT,
th

spl: spl_mmc: add __maybe_unused to mmc_load_image_raw_sector()

If there are no CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION,
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR and CONFIG_SPL_OS_BOOT,
there is unused-function build warning. Add __maybe_unused macro
to remove the warning.

Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>

show more ...

ea7fad9107-Sep-2017 Bin Meng <bmeng.cn@gmail.com>

dm: usb: storage: Fix broken read/write when both EHCD and xHCD are enabled

When EHCD and xHCD are enabled at the same time, USB storage device
driver will fail to read/write from/to the storage dev

dm: usb: storage: Fix broken read/write when both EHCD and xHCD are enabled

When EHCD and xHCD are enabled at the same time, USB storage device
driver will fail to read/write from/to the storage device attached
to the xHCI interface, due to its transfer blocks exceeds the xHCD
driver limitation.

With driver model, we have an API to get the controller's maximum
transfer size and we can use that to determine the storage driver's
capability of read/write.

Note: the non-DM version driver is still broken with xHCD and the
intent here is not to fix the non-DM one, since the xHCD itself is
already broken in places like 3.0 hub support, etc.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>

show more ...

6158d0b407-Sep-2017 Bin Meng <bmeng.cn@gmail.com>

usb: storage: Refactor to use max_xfer_blk from struct us_data

This adds a new memeber max_xfer_blk in struct us_data to record
the maximum number of transfer blocks for the storage device.

It is s

usb: storage: Refactor to use max_xfer_blk from struct us_data

This adds a new memeber max_xfer_blk in struct us_data to record
the maximum number of transfer blocks for the storage device.

It is set per HCD setting, and so far is to 65535 for EHCD and 20
for everything else.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>

show more ...


/openbmc/u-boot/.travis.yml
/openbmc/u-boot/Makefile
/openbmc/u-boot/arch/arm/cpu/armv8/fsl-layerscape/soc.c
/openbmc/u-boot/arch/arm/dts/fsl-ls2081a-rdb.dts
/openbmc/u-boot/arch/arm/include/asm/arch-fsl-layerscape/cpu.h
/openbmc/u-boot/arch/arm/mach-mvebu/cpu.c
/openbmc/u-boot/arch/arm/mach-mvebu/dram.c
/openbmc/u-boot/arch/arm/mach-mvebu/include/mach/config.h
/openbmc/u-boot/arch/arm/mach-mvebu/include/mach/cpu.h
/openbmc/u-boot/arch/arm/mach-mvebu/include/mach/soc.h
/openbmc/u-boot/arch/arm/mach-mvebu/spl.c
/openbmc/u-boot/arch/arm/mach-socfpga/misc_gen5.c
/openbmc/u-boot/board/freescale/ls2080ardb/ls2080ardb.c
/openbmc/u-boot/board/solidrun/clearfog/README
/openbmc/u-boot/board/theadorable/MAINTAINERS
/openbmc/u-boot/cmd/gpt.c
usb_storage.c
/openbmc/u-boot/configs/clearfog_defconfig
/openbmc/u-boot/configs/controlcenterdc_defconfig
/openbmc/u-boot/configs/db-88f6820-amc_defconfig
/openbmc/u-boot/configs/db-88f6820-gp_defconfig
/openbmc/u-boot/configs/db-mv784mp-gp_defconfig
/openbmc/u-boot/configs/ds414_defconfig
/openbmc/u-boot/configs/ls1043ardb_sdcard_defconfig
/openbmc/u-boot/configs/ls1046ardb_sdcard_defconfig
/openbmc/u-boot/configs/maxbcm_defconfig
/openbmc/u-boot/configs/socfpga_de0_nano_soc_defconfig
/openbmc/u-boot/configs/theadorable_debug_defconfig
/openbmc/u-boot/configs/turris_omnia_defconfig
/openbmc/u-boot/drivers/core/read.c
/openbmc/u-boot/drivers/mmc/Kconfig
/openbmc/u-boot/drivers/mmc/uniphier-sd.c
/openbmc/u-boot/drivers/mtd/cfi_flash.c
/openbmc/u-boot/drivers/mtd/spi/spi_flash_ids.c
/openbmc/u-boot/drivers/net/Kconfig
/openbmc/u-boot/drivers/pci/pcie_layerscape_fixup.c
/openbmc/u-boot/drivers/power/regulator/Kconfig
/openbmc/u-boot/drivers/power/regulator/Makefile
/openbmc/u-boot/drivers/power/regulator/pbias_regulator.c
/openbmc/u-boot/drivers/spi/fsl_qspi.c
/openbmc/u-boot/drivers/spi/fsl_qspi.h
/openbmc/u-boot/drivers/spi/mxc_spi.c
/openbmc/u-boot/drivers/usb/host/ehci-hcd.c
/openbmc/u-boot/drivers/usb/host/usb-uclass.c
/openbmc/u-boot/drivers/usb/host/xhci.c
/openbmc/u-boot/drivers/usb/host/xhci.h
/openbmc/u-boot/dts/Kconfig
/openbmc/u-boot/include/configs/ls1043a_common.h
/openbmc/u-boot/include/configs/ls2080ardb.h
/openbmc/u-boot/include/configs/mvebu_armada-37xx.h
/openbmc/u-boot/include/configs/socfpga_common.h
/openbmc/u-boot/include/dm/read.h
/openbmc/u-boot/include/flash.h
/openbmc/u-boot/include/mtd/cfi_flash.h
/openbmc/u-boot/include/usb.h
/openbmc/u-boot/include/usb/ehci-ci.h
/openbmc/u-boot/net/tftp.c
/openbmc/u-boot/scripts/Kbuild.include
/openbmc/u-boot/scripts/Makefile
/openbmc/u-boot/scripts/Makefile.extrawarn
/openbmc/u-boot/scripts/config_whitelist.txt
/openbmc/u-boot/scripts/dtc-version.sh
/openbmc/u-boot/scripts/dtc/Makefile
/openbmc/u-boot/scripts/dtc/Makefile.dtc
/openbmc/u-boot/scripts/dtc/checks.c
/openbmc/u-boot/scripts/dtc/data.c
/openbmc/u-boot/scripts/dtc/dtc-lexer.l
/openbmc/u-boot/scripts/dtc/dtc-lexer.lex.c_shipped
/openbmc/u-boot/scripts/dtc/dtc-parser.tab.c_shipped
/openbmc/u-boot/scripts/dtc/dtc-parser.tab.h_shipped
/openbmc/u-boot/scripts/dtc/dtc-parser.y
/openbmc/u-boot/scripts/dtc/dtc.c
/openbmc/u-boot/scripts/dtc/dtc.h
/openbmc/u-boot/scripts/dtc/flattree.c
/openbmc/u-boot/scripts/dtc/fstree.c
/openbmc/u-boot/scripts/dtc/libfdt/Makefile.libfdt
/openbmc/u-boot/scripts/dtc/libfdt/fdt.c
/openbmc/u-boot/scripts/dtc/libfdt/fdt.h
/openbmc/u-boot/scripts/dtc/libfdt/fdt_empty_tree.c
/openbmc/u-boot/scripts/dtc/libfdt/fdt_ro.c
/openbmc/u-boot/scripts/dtc/libfdt/fdt_rw.c
/openbmc/u-boot/scripts/dtc/libfdt/fdt_strerror.c
/openbmc/u-boot/scripts/dtc/libfdt/fdt_sw.c
/openbmc/u-boot/scripts/dtc/libfdt/fdt_wip.c
/openbmc/u-boot/scripts/dtc/libfdt/libfdt.h
/openbmc/u-boot/scripts/dtc/libfdt/libfdt_env.h
/openbmc/u-boot/scripts/dtc/libfdt/libfdt_internal.h
/openbmc/u-boot/scripts/dtc/livetree.c
/openbmc/u-boot/scripts/dtc/srcpos.c
/openbmc/u-boot/scripts/dtc/srcpos.h
/openbmc/u-boot/scripts/dtc/treesource.c
/openbmc/u-boot/scripts/dtc/update-dtc-source.sh
/openbmc/u-boot/scripts/dtc/util.c
/openbmc/u-boot/scripts/dtc/util.h
/openbmc/u-boot/scripts/dtc/version_gen.h
/openbmc/u-boot/tools/Makefile
933f67aa15-Sep-2017 York Sun <york.sun@nxp.com>

spl: Fix compiling warning on gunzip argument

common/spl/spl_fit.c:201:12: warning: passing argument 4 of ‘gunzip’
from incompatible pointer type [-Wincompatible-pointer-types]
src, &length))

spl: Fix compiling warning on gunzip argument

common/spl/spl_fit.c:201:12: warning: passing argument 4 of ‘gunzip’
from incompatible pointer type [-Wincompatible-pointer-types]
src, &length))

Signed-off-by: York Sun <york.sun@nxp.com>
Reported-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
CC: Jean-Jacques Hiblot <jjhiblot@ti.com>

show more ...


/openbmc/u-boot/arch/arm/dts/Makefile
/openbmc/u-boot/arch/arm/dts/stm32h7-u-boot.dtsi
/openbmc/u-boot/arch/arm/dts/stm32h743-pinctrl.dtsi
/openbmc/u-boot/arch/arm/dts/stm32h743.dtsi
/openbmc/u-boot/arch/arm/dts/stm32h743i-disco.dts
/openbmc/u-boot/arch/arm/dts/stm32h743i-eval.dts
/openbmc/u-boot/arch/arm/include/asm/arch-stm32h7/gpio.h
/openbmc/u-boot/arch/arm/include/asm/arch-stm32h7/stm32.h
/openbmc/u-boot/arch/arm/mach-omap2/am33xx/mux.c
/openbmc/u-boot/arch/arm/mach-stm32/Kconfig
/openbmc/u-boot/arch/arm/mach-stm32/Makefile
/openbmc/u-boot/arch/arm/mach-stm32/stm32h7/Kconfig
/openbmc/u-boot/arch/arm/mach-stm32/stm32h7/Makefile
/openbmc/u-boot/arch/arm/mach-stm32/stm32h7/soc.c
/openbmc/u-boot/board/st/stm32h743-disco/Kconfig
/openbmc/u-boot/board/st/stm32h743-disco/MAINTAINERS
/openbmc/u-boot/board/st/stm32h743-disco/Makefile
/openbmc/u-boot/board/st/stm32h743-disco/stm32h743-disco.c
/openbmc/u-boot/board/st/stm32h743-eval/Kconfig
/openbmc/u-boot/board/st/stm32h743-eval/MAINTAINERS
/openbmc/u-boot/board/st/stm32h743-eval/Makefile
/openbmc/u-boot/board/st/stm32h743-eval/stm32h743-eval.c
spl/spl_fit.c
/openbmc/u-boot/configs/stm32h743-disco_defconfig
/openbmc/u-boot/configs/stm32h743-eval_defconfig
/openbmc/u-boot/doc/device-tree-bindings/clock/st,stm32h7-rcc.txt
/openbmc/u-boot/doc/device-tree-bindings/reset/st,stm32-rcc.txt
/openbmc/u-boot/drivers/clk/Makefile
/openbmc/u-boot/drivers/clk/clk_stm32h7.c
/openbmc/u-boot/drivers/misc/Kconfig
/openbmc/u-boot/drivers/misc/Makefile
/openbmc/u-boot/drivers/misc/stm32_rcc.c
/openbmc/u-boot/drivers/pinctrl/pinctrl_stm32.c
/openbmc/u-boot/drivers/reset/Kconfig
/openbmc/u-boot/drivers/reset/Makefile
/openbmc/u-boot/drivers/reset/stm32-reset.c
/openbmc/u-boot/drivers/serial/Kconfig
/openbmc/u-boot/drivers/serial/serial_stm32x7.c
/openbmc/u-boot/include/configs/stm32h743-disco.h
/openbmc/u-boot/include/configs/stm32h743-eval.h
/openbmc/u-boot/include/dt-bindings/clock/stm32h7-clks.h
/openbmc/u-boot/include/dt-bindings/memory/stm32-sdram.h
/openbmc/u-boot/include/dt-bindings/mfd/stm32h7-rcc.h
/openbmc/u-boot/include/dt-bindings/pinctrl/stm32h7-pinfunc.h
a8c5112a13-Sep-2017 Kever Yang <kever.yang@rock-chips.com>

spl: stash bootstage info before jump to next stage

Since we may jump to next stage like ATF/OP-TEE instead of U-Boot,
we need to stash the bootstage info before it.

Signed-off-by: Kever Yang <keve

spl: stash bootstage info before jump to next stage

Since we may jump to next stage like ATF/OP-TEE instead of U-Boot,
we need to stash the bootstage info before it.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Simon Glass <sjg@chromium.org>

show more ...


/openbmc/u-boot/arch/arm/dts/Makefile
/openbmc/u-boot/arch/arm/dts/rk3288-vyasa.dts
/openbmc/u-boot/arch/arm/dts/rk3368-lion-u-boot.dtsi
/openbmc/u-boot/arch/arm/dts/rk3399-puma.dtsi
/openbmc/u-boot/arch/arm/dts/stih407-family.dtsi
/openbmc/u-boot/arch/arm/dts/stih410.dtsi
/openbmc/u-boot/arch/arm/include/asm/arch-mx6/sys_proto.h
/openbmc/u-boot/arch/arm/include/asm/arch-mx7/clock.h
/openbmc/u-boot/arch/arm/include/asm/arch-stih410/sys_proto.h
/openbmc/u-boot/arch/arm/mach-imx/mx7/clock.c
/openbmc/u-boot/arch/arm/mach-imx/spl.c
/openbmc/u-boot/arch/arm/mach-rockchip/rk3288/Kconfig
/openbmc/u-boot/arch/arm/mach-rockchip/rk3399-board-spl.c
/openbmc/u-boot/arch/arm/mach-rockchip/rk3399/sdram_rk3399.c
/openbmc/u-boot/arch/arm/mach-uniphier/Kconfig
/openbmc/u-boot/arch/arm/mach-uniphier/clk/clk-ld11.c
/openbmc/u-boot/arch/arm/mach-uniphier/clk/clk-ld20.c
/openbmc/u-boot/arch/arm/mach-uniphier/clk/clk-pxs3.c
/openbmc/u-boot/arch/arm/mach-uniphier/sc64-regs.h
/openbmc/u-boot/arch/nds32/cpu/n1213/start.S
/openbmc/u-boot/arch/nds32/dts/ae3xx.dts
/openbmc/u-boot/arch/nds32/include/asm/bootm.h
/openbmc/u-boot/arch/nds32/include/asm/io.h
/openbmc/u-boot/arch/nds32/lib/bootm.c
/openbmc/u-boot/board/AndesTech/adp-ae3xx/adp-ae3xx.c
/openbmc/u-boot/board/amarula/vyasa-rk3288/Kconfig
/openbmc/u-boot/board/amarula/vyasa-rk3288/MAINTAINERS
/openbmc/u-boot/board/amarula/vyasa-rk3288/Makefile
/openbmc/u-boot/board/amarula/vyasa-rk3288/vyasa-rk3288.c
/openbmc/u-boot/board/bachmann/ot1200/ot1200_spl.c
/openbmc/u-boot/board/compulab/cm_fx6/spl.c
/openbmc/u-boot/board/engicam/common/spl.c
/openbmc/u-boot/board/freescale/mx7dsabresd/mx7dsabresd.c
/openbmc/u-boot/board/gateworks/gw_ventana/gw_ventana_spl.c
/openbmc/u-boot/board/ge/bx50v3/Makefile
/openbmc/u-boot/board/ge/bx50v3/bx50v3.c
/openbmc/u-boot/board/ge/bx50v3/vpd_reader.c
/openbmc/u-boot/board/ge/bx50v3/vpd_reader.h
/openbmc/u-boot/board/kosagi/novena/novena_spl.c
/openbmc/u-boot/board/liebherr/mccmon6/spl.c
/openbmc/u-boot/board/solidrun/mx6cuboxi/mx6cuboxi.c
/openbmc/u-boot/board/st/stih410-b2260/board.c
/openbmc/u-boot/board/technexion/pico-imx7d/README
/openbmc/u-boot/board/technexion/pico-imx7d/pico-imx7d.c
/openbmc/u-boot/board/theobroma-systems/puma_rk3399/puma-rk3399.c
/openbmc/u-boot/board/toradex/apalis_imx6/apalis_imx6.c
/openbmc/u-boot/board/toradex/colibri_imx6/colibri_imx6.c
/openbmc/u-boot/board/toradex/colibri_imx7/colibri_imx7.c
/openbmc/u-boot/board/udoo/udoo_spl.c
/openbmc/u-boot/board/wandboard/spl.c
spl/spl.c
/openbmc/u-boot/configs/adp-ae3xx_defconfig
/openbmc/u-boot/configs/lion-rk3368_defconfig
/openbmc/u-boot/configs/mx6sabresd_defconfig
/openbmc/u-boot/configs/puma-rk3399_defconfig
/openbmc/u-boot/configs/sheep-rk3368_defconfig
/openbmc/u-boot/configs/stih410-b2260_defconfig
/openbmc/u-boot/configs/uniphier_v7_defconfig
/openbmc/u-boot/configs/vyasa-rk3288_defconfig
/openbmc/u-boot/doc/README.uniphier
/openbmc/u-boot/doc/device-tree-bindings/phy/phy-stih407-usb.txt
/openbmc/u-boot/doc/device-tree-bindings/usb/dwc3-st.txt
/openbmc/u-boot/drivers/clk/rockchip/clk_rk3368.c
/openbmc/u-boot/drivers/clk/rockchip/clk_rk3399.c
/openbmc/u-boot/drivers/core/read.c
/openbmc/u-boot/drivers/gpio/rk_gpio.c
/openbmc/u-boot/drivers/i2c/rk_i2c.c
/openbmc/u-boot/drivers/misc/rockchip-efuse.c
/openbmc/u-boot/drivers/mmc/rockchip_dw_mmc.c
/openbmc/u-boot/drivers/mmc/rockchip_sdhci.c
/openbmc/u-boot/drivers/mmc/sti_sdhci.c
/openbmc/u-boot/drivers/mtd/nand/denali.c
/openbmc/u-boot/drivers/mtd/nand/denali.h
/openbmc/u-boot/drivers/mtd/nand/denali_dt.c
/openbmc/u-boot/drivers/mtd/spi/spi_flash_ids.c
/openbmc/u-boot/drivers/net/designware.c
/openbmc/u-boot/drivers/net/ftmac100.c
/openbmc/u-boot/drivers/net/phy/micrel_ksz90x1.c
/openbmc/u-boot/drivers/pci/Kconfig
/openbmc/u-boot/drivers/pci/pci_tegra.c
/openbmc/u-boot/drivers/pci/pcie_layerscape.h
/openbmc/u-boot/drivers/pci/pcie_xilinx.c
/openbmc/u-boot/drivers/phy/Kconfig
/openbmc/u-boot/drivers/phy/Makefile
/openbmc/u-boot/drivers/phy/sti_usb_phy.c
/openbmc/u-boot/drivers/pinctrl/rockchip/pinctrl_rk3368.c
/openbmc/u-boot/drivers/power/pmic/rk8xx.c
/openbmc/u-boot/drivers/ram/rockchip/dmc-rk3368.c
/openbmc/u-boot/drivers/spi/Kconfig
/openbmc/u-boot/drivers/spi/Makefile
/openbmc/u-boot/drivers/spi/nds_ae3xx_spi.c
/openbmc/u-boot/drivers/spi/rk_spi.c
/openbmc/u-boot/drivers/timer/rockchip_timer.c
/openbmc/u-boot/drivers/timer/timer-uclass.c
/openbmc/u-boot/drivers/usb/host/Kconfig
/openbmc/u-boot/drivers/usb/host/Makefile
/openbmc/u-boot/drivers/usb/host/dwc3-sti-glue.c
/openbmc/u-boot/drivers/video/Kconfig
/openbmc/u-boot/drivers/video/Makefile
/openbmc/u-boot/drivers/video/backlight_gpio.c
/openbmc/u-boot/drivers/video/cfb_console.c
/openbmc/u-boot/drivers/video/simplefb.c
/openbmc/u-boot/drivers/video/stm32/Kconfig
/openbmc/u-boot/drivers/video/stm32/Makefile
/openbmc/u-boot/drivers/video/stm32/stm32_ltdc.c
/openbmc/u-boot/drivers/video/video-uclass.c
/openbmc/u-boot/fs/fat/fat.c
/openbmc/u-boot/include/configs/adp-ae3xx.h
/openbmc/u-boot/include/configs/adp-ag101p.h
/openbmc/u-boot/include/configs/ge_bx50v3.h
/openbmc/u-boot/include/configs/mx6cuboxi.h
/openbmc/u-boot/include/configs/rk3368_common.h
/openbmc/u-boot/include/configs/stih410-b2260.h
/openbmc/u-boot/include/configs/vyasa-rk3288.h
/openbmc/u-boot/include/dm/read.h
/openbmc/u-boot/include/dwc3-sti-glue.h
148a139d11-Sep-2017 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>

bootstage: adjust Makefile to allow including bootstage in SPL, but not in TPL

For timing our bootstages on the RK3368, which has a minimal TPL
(and where we consequently don't want to time the boot

bootstage: adjust Makefile to allow including bootstage in SPL, but not in TPL

For timing our bootstages on the RK3368, which has a minimal TPL
(and where we consequently don't want to time the bootstages) and a
full-featured SPL (where we can bootstage recording), we need to
adjust the Makefile.

Use the $(SPL_TPL_) macro in the Makefile for bootstage.o

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>

show more ...

c07f382017-Sep-2017 Tom Rini <trini@konsulko.com>

Merge git://git.denx.de/u-boot-x86


/openbmc/u-boot/arch/arm/cpu/armv8/fsl-layerscape/ppa.c
/openbmc/u-boot/arch/arm/dts/dra7-evm-u-boot.dtsi
/openbmc/u-boot/arch/arm/include/asm/arch-omap5/mux_dra7xx.h
/openbmc/u-boot/arch/arm/mach-davinci/Makefile
/openbmc/u-boot/arch/arm/mach-omap2/sec-common.c
/openbmc/u-boot/arch/x86/Kconfig
/openbmc/u-boot/arch/x86/cpu/Makefile
/openbmc/u-boot/arch/x86/cpu/braswell/Kconfig
/openbmc/u-boot/arch/x86/cpu/braswell/Makefile
/openbmc/u-boot/arch/x86/cpu/braswell/braswell.c
/openbmc/u-boot/arch/x86/cpu/braswell/cpu.c
/openbmc/u-boot/arch/x86/cpu/braswell/early_uart.c
/openbmc/u-boot/arch/x86/cpu/braswell/fsp_configs.c
/openbmc/u-boot/arch/x86/cpu/ivybridge/northbridge.c
/openbmc/u-boot/arch/x86/dts/Makefile
/openbmc/u-boot/arch/x86/dts/cherryhill.dts
/openbmc/u-boot/arch/x86/dts/microcode/m01406c2220.dtsi
/openbmc/u-boot/arch/x86/dts/microcode/m01406c3363.dtsi
/openbmc/u-boot/arch/x86/dts/microcode/m01406c440a.dtsi
/openbmc/u-boot/arch/x86/dts/u-boot.dtsi
/openbmc/u-boot/arch/x86/include/asm/arch-braswell/fsp/fsp_configs.h
/openbmc/u-boot/arch/x86/include/asm/arch-braswell/fsp/fsp_vpd.h
/openbmc/u-boot/arch/x86/include/asm/arch-braswell/gpio.h
/openbmc/u-boot/arch/x86/include/asm/arch-braswell/iomap.h
/openbmc/u-boot/arch/x86/include/asm/fsp/fsp_api.h
/openbmc/u-boot/arch/x86/include/asm/fsp/fsp_hob.h
/openbmc/u-boot/arch/x86/include/asm/fsp/fsp_infoheader.h
/openbmc/u-boot/arch/x86/include/asm/fsp/fsp_support.h
/openbmc/u-boot/arch/x86/include/asm/global_data.h
/openbmc/u-boot/arch/x86/lib/fsp/Makefile
/openbmc/u-boot/arch/x86/lib/fsp/cmd_fsp.c
/openbmc/u-boot/arch/x86/lib/fsp/fsp_graphics.c
/openbmc/u-boot/arch/x86/lib/fsp/fsp_support.c
/openbmc/u-boot/board/compulab/cl-som-am57x/mux.c
/openbmc/u-boot/board/intel/Kconfig
/openbmc/u-boot/board/intel/cherryhill/Kconfig
/openbmc/u-boot/board/intel/cherryhill/MAINTAINERS
/openbmc/u-boot/board/intel/cherryhill/Makefile
/openbmc/u-boot/board/intel/cherryhill/cherryhill.c
/openbmc/u-boot/board/intel/cherryhill/start.S
/openbmc/u-boot/board/sandbox/README.sandbox
/openbmc/u-boot/board/toradex/common/tdx-cfg-block.c
/openbmc/u-boot/cmd/blk_common.c
/openbmc/u-boot/cmd/mmc.c
/openbmc/u-boot/cmd/ubi.c
Kconfig
board_f.c
bootstage.c
/openbmc/u-boot/configs/cherryhill_defconfig
/openbmc/u-boot/configs/chromebook_link64_defconfig
/openbmc/u-boot/configs/chromebook_link_defconfig
/openbmc/u-boot/configs/sandbox_defconfig
/openbmc/u-boot/configs/sandbox_flattree_defconfig
/openbmc/u-boot/configs/sandbox_noblk_defconfig
/openbmc/u-boot/configs/sandbox_spl_defconfig
/openbmc/u-boot/disk/part.c
/openbmc/u-boot/doc/README.fdt-overlays
/openbmc/u-boot/doc/README.x86
/openbmc/u-boot/doc/uImage.FIT/command_syntax_extensions.txt
/openbmc/u-boot/doc/uImage.FIT/overlay-fdt-boot.txt
/openbmc/u-boot/doc/uImage.FIT/source_file_format.txt
/openbmc/u-boot/drivers/block/blk-uclass.c
/openbmc/u-boot/drivers/block/blk_legacy.c
/openbmc/u-boot/drivers/i2c/muxes/pca954x.c
/openbmc/u-boot/drivers/net/fm/fm.c
/openbmc/u-boot/drivers/net/phy/cortina.c
/openbmc/u-boot/drivers/qe/qe.c
/openbmc/u-boot/drivers/timer/tsc_timer.c
/openbmc/u-boot/fs/fat/Makefile
/openbmc/u-boot/fs/fat/fat.c
/openbmc/u-boot/fs/fat/fat_write.c
/openbmc/u-boot/fs/fs.c
/openbmc/u-boot/include/bootstage.h
/openbmc/u-boot/include/configs/cherryhill.h
/openbmc/u-boot/include/fat.h
/openbmc/u-boot/include/fs.h
/openbmc/u-boot/include/part.h
/openbmc/u-boot/lib/strto.c
/openbmc/u-boot/scripts/Makefile.lib
/openbmc/u-boot/scripts/checkpatch.pl
/openbmc/u-boot/scripts/const_structs.checkpatch
/openbmc/u-boot/test/overlay/Makefile
/openbmc/u-boot/test/overlay/cmd_ut_overlay.c
/openbmc/u-boot/test/overlay/test-fdt-overlay-stacked.dts
/openbmc/u-boot/test/py/tests/test_gpt.py
/openbmc/u-boot/test/py/u_boot_console_base.py
/openbmc/u-boot/tools/binman/etype/intel_vbt.py
/openbmc/u-boot/tools/binman/func_test.py
/openbmc/u-boot/tools/binman/test/46_intel-vbt.dts
d69bb0ec05-Sep-2017 Simon Glass <sjg@chromium.org>

bootstage: Provide a separate record count setting for SPL

With SPL we often have limited memory and do not need very many bootstage
records. Add a separate Kconfig option for SPL.

Signed-off-by: S

bootstage: Provide a separate record count setting for SPL

With SPL we often have limited memory and do not need very many bootstage
records. Add a separate Kconfig option for SPL.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

show more ...

066b25b605-Sep-2017 Simon Glass <sjg@chromium.org>

bootstage: Drop unused options

The CONFIG_BOOTSTAGE_USER_COUNT option is no-longer needed since we can now
support any number of user IDs. Also BOOTSTAGE_ID_COUNT is not needed now.

Drop these unus

bootstage: Drop unused options

The CONFIG_BOOTSTAGE_USER_COUNT option is no-longer needed since we can now
support any number of user IDs. Also BOOTSTAGE_ID_COUNT is not needed now.

Drop these unused options.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

show more ...

1...<<11121314151617181920>>...196