History log of /openbmc/u-boot/common/ (Results 1 – 25 of 4383)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
06499e6b08-Mar-2023 Eddie James <eajames@linux.ibm.com>

bootm: Support boot measurement

Add a configuration option to measure the boot through the bootm
function. Add the measurement state to the booti and bootz paths
as well.

Signed-off-by: Eddie James

bootm: Support boot measurement

Add a configuration option to measure the boot through the bootm
function. Add the measurement state to the booti and bootz paths
as well.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Link: https://lore.kernel.org/r/20230308212537.1725343-5-eajames@linux.ibm.com
Signed-off-by: Joel Stanley <joel@jms.id.au>

show more ...

223bb74402-Aug-2021 Pali Rohár <pali@kernel.org>

Remove including timestamp.h in version.h

Header file version.h does not use anything from timestamp.h. Including of
timestamp.h has side effect which cause recompiling object file at every
make run

Remove including timestamp.h in version.h

Header file version.h does not use anything from timestamp.h. Including of
timestamp.h has side effect which cause recompiling object file at every
make run because timestamp.h changes at every run.

So remove timestamp.h from version.h and include timestamp.h in files
which needs it.

This change reduce recompilation time of final U-Boot binary when U-Boot
source files were not changed as less source files needs to be recompiled.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
[trini: Add in lib/acpi/acpi_table.c and test/dm/acpi.c, rework a few others]
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>

show more ...

f486b9d002-Aug-2021 Pali Rohár <pali@kernel.org>

version: Move version_string[] from version.h to version_string.h

More C files do not use compile time timestamp macros and do not have to be
recompiled every time when SOURCE_DATE_EPOCH changes.

T

version: Move version_string[] from version.h to version_string.h

More C files do not use compile time timestamp macros and do not have to be
recompiled every time when SOURCE_DATE_EPOCH changes.

This patch moves version_string[] from version.h to version_string.h and
updates other C files which only needs version_string[] string to include
version_string.h instead of version.h. After applying this patch these
files are not recompiled every time when SOURCE_DATE_EPOCH changes.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>

show more ...


/openbmc/u-boot/Makefile
/openbmc/u-boot/arch/arm/dts/Makefile
/openbmc/u-boot/arch/arm/dts/ast2400-ahe-50dc.dts
/openbmc/u-boot/arch/arm/dts/ast2400-evb.dts
/openbmc/u-boot/arch/arm/dts/ast2400-palmetto.dts
/openbmc/u-boot/arch/arm/dts/ast2500-evb.dts
/openbmc/u-boot/arch/arm/dts/ast2500-romulus.dts
/openbmc/u-boot/arch/arm/dts/ast2600-evb-ecc.dts
/openbmc/u-boot/arch/arm/dts/ast2600-evb.dts
/openbmc/u-boot/arch/arm/dts/ast2600-fpga.dts
/openbmc/u-boot/arch/arm/dts/ast2600-ncsi.dts
/openbmc/u-boot/arch/arm/dts/ast2600-p10bmc.dts
/openbmc/u-boot/arch/arm/dts/ast2600-qcom-dc-scm-v1.dts
/openbmc/u-boot/arch/arm/dts/ast2600-tacoma.dts
/openbmc/u-boot/arch/arm/dts/ast2600a0-evb.dts
/openbmc/u-boot/arch/arm/dts/ast2600a1-evb.dts
/openbmc/u-boot/arch/arm/include/asm/arch-aspeed/platform.h
/openbmc/u-boot/arch/arm/include/asm/arch-aspeed/scu_ast2400.h
/openbmc/u-boot/arch/arm/include/asm/arch-aspeed/scu_ast2500.h
/openbmc/u-boot/arch/arm/include/asm/spl.h
/openbmc/u-boot/arch/arm/lib/crt0.S
/openbmc/u-boot/arch/arm/mach-aspeed/Kconfig
/openbmc/u-boot/arch/arm/mach-aspeed/ast2400/board_common.c
/openbmc/u-boot/arch/arm/mach-aspeed/ast2500/board_common.c
/openbmc/u-boot/arch/arm/mach-aspeed/ast2600/Kconfig
/openbmc/u-boot/arch/arm/mach-aspeed/ast2600/platform.S
/openbmc/u-boot/arch/arm/mach-aspeed/ast2600/spl.c
/openbmc/u-boot/board/aspeed/ast2600_dcscm/Kconfig
/openbmc/u-boot/board/aspeed/ast2600_dcscm/Makefile
/openbmc/u-boot/board/aspeed/ast2600_dcscm/ast2600_dcscm.c
/openbmc/u-boot/board/aspeed/ast2600_ibm/Kconfig
/openbmc/u-boot/board/aspeed/ast2600_ibm/Makefile
/openbmc/u-boot/board/aspeed/ast2600_ibm/ibm.c
/openbmc/u-boot/board/aspeed/ast2600_openbmc_mmc.txt
/openbmc/u-boot/board/qualcomm/dc-scm-v1/Kconfig
/openbmc/u-boot/board/qualcomm/dc-scm-v1/Makefile
/openbmc/u-boot/board/qualcomm/dc-scm-v1/dc-scm-v1.c
/openbmc/u-boot/cmd/Kconfig
/openbmc/u-boot/cmd/Makefile
/openbmc/u-boot/cmd/otp.c
/openbmc/u-boot/cmd/sf.c
/openbmc/u-boot/cmd/version.c
main.c
/openbmc/u-boot/configs/ast2600-dcscm_defconfig
/openbmc/u-boot/configs/ast2600_openbmc_spl_defconfig
/openbmc/u-boot/configs/ast2600_openbmc_spl_emmc_defconfig
/openbmc/u-boot/configs/evb-ast2600-ecc_defconfig
/openbmc/u-boot/configs/evb-ast2600-spl-ecc_defconfig
/openbmc/u-boot/configs/evb-ast2600-spl_defconfig
/openbmc/u-boot/drivers/crypto/Kconfig
/openbmc/u-boot/drivers/crypto/Makefile
/openbmc/u-boot/drivers/crypto/aspeed_hace_v1.c
/openbmc/u-boot/drivers/mtd/spi/sf-uclass.c
/openbmc/u-boot/drivers/mtd/spi/sf_internal.h
/openbmc/u-boot/drivers/mtd/spi/sf_probe.c
/openbmc/u-boot/drivers/mtd/spi/spi-nor-core.c
/openbmc/u-boot/drivers/mtd/spi/spi-nor-ids.c
/openbmc/u-boot/drivers/net/phy/broadcom.c
/openbmc/u-boot/drivers/ram/aspeed/Kconfig
/openbmc/u-boot/drivers/ram/aspeed/sdram_ast2500.c
/openbmc/u-boot/drivers/ram/aspeed/sdram_ast2600.c
/openbmc/u-boot/drivers/spi/Kconfig
/openbmc/u-boot/drivers/spi/aspeed_spi.c
/openbmc/u-boot/drivers/spi/spi-uclass.c
/openbmc/u-boot/drivers/video/cfb_console.c
/openbmc/u-boot/include/configs/aspeed-common.h
/openbmc/u-boot/include/configs/evb_ast2600_spl.h
/openbmc/u-boot/include/configs/evb_ast2600_spl_emmc.h
/openbmc/u-boot/include/configs/evb_ast2600a1_spl.h
/openbmc/u-boot/include/image.h
/openbmc/u-boot/include/linux/mtd/spi-nor.h
/openbmc/u-boot/include/spi.h
/openbmc/u-boot/include/spi_flash.h
/openbmc/u-boot/include/version.h
/openbmc/u-boot/include/version_string.h
/openbmc/u-boot/lib/asm-offsets.c
/openbmc/u-boot/lib/display_options.c
/openbmc/u-boot/scripts/Makefile.build
/openbmc/u-boot/scripts/Makefile.lib
/openbmc/u-boot/scripts/Makefile.spl
/openbmc/u-boot/test/print_ut.c
/openbmc/u-boot/tools/Makefile
b7d9107f26-Mar-2023 Chia-Wei Wang <chiawei_wang@aspeedtech.com>

common: fit: Update board_fit_image_post_process() to pass fit and node_offset

board_fit_image_post_process() passes only start and size of the image,
but type of the image is not passed. So pass fi

common: fit: Update board_fit_image_post_process() to pass fit and node_offset

board_fit_image_post_process() passes only start and size of the image,
but type of the image is not passed. So pass fit and node_offset, to
derive information about image to be processed.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Tero Kristo <kristo@kernel.org>
Signed-off-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com>
(cherry picked from commit 481d394e77915201e4ecc2d98e9cc2fbc3224991)
Change-Id: Idbc2e274d1f5a26434e42715014f0b16c29237a2

show more ...


/openbmc/u-boot/Makefile
/openbmc/u-boot/arch/arm/dts/Makefile
/openbmc/u-boot/arch/arm/dts/ast2400-evb.dts
/openbmc/u-boot/arch/arm/dts/ast2500-evb.dts
/openbmc/u-boot/arch/arm/dts/ast2600-bletchley.dts
/openbmc/u-boot/arch/arm/dts/ast2600-dcscm.dts
/openbmc/u-boot/arch/arm/dts/ast2600-evb.dts
/openbmc/u-boot/arch/arm/dts/ast2600-fpga.dts
/openbmc/u-boot/arch/arm/dts/ast2600-intel.dts
/openbmc/u-boot/arch/arm/dts/ast2600-ncsi.dts
/openbmc/u-boot/arch/arm/dts/ast2600-pfr.dts
/openbmc/u-boot/arch/arm/dts/ast2600-rainier.dts
/openbmc/u-boot/arch/arm/dts/ast2600-s6q.dts
/openbmc/u-boot/arch/arm/dts/ast2600-slt.dts
/openbmc/u-boot/arch/arm/dts/ast2600-tacoma.dts
/openbmc/u-boot/arch/arm/dts/ast2600.dtsi
/openbmc/u-boot/arch/arm/dts/ast2600a0-evb.dts
/openbmc/u-boot/arch/arm/dts/ast2600a1-evb.dts
/openbmc/u-boot/arch/arm/include/asm/arch-aspeed/platform.h
/openbmc/u-boot/arch/arm/include/asm/arch-aspeed/sdram_ast2600.h
/openbmc/u-boot/arch/arm/mach-aspeed/Kconfig
/openbmc/u-boot/arch/arm/mach-aspeed/ast2600/Makefile
/openbmc/u-boot/arch/arm/mach-aspeed/ast2600/board_common.c
/openbmc/u-boot/arch/arm/mach-aspeed/ast2600/platform.S
/openbmc/u-boot/arch/arm/mach-aspeed/ast2600/scu_info.c
/openbmc/u-boot/arch/arm/mach-aspeed/ast2600/spl.c
/openbmc/u-boot/arch/arm/mach-keystone/mon.c
/openbmc/u-boot/board/ti/am335x/board.c
/openbmc/u-boot/board/ti/am43xx/board.c
/openbmc/u-boot/board/ti/am57xx/board.c
/openbmc/u-boot/board/ti/dra7xx/evm.c
/openbmc/u-boot/cmd/Kconfig
/openbmc/u-boot/cmd/aspeed/Kconfig
/openbmc/u-boot/cmd/aspeed/Makefile
/openbmc/u-boot/cmd/aspeed/dptest.c
/openbmc/u-boot/cmd/aspeed/dptest.h
/openbmc/u-boot/cmd/aspeed/dramtest.c
/openbmc/u-boot/cmd/aspeed/nettest/mac.c
/openbmc/u-boot/cmd/aspeed/nettest/mactest.c
/openbmc/u-boot/cmd/aspeed/nettest/phy.c
/openbmc/u-boot/cmd/aspeed/nettest/phy_tbl.h
/openbmc/u-boot/cmd/otp.c
image-fit.c
spl/spl_fit.c
/openbmc/u-boot/configs/evb-ast2400_defconfig
/openbmc/u-boot/configs/evb-ast2500_defconfig
/openbmc/u-boot/configs/evb-ast2600-spl_defconfig
/openbmc/u-boot/configs/evb-ast2600_defconfig
/openbmc/u-boot/configs/evb-ast2600a1-emmc_defconfig
/openbmc/u-boot/configs/fpga-ast2600-spl_defconfig
/openbmc/u-boot/drivers/clk/aspeed/clk_ast2600.c
/openbmc/u-boot/drivers/crypto/Makefile
/openbmc/u-boot/drivers/crypto/aspeed_acry.c
/openbmc/u-boot/drivers/gpio/aspeed_gpio.c
/openbmc/u-boot/drivers/i2c/Kconfig
/openbmc/u-boot/drivers/i2c/Makefile
/openbmc/u-boot/drivers/i2c/aspeed_i2c_global.c
/openbmc/u-boot/drivers/i2c/ast2600_i2c.c
/openbmc/u-boot/drivers/i2c/ast2600_i2c_global.h
/openbmc/u-boot/drivers/i2c/ast_i2c.c
/openbmc/u-boot/drivers/misc/aspeed_dp.c
/openbmc/u-boot/drivers/misc/dp_mcu_firmware.h
/openbmc/u-boot/drivers/mtd/spi/spi-nor-core.c
/openbmc/u-boot/drivers/net/ftgmac100.c
/openbmc/u-boot/drivers/net/phy/phy.c
/openbmc/u-boot/drivers/net/phy/realtek.c
/openbmc/u-boot/drivers/pci/Makefile
/openbmc/u-boot/drivers/pci/aspeed_pcie_phy.c
/openbmc/u-boot/drivers/pci/pcie_aspeed.c
/openbmc/u-boot/drivers/pci/pcie_aspeed.h
/openbmc/u-boot/drivers/pinctrl/aspeed/pinctrl_ast2400.c
/openbmc/u-boot/drivers/pinctrl/aspeed/pinctrl_ast2600.c
/openbmc/u-boot/drivers/ram/aspeed/Kconfig
/openbmc/u-boot/drivers/ram/aspeed/sdram_ast2600.c
/openbmc/u-boot/drivers/ram/aspeed/sdram_phy_ast2600.h
/openbmc/u-boot/drivers/spi/aspeed_spi.c
/openbmc/u-boot/drivers/tpm/Kconfig
/openbmc/u-boot/drivers/tpm/Makefile
/openbmc/u-boot/drivers/tpm/tpm2_tis_core.c
/openbmc/u-boot/drivers/tpm/tpm2_tis_i2c.c
/openbmc/u-boot/drivers/tpm/tpm_tis.h
/openbmc/u-boot/drivers/usb/gadget/Kconfig
/openbmc/u-boot/drivers/usb/gadget/Makefile
/openbmc/u-boot/drivers/usb/gadget/aspeed_udc.c
/openbmc/u-boot/drivers/usb/gadget/aspeed_udc.h
/openbmc/u-boot/drivers/usb/gadget/aspeed_usbtty.c
/openbmc/u-boot/include/configs/evb_ast2600a1_spl.h
/openbmc/u-boot/include/image.h
/openbmc/u-boot/include/linux/mtd/spi-nor.h
/openbmc/u-boot/include/phy.h
/openbmc/u-boot/include/tpm-v2.h
/openbmc/u-boot/net/net.c
/openbmc/u-boot/tools/imx8image.c
/openbmc/u-boot/tools/imx8mimage.c
f7de9e8207-Feb-2022 Eddie James <eajames@linux.ibm.com>

gpio: Enable hogging support in SPL

Use the CONFIG macros to conditionally build the GPIO hogging support in
either the SPL or U-Boot, or both, depending on the configuration. Also
call the GPIO hog

gpio: Enable hogging support in SPL

Use the CONFIG macros to conditionally build the GPIO hogging support in
either the SPL or U-Boot, or both, depending on the configuration. Also
call the GPIO hog probe function in the common SPL board initialization
as an equivalent to adding it to the U-Boot init sequence functions.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Link: https://lore.kernel.org/r/20220207231334.59845-5-eajames@linux.ibm.com
Signed-off-by: Joel Stanley <joel@jms.id.au>

show more ...

dab778a207-Feb-2022 Heiko Schocher <hs@denx.de>

gpio: fixes for gpio-hog support

recently added gpio hog patch was "in discussion"
state with Simon Glass. This patch now adds most
of comments from Simon Glass.

(cherry-picked from 49b10cb4926285b

gpio: fixes for gpio-hog support

recently added gpio hog patch was "in discussion"
state with Simon Glass. This patch now adds most
of comments from Simon Glass.

(cherry-picked from 49b10cb4926285b856b207c1f5bb40c75487f08b)

Signed-off-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Eddie James <eajames@linux.ibm.com>
Link: https://lore.kernel.org/r/20220207231334.59845-4-eajames@linux.ibm.com
Signed-off-by: Joel Stanley <joel@jms.id.au>

show more ...

04c095b207-Feb-2022 Heiko Schocher <hs@denx.de>

gpio: add gpio-hog support

add gpio-hog support. GPIO hogging is a mechanism
providing automatic GPIO request and configuration
as part of the gpio-controller's driver probe function.

for more info

gpio: add gpio-hog support

add gpio-hog support. GPIO hogging is a mechanism
providing automatic GPIO request and configuration
as part of the gpio-controller's driver probe function.

for more infos see:
doc/device-tree-bindings/gpio/gpio.txt

(cherry-picked from 5fc7cf8c8e268590f3b0037eecea7f6798209f78)

Signed-off-by: Heiko Schocher <hs@denx.de>
Tested-by: Michal Simek <michal.simek@xilinx.com> (zcu102)
Tested-by: Patrick Delaunay <patrick.delaunay@st.com>
Signed-off-by: Eddie James <eajames@linux.ibm.com>
Link: https://lore.kernel.org/r/20220207231334.59845-3-eajames@linux.ibm.com
Signed-off-by: Joel Stanley <joel@jms.id.au>

show more ...


/openbmc/u-boot/arch/arm/dts/Makefile
/openbmc/u-boot/arch/arm/dts/ast2600-evb.dts
/openbmc/u-boot/arch/arm/dts/ast2600-intel.dts
/openbmc/u-boot/arch/arm/dts/ast2600-ncsi.dts
/openbmc/u-boot/arch/arm/dts/ast2600-pfr.dts
/openbmc/u-boot/arch/arm/dts/ast2600-slt.dts
/openbmc/u-boot/arch/arm/dts/ast2600.dtsi
/openbmc/u-boot/arch/arm/dts/ast2600a0-evb.dts
/openbmc/u-boot/arch/arm/dts/ast2600a1-evb.dts
/openbmc/u-boot/arch/arm/include/asm/arch-aspeed/scu_ast2600.h
/openbmc/u-boot/arch/arm/mach-aspeed/Kconfig
/openbmc/u-boot/arch/arm/mach-aspeed/ast2600/platform.S
/openbmc/u-boot/arch/arm/mach-aspeed/ast2600/spl.c
/openbmc/u-boot/arch/sandbox/dts/test.dts
/openbmc/u-boot/board/aspeed/evb_ast2600/evb_ast2600.c
/openbmc/u-boot/cmd/aspeed/dramtest.c
/openbmc/u-boot/cmd/aspeed/nettest/cmd_nettest.c
/openbmc/u-boot/cmd/aspeed/nettest/comminf.h
/openbmc/u-boot/cmd/aspeed/nettest/mac.c
/openbmc/u-boot/cmd/aspeed/nettest/mac.h
/openbmc/u-boot/cmd/aspeed/nettest/mac_api.h
/openbmc/u-boot/cmd/aspeed/nettest/mactest.c
/openbmc/u-boot/cmd/aspeed/nettest/ncsi.c
/openbmc/u-boot/cmd/aspeed/nettest/ncsi.h
/openbmc/u-boot/cmd/aspeed/nettest/phy.c
/openbmc/u-boot/cmd/aspeed/nettest/phy.h
/openbmc/u-boot/cmd/aspeed/nettest/phy_api.h
/openbmc/u-boot/cmd/aspeed/nettest/phy_tbl.h
/openbmc/u-boot/cmd/aspeed/nettest/swfunc.h
/openbmc/u-boot/cmd/otp.c
/openbmc/u-boot/cmd/otp_info.h
board_r.c
/openbmc/u-boot/configs/ast2600-pfr_defconfig
/openbmc/u-boot/configs/evb-ast2500-spl_defconfig
/openbmc/u-boot/configs/evb-ast2500_defconfig
/openbmc/u-boot/configs/evb-ast2600-emmc_defconfig
/openbmc/u-boot/configs/evb-ast2600-spl-ecc_defconfig
/openbmc/u-boot/configs/evb-ast2600-spl-ncsi_defconfig
/openbmc/u-boot/configs/evb-ast2600-spl_defconfig
/openbmc/u-boot/configs/evb-ast2600_defconfig
/openbmc/u-boot/configs/evb-ast2600a1-spl-ecc_defconfig
/openbmc/u-boot/configs/evb-ast2600a1-spl_defconfig
/openbmc/u-boot/configs/evb-ast2605_defconfig
/openbmc/u-boot/doc/device-tree-bindings/gpio/gpio.txt
/openbmc/u-boot/drivers/clk/aspeed/clk_ast2600.c
/openbmc/u-boot/drivers/core/uclass.c
/openbmc/u-boot/drivers/crypto/aspeed_hace.c
/openbmc/u-boot/drivers/crypto/aspeed_rsa.c
/openbmc/u-boot/drivers/gpio/Kconfig
/openbmc/u-boot/drivers/gpio/gpio-uclass.c
/openbmc/u-boot/drivers/misc/Kconfig
/openbmc/u-boot/drivers/misc/Makefile
/openbmc/u-boot/drivers/misc/dp_mcu_firmware.h
/openbmc/u-boot/drivers/pci/Makefile
/openbmc/u-boot/drivers/pci/aspeed_rc_bridge.c
/openbmc/u-boot/drivers/pci/pcie_aspeed.c
/openbmc/u-boot/drivers/pci/pcie_aspeed.h
/openbmc/u-boot/drivers/pinctrl/aspeed/pinctrl_ast2600.c
/openbmc/u-boot/drivers/ram/aspeed/sdram_ast2600.c
/openbmc/u-boot/drivers/spi/aspeed_spi.c
/openbmc/u-boot/drivers/usb/gadget/Kconfig
/openbmc/u-boot/drivers/usb/gadget/Makefile
/openbmc/u-boot/drivers/usb/gadget/aspeed_udc.c
/openbmc/u-boot/include/asm-generic/gpio.h
/openbmc/u-boot/include/configs/evb_ast2600a1_spl.h
/openbmc/u-boot/include/dm/uclass-id.h
/openbmc/u-boot/test/dm/Makefile
/openbmc/u-boot/test/dm/nop.c
685cdc1415-Aug-2019 Andreas Dannenberg <dannenberg@ti.com>

spl: ymodem: Fix FIT loading termination handling

During FIT reading through ymodem_read_fit() the function
xyzModem_stream_read() is being used which returns zero once the end
of a stream has been

spl: ymodem: Fix FIT loading termination handling

During FIT reading through ymodem_read_fit() the function
xyzModem_stream_read() is being used which returns zero once the end
of a stream has been reached. This could lead to an premature exit from
ymodem_read_fit() with certain-sized FIT images reporting that zero
bytes overall were read. Such a premature exit would then result in an
-EIO failure being triggered within the spl_load_simple_fit() caller
function and ultimately lead to a boot failure.

Fix this logic by simply aborting the stream read loops and continuing
with the regular code flow which ultimately would lead to returning
the number of bytes to be read ('size') as expected by the callers of
ymodem_read_fit().

Fixes: fa715193c083 ("spl: Add an option to load a FIT containing U-Boot from UART")
Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
Change-Id: I5ce34ba8c30541c649aa6c62af40f6fdffe05d79

show more ...

2142635830-Jul-2021 Jamin Lin <jamin_lin@aspeedtech.com>

Support RSA3072

So far, u-boot verified boot only support RSA2048 and RSA4096.
Add table to support RSA3072

Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Change-Id: I98a8b2fabc2d64e5e3c7e04bc

Support RSA3072

So far, u-boot verified boot only support RSA2048 and RSA4096.
Add table to support RSA3072

Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Change-Id: I98a8b2fabc2d64e5e3c7e04bc7ba78b9f10cee35

show more ...


/openbmc/u-boot/arch/arm/dts/ast2500.dtsi
/openbmc/u-boot/arch/arm/dts/ast2600-evb.dts
/openbmc/u-boot/arch/arm/dts/ast2600-intel.dts
/openbmc/u-boot/arch/arm/dts/ast2600.dtsi
/openbmc/u-boot/arch/arm/dts/ast2600a1-evb.dts
/openbmc/u-boot/arch/arm/mach-aspeed/Kconfig
/openbmc/u-boot/arch/arm/mach-aspeed/ast2500/board_common.c
/openbmc/u-boot/arch/arm/mach-aspeed/ast2600/Makefile
/openbmc/u-boot/arch/arm/mach-aspeed/ast2600/aspeed_verify.c
/openbmc/u-boot/arch/arm/mach-aspeed/ast2600/board_common.c
/openbmc/u-boot/arch/arm/mach-aspeed/ast2600/scu_info.c
/openbmc/u-boot/arch/arm/mach-aspeed/ast2600/spl.c
/openbmc/u-boot/cmd/aspeed/nettest/phy_tbl.h
/openbmc/u-boot/cmd/otp.c
/openbmc/u-boot/cmd/otp_info.h
image-sig.c
/openbmc/u-boot/configs/ast2600_openbmc_defconfig
/openbmc/u-boot/configs/evb-ast2600-cot_defconfig
/openbmc/u-boot/configs/evb-ast2600-emmc_defconfig
/openbmc/u-boot/configs/evb-ast2600-spl-ecc_defconfig
/openbmc/u-boot/configs/evb-ast2600-spl-ncsi_defconfig
/openbmc/u-boot/configs/evb-ast2600-spl_defconfig
/openbmc/u-boot/configs/evb-ast2600a1-spl-ecc_defconfig
/openbmc/u-boot/configs/evb-ast2600a1-spl_defconfig
/openbmc/u-boot/drivers/clk/aspeed/clk_ast2500.c
/openbmc/u-boot/drivers/clk/aspeed/clk_ast2600.c
/openbmc/u-boot/drivers/crypto/Kconfig
/openbmc/u-boot/drivers/crypto/Makefile
/openbmc/u-boot/drivers/crypto/aspeed_arcy.c
/openbmc/u-boot/drivers/crypto/aspeed_hace.c
/openbmc/u-boot/drivers/crypto/aspeed_rsa.c
/openbmc/u-boot/drivers/mtd/spi/spi-nor-core.c
/openbmc/u-boot/drivers/net/phy/realtek.c
/openbmc/u-boot/drivers/pinctrl/aspeed/pinctrl_ast2500.c
/openbmc/u-boot/drivers/ram/aspeed/Kconfig
/openbmc/u-boot/drivers/ram/aspeed/sdram_ast2500.c
/openbmc/u-boot/drivers/ram/aspeed/sdram_ast2600.c
/openbmc/u-boot/drivers/spi/aspeed_spi.c
/openbmc/u-boot/include/configs/evb_ast2600_spl.h
/openbmc/u-boot/include/configs/evb_ast2600_spl_emmc.h
/openbmc/u-boot/include/configs/intel_ast2600.h
/openbmc/u-boot/include/dt-bindings/clock/ast2600-clock.h
/openbmc/u-boot/include/linux/mtd/spi-nor.h
/openbmc/u-boot/include/u-boot/rsa.h
/openbmc/u-boot/lib/rsa/Kconfig
8e7d5f4716-Feb-2021 Joel Stanley <joel@jms.id.au>

fit: Use hash.c to call SHA code

Currently the FIT hashing will call directly into the SHA algorithms to
get a hash.

This moves the fit code to use hash_lookup_algo, giving a common
entrypoint into

fit: Use hash.c to call SHA code

Currently the FIT hashing will call directly into the SHA algorithms to
get a hash.

This moves the fit code to use hash_lookup_algo, giving a common
entrypoint into the hashing code and removing the duplicated algorithm
look up. It also allows the use of hardware acceleration if configured.

Signed-off-by: Joel Stanley <joel@jms.id.au>

show more ...

45e7dfa916-Feb-2021 Joel Stanley <joel@jms.id.au>

hash: Allow for SHA512 hardware implementations

Similar to support for SHA1 and SHA256, allow the use of hardware hashing
engine by enabling the algorithm and setting CONFIG_SHA_HW_ACCEL /
CONFIG_S

hash: Allow for SHA512 hardware implementations

Similar to support for SHA1 and SHA256, allow the use of hardware hashing
engine by enabling the algorithm and setting CONFIG_SHA_HW_ACCEL /
CONFIG_SHA_PROG_HW_ACCEL.

(cherry picked from commit a479f103dc1c801d0c6fe90bbaf99ae1700a84dc)
Signed-off-by: Joel Stanley <joel@jms.id.au>

show more ...

47cd011822-Oct-2019 Jean-Jacques Hiblot <jjhiblot@ti.com>

spl: fit: don't load the firmware twice

When u-boot.img is a FIT image generated automatically by mkimage, the
configuration node has the following structure:
conf-1 {
description = "k3-am654-bas

spl: fit: don't load the firmware twice

When u-boot.img is a FIT image generated automatically by mkimage, the
configuration node has the following structure:
conf-1 {
description = "k3-am654-base-board";
firmware = "firmware-1";
loadables = "firmware-1";
fdt = "fdt-1";
};

The firmware is referenced twice. Once by the 'firmware' property and
once by the 'loadables' property. Currently this result in the firmware
being loaded twice. This is not a big problem but has an impact on the
boot time.
Fixing it by not loading a loadable image if it is also the firmware image.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Andreas Dannenberg <dannenberg@ti.com>
(cherry picked from commit 6b8b98d54d8e74c8b4c6cfe431e88c90efcea72d)
Signed-off-by: Joel Stanley <joel@jms.id.au>

show more ...

a7fc7ebf12-Jan-2021 Heinrich Schuchardt <xypron.glpk@gmx.de>

image-fit: fit_check_format check for valid FDT

fit_check_format() must check that the buffer contains a flattened device
tree before calling any device tree library functions.

Failure to do may ca

image-fit: fit_check_format check for valid FDT

fit_check_format() must check that the buffer contains a flattened device
tree before calling any device tree library functions.

Failure to do may cause segmentation faults.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
(cherry picked from commit ea1a9ec5f430359720d9a0621ed1acfbba6a142a)
Signed-off-by: Joel Stanley <joel@jms.id.au>

show more ...

1b8e2cf115-Jun-2020 Harald Seiler <hws@denx.de>

common: hash: Remove a debug printf statement

Remove a left-over debug printf that was introduced with SHA512 support.

Fixes: d16b38f42704 ("Add support for SHA384 and SHA512")
Signed-off-by: Haral

common: hash: Remove a debug printf statement

Remove a left-over debug printf that was introduced with SHA512 support.

Fixes: d16b38f42704 ("Add support for SHA384 and SHA512")
Signed-off-by: Harald Seiler <hws@denx.de>
(cherry picked from commit 7a81989b7b04bd87d1e684f2bafdc92a9c16fecc)
Signed-off-by: Joel Stanley <joel@jms.id.au>

show more ...

e9221d0316-Apr-2020 Reuben Dowle <reubendowle0@gmail.com>

Add support for SHA384 and SHA512

The current recommendation for best security practice from the US government
is to use SHA384 for TOP SECRET [1].

This patch adds support for SHA384 and SHA512 in

Add support for SHA384 and SHA512

The current recommendation for best security practice from the US government
is to use SHA384 for TOP SECRET [1].

This patch adds support for SHA384 and SHA512 in the hash command, and also
allows FIT images to be hashed with these algorithms, and signed with
sha384,rsaXXXX and sha512,rsaXXXX

The SHA implementation is adapted from the linux kernel implementation.

[1] Commercial National Security Algorithm Suite
http://www.iad.gov/iad/programs/iad-initiatives/cnsa-suite.cfm

Signed-off-by: Reuben Dowle <reuben.dowle@4rf.com>
(cherry picked from commit d16b38f42704fe3cc94fbee1601be96045013151)
Signed-off-by: Joel Stanley <joel@jms.id.au>

show more ...

5e0d068c18-Mar-2020 Simon Glass <sjg@chromium.org>

image: Check hash-nodes when checking configurations

It is currently possible to use a different configuration's signature and
thus bypass the configuration check. Make sure that the configuration n

image: Check hash-nodes when checking configurations

It is currently possible to use a different configuration's signature and
thus bypass the configuration check. Make sure that the configuration node
that was hashed matches the one being checked, to catch this problem.

Also add a proper function comment to fit_config_check_sig() and make it
static.

Signed-off-by: Simon Glass <sjg@chromium.org>
(cherry picked from commit 67acad3db71bb372458fbb8a77749f5eb88aa324)
Signed-off-by: Joel Stanley <joel@jms.id.au>

show more ...

e452a52718-Mar-2020 Simon Glass <sjg@chromium.org>

image: Return an error message from fit_config_verify_sig()

This function only returns an error message sometimes. Update it to always
return an error message if one is available. This makes it easi

image: Return an error message from fit_config_verify_sig()

This function only returns an error message sometimes. Update it to always
return an error message if one is available. This makes it easier to see
what went wrong.

Signed-off-by: Simon Glass <sjg@chromium.org>
(cherry picked from commit 472f9113dbbbed88345f3d38de3ff37ca163508e)
Signed-off-by: Joel Stanley <joel@jms.id.au>

show more ...

d7d7111318-Mar-2020 Simon Glass <sjg@chromium.org>

image: Be a little more verbose when checking signatures

It is useful to be a little more specific about what is being checked.
Update a few messages to help with this.

Signed-off-by: Simon Glass <

image: Be a little more verbose when checking signatures

It is useful to be a little more specific about what is being checked.
Update a few messages to help with this.

Signed-off-by: Simon Glass <sjg@chromium.org>
(cherry picked from commit 382cf62039f775a1aec771645e3cbc32e1e2f0e3)
Signed-off-by: Joel Stanley <joel@jms.id.au>

show more ...

c294112e14-Jun-2019 Patrick Doyle <wpdster@gmail.com>

rsa: reject images with unknown padding

Previously we would store NULL in info->padding and jump to an illegal
instruction if an unknown value for "padding" was specified in the
device tree.

Signed

rsa: reject images with unknown padding

Previously we would store NULL in info->padding and jump to an illegal
instruction if an unknown value for "padding" was specified in the
device tree.

Signed-off-by: Patrick Doyle <pdoyle@irobot.com>
(cherry picked from commit 19495dd9b6f5f4e893b56b0c73e14b2e671c3780)
Signed-off-by: Joel Stanley <joel@jms.id.au>

show more ...

c50c63b211-Mar-2020 Heinrich Schuchardt <xypron.glpk@gmx.de>

fit: check return value of fit_image_get_data_size()

GCC-10 reports:

In file included from tools/common/image-fit.c:1:
include/image.h: In function ‘fit_image_get_data_and_size’:
./tools/../common/

fit: check return value of fit_image_get_data_size()

GCC-10 reports:

In file included from tools/common/image-fit.c:1:
include/image.h: In function ‘fit_image_get_data_and_size’:
./tools/../common/image-fit.c:1015:9: warning: ‘len’ may be used
uninitialized in this function [-Wmaybe-uninitialized]
1015 | *size = len;
| ~~~~~~^~~~~
./tools/../common/image-fit.c:996:6: note: ‘len’ was declared here
996 | int len;
| ^~~

Add the missing check of the return value of fit_image_get_data_size().

Fixes: c3c863880479 ("add FIT data-position & data-offset property support")
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
(cherry picked from commit 183780491f9b45da6bec9627304b2c26169e8801)
Signed-off-by: Joel Stanley <joel@jms.id.au>

show more ...


/openbmc/u-boot/arch/arm/dts/Makefile
/openbmc/u-boot/arch/arm/dts/ast2600-evb.dts
/openbmc/u-boot/arch/arm/dts/ast2600-intel.dts
/openbmc/u-boot/arch/arm/dts/ast2600-ncsi.dts
/openbmc/u-boot/arch/arm/dts/ast2600a1-evb.dts
/openbmc/u-boot/arch/arm/include/asm/arch-aspeed/platform.h
/openbmc/u-boot/arch/arm/mach-aspeed/ast2500/board_common.c
/openbmc/u-boot/arch/arm/mach-aspeed/ast2500/platform.S
/openbmc/u-boot/arch/arm/mach-aspeed/ast2600/Kconfig
/openbmc/u-boot/arch/arm/mach-aspeed/ast2600/board_common.c
/openbmc/u-boot/arch/arm/mach-aspeed/ast2600/platform.S
/openbmc/u-boot/arch/arm/mach-aspeed/ast2600/scu_info.c
/openbmc/u-boot/arch/arm/mach-aspeed/ast2600/spl_boot.c
/openbmc/u-boot/board/aspeed/ast2600_intel/Kconfig
/openbmc/u-boot/board/aspeed/ast2600_intel/Makefile
/openbmc/u-boot/board/aspeed/ast2600_intel/intel.c
/openbmc/u-boot/board/aspeed/evb_ast2600/evb_ast2600.c
/openbmc/u-boot/cmd/aspeed/dramtest.c
/openbmc/u-boot/cmd/aspeed/nettest/comminf.h
/openbmc/u-boot/cmd/aspeed/nettest/mactest.c
/openbmc/u-boot/cmd/aspeed/nettest/ncsi.c
/openbmc/u-boot/cmd/aspeed/nettest/ncsi.h
/openbmc/u-boot/cmd/aspeed/nettest/phy.c
/openbmc/u-boot/cmd/aspeed/nettest/phy_tbl.h
/openbmc/u-boot/cmd/aspeed/nettest/swfunc.h
/openbmc/u-boot/cmd/otp.c
/openbmc/u-boot/cmd/otp_info.h
image-fit.c
/openbmc/u-boot/configs/ast2600_openbmc_defconfig
/openbmc/u-boot/configs/evb-ast2500-spl_defconfig
/openbmc/u-boot/configs/evb-ast2600-emmc-cot_defconfig
/openbmc/u-boot/configs/evb-ast2600-emmc_defconfig
/openbmc/u-boot/configs/evb-ast2600-obmc-emmc-cot_defconfig
/openbmc/u-boot/configs/evb-ast2600-obmc-emmc_defconfig
/openbmc/u-boot/configs/evb-ast2600-spl-ecc_defconfig
/openbmc/u-boot/configs/evb-ast2600-spl-ncsi_defconfig
/openbmc/u-boot/configs/evb-ast2600-spl_defconfig
/openbmc/u-boot/configs/evb-ast2600a1-emmc-cot_defconfig
/openbmc/u-boot/configs/evb-ast2600a1-emmc_defconfig
/openbmc/u-boot/configs/evb-ast2600a1-spl-ecc_defconfig
/openbmc/u-boot/configs/evb-ast2600a1-spl_defconfig
/openbmc/u-boot/drivers/clk/aspeed/clk_ast2600.c
/openbmc/u-boot/drivers/mmc/aspeed_sdhci.c
/openbmc/u-boot/drivers/mmc/aspeed_sdhci_ic.c
/openbmc/u-boot/drivers/mtd/spi/spi-nor-core.c
/openbmc/u-boot/drivers/mtd/spi/spi-nor-ids.c
/openbmc/u-boot/drivers/net/phy/broadcom.c
/openbmc/u-boot/drivers/net/phy/realtek.c
/openbmc/u-boot/drivers/ram/aspeed/sdram_ast2600.c
/openbmc/u-boot/drivers/spi/aspeed_spi.c
/openbmc/u-boot/include/configs/evb_ast2600_spl.h
/openbmc/u-boot/include/configs/intel_ast2600.h
/openbmc/u-boot/include/linux/mtd/spi-nor.h
/openbmc/u-boot/scripts/dtc/dtc-lexer.l
/openbmc/u-boot/tools/ast2600_ubimg_gen.sh
cc2ae64d02-Dec-2020 Hongwei Zhang <hongweiz@ami.com>

common: fdt: Check for error return value

Check for negative return value of fdt_noffset from calling
boot_get_fdt_fit().

Signed-off-by: Hongwei Zhang <hongweiz@ami.com>
Reviewed-by: Simon Glass <s

common: fdt: Check for error return value

Check for negative return value of fdt_noffset from calling
boot_get_fdt_fit().

Signed-off-by: Hongwei Zhang <hongweiz@ami.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Link: https://patchwork.ozlabs.org/project/uboot/patch/20201202194703.8793-2-hongweiz@ami.com/
Signed-off-by: Joel Stanley <joel@jms.id.au>

show more ...


/openbmc/u-boot/Kconfig
/openbmc/u-boot/arch/arm/dts/Makefile
/openbmc/u-boot/arch/arm/dts/ast2400-evb.dts
/openbmc/u-boot/arch/arm/dts/ast2400-u-boot.dtsi
/openbmc/u-boot/arch/arm/dts/ast2400.dtsi
/openbmc/u-boot/arch/arm/dts/ast2500-evb.dts
/openbmc/u-boot/arch/arm/dts/ast2600-evb.dts
/openbmc/u-boot/arch/arm/dts/ast2600-fpga.dts
/openbmc/u-boot/arch/arm/dts/ast2600-ncsi.dts
/openbmc/u-boot/arch/arm/dts/ast2600-rainier.dts
/openbmc/u-boot/arch/arm/dts/ast2600-slt.dts
/openbmc/u-boot/arch/arm/dts/ast2600-tacoma.dts
/openbmc/u-boot/arch/arm/dts/ast2600.dtsi
/openbmc/u-boot/arch/arm/dts/ast2600a0-evb.dts
/openbmc/u-boot/arch/arm/dts/ast2600a1-evb.dts
/openbmc/u-boot/arch/arm/include/asm/arch-aspeed/boot0.h
/openbmc/u-boot/arch/arm/include/asm/arch-aspeed/platform.h
/openbmc/u-boot/arch/arm/include/asm/arch-aspeed/scu_ast2400.h
/openbmc/u-boot/arch/arm/include/asm/arch-aspeed/scu_ast2600.h
/openbmc/u-boot/arch/arm/mach-aspeed/Kconfig
/openbmc/u-boot/arch/arm/mach-aspeed/Makefile
/openbmc/u-boot/arch/arm/mach-aspeed/ast2400/Kconfig
/openbmc/u-boot/arch/arm/mach-aspeed/ast2400/Makefile
/openbmc/u-boot/arch/arm/mach-aspeed/ast2400/board_common.c
/openbmc/u-boot/arch/arm/mach-aspeed/ast2400/platform.S
/openbmc/u-boot/arch/arm/mach-aspeed/ast2400/scu_info.c
/openbmc/u-boot/arch/arm/mach-aspeed/ast2400/u-boot-spl.lds
/openbmc/u-boot/arch/arm/mach-aspeed/ast2400/utils.S
/openbmc/u-boot/arch/arm/mach-aspeed/ast2500/board_common.c
/openbmc/u-boot/arch/arm/mach-aspeed/ast2500/platform.S
/openbmc/u-boot/arch/arm/mach-aspeed/ast2500/scu_info.c
/openbmc/u-boot/arch/arm/mach-aspeed/ast2600/Kconfig
/openbmc/u-boot/arch/arm/mach-aspeed/ast2600/platform.S
/openbmc/u-boot/arch/arm/mach-aspeed/ast2600/scu_info.c
/openbmc/u-boot/arch/arm/mach-aspeed/ast2600/spl_boot.c
/openbmc/u-boot/arch/arm/mach-aspeed/ast2600/u-boot-spl.lds
/openbmc/u-boot/board/aspeed/evb_ast2400/Kconfig
/openbmc/u-boot/board/aspeed/evb_ast2400/Makefile
/openbmc/u-boot/board/aspeed/evb_ast2400/evb_ast2400.c
/openbmc/u-boot/board/aspeed/evb_ast2600/Kconfig
/openbmc/u-boot/board/aspeed/evb_ast2600/Makefile
/openbmc/u-boot/board/aspeed/evb_ast2600/evb_ast2600.c
/openbmc/u-boot/cmd/aspeed/dramtest.c
/openbmc/u-boot/cmd/aspeed/nettest/cmd_nettest.c
/openbmc/u-boot/cmd/aspeed/nettest/comminf.h
/openbmc/u-boot/cmd/aspeed/nettest/mac.c
/openbmc/u-boot/cmd/aspeed/nettest/mac.h
/openbmc/u-boot/cmd/aspeed/nettest/mactest.c
/openbmc/u-boot/cmd/aspeed/nettest/ncsi.c
/openbmc/u-boot/cmd/aspeed/nettest/phy.c
/openbmc/u-boot/cmd/aspeed/nettest/phy.h
/openbmc/u-boot/cmd/aspeed/nettest/phy_tbl.h
/openbmc/u-boot/cmd/aspeed/nettest/swfunc.h
/openbmc/u-boot/cmd/aspeed/peci.c
/openbmc/u-boot/cmd/aspeed/plltest.c
/openbmc/u-boot/cmd/otp.c
/openbmc/u-boot/cmd/otp_info.h
image-fdt.c
/openbmc/u-boot/configs/evb-ast2400_defconfig
/openbmc/u-boot/configs/evb-ast2500_defconfig
/openbmc/u-boot/configs/evb-ast2600-cot_defconfig
/openbmc/u-boot/configs/evb-ast2600-ecc_defconfig
/openbmc/u-boot/configs/evb-ast2600-emmc-cot_defconfig
/openbmc/u-boot/configs/evb-ast2600-emmc_defconfig
/openbmc/u-boot/configs/evb-ast2600-spl-ecc_defconfig
/openbmc/u-boot/configs/evb-ast2600-spl-ncsi_defconfig
/openbmc/u-boot/configs/evb-ast2600-spl-tiny_defconfig
/openbmc/u-boot/configs/evb-ast2600-spl_defconfig
/openbmc/u-boot/configs/evb-ast2600_defconfig
/openbmc/u-boot/configs/evb-ast2600a1-cot_defconfig
/openbmc/u-boot/configs/evb-ast2600a1-ecc_defconfig
/openbmc/u-boot/configs/evb-ast2600a1-emmc-cot_defconfig
/openbmc/u-boot/configs/evb-ast2600a1-emmc_defconfig
/openbmc/u-boot/configs/evb-ast2600a1-spl-ecc_defconfig
/openbmc/u-boot/configs/evb-ast2600a1-spl_defconfig
/openbmc/u-boot/configs/evb-ast2600a1_defconfig
/openbmc/u-boot/configs/evb-ast2605_defconfig
/openbmc/u-boot/configs/fpga-ast2600-spl_defconfig
/openbmc/u-boot/configs/fpga-ast2600_defconfig
/openbmc/u-boot/configs/fpga-ast2605_defconfig
/openbmc/u-boot/drivers/clk/aspeed/Makefile
/openbmc/u-boot/drivers/clk/aspeed/clk_ast2400.c
/openbmc/u-boot/drivers/clk/aspeed/clk_ast2600.c
/openbmc/u-boot/drivers/gpio/aspeed_gpio.c
/openbmc/u-boot/drivers/misc/aspeed_ahbc.c
/openbmc/u-boot/drivers/misc/aspeed_dp.c
/openbmc/u-boot/drivers/misc/dp_mcu_firmware.h
/openbmc/u-boot/drivers/mtd/spi/spi-nor-core.c
/openbmc/u-boot/drivers/mtd/spi/spi-nor-ids.c
/openbmc/u-boot/drivers/net/ftgmac100.c
/openbmc/u-boot/drivers/net/phy/ncsi.c
/openbmc/u-boot/drivers/pinctrl/aspeed/Kconfig
/openbmc/u-boot/drivers/pinctrl/aspeed/Makefile
/openbmc/u-boot/drivers/pinctrl/aspeed/pinctrl_ast2400.c
/openbmc/u-boot/drivers/pinctrl/aspeed/pinctrl_ast2600.c
/openbmc/u-boot/drivers/ram/aspeed/sdram_ast2600.c
/openbmc/u-boot/drivers/reset/aspeed/Kconfig
/openbmc/u-boot/drivers/reset/aspeed/Makefile
/openbmc/u-boot/drivers/reset/aspeed/reset-ast2400.c
/openbmc/u-boot/drivers/spi/aspeed_spi.c
/openbmc/u-boot/include/configs/aspeed-common.h
/openbmc/u-boot/include/configs/evb_ast2400.h
/openbmc/u-boot/include/configs/evb_ast2600.h
/openbmc/u-boot/include/configs/evb_ast2600_spl.h
/openbmc/u-boot/include/dt-bindings/clock/ast2400-clock.h
/openbmc/u-boot/include/dt-bindings/clock/ast2500-clock.h
/openbmc/u-boot/include/dt-bindings/reset/ast2400-reset.h
/openbmc/u-boot/include/dt-bindings/reset/ast2600-reset.h
/openbmc/u-boot/include/linux/mtd/spi-nor.h
/openbmc/u-boot/include/phy.h
0d1d4e8123-Jun-2020 Chia-Wei, Wang <chiawei_wang@aspeedtech.com>

ARM: spl: Add SPL relocation support


/openbmc/u-boot/arch/arm/dts/ast2600.dtsi
/openbmc/u-boot/arch/arm/dts/ast2600a1-evb.dts
/openbmc/u-boot/arch/arm/include/asm/arch-aspeed/aspeed_verify.h
/openbmc/u-boot/arch/arm/include/asm/arch-aspeed/crypto.h
/openbmc/u-boot/arch/arm/include/asm/arch-aspeed/spl.h
/openbmc/u-boot/arch/arm/include/asm/spl.h
/openbmc/u-boot/arch/arm/lib/Makefile
/openbmc/u-boot/arch/arm/lib/crt0.S
/openbmc/u-boot/arch/arm/mach-aspeed/Kconfig
/openbmc/u-boot/arch/arm/mach-aspeed/ast2500/scu_info.c
/openbmc/u-boot/arch/arm/mach-aspeed/ast2600/Makefile
/openbmc/u-boot/arch/arm/mach-aspeed/ast2600/aspeed_verify.c
/openbmc/u-boot/arch/arm/mach-aspeed/ast2600/crypto.c
/openbmc/u-boot/arch/arm/mach-aspeed/ast2600/platform.S
/openbmc/u-boot/arch/arm/mach-aspeed/ast2600/spl.c
/openbmc/u-boot/arch/arm/mach-aspeed/ast2600/spl_boot.c
/openbmc/u-boot/cmd/Kconfig
/openbmc/u-boot/cmd/Makefile
/openbmc/u-boot/cmd/aspeed/Makefile
/openbmc/u-boot/cmd/boots.c
/openbmc/u-boot/cmd/otp.c
spl/Kconfig
spl/spl.c
/openbmc/u-boot/configs/evb-ast2600-cot_defconfig
/openbmc/u-boot/configs/evb-ast2600-ecc_defconfig
/openbmc/u-boot/configs/evb-ast2600-emmc-cot_defconfig
/openbmc/u-boot/configs/evb-ast2600-emmc_defconfig
/openbmc/u-boot/configs/evb-ast2600-spl-ecc_defconfig
/openbmc/u-boot/configs/evb-ast2600-spl_defconfig
/openbmc/u-boot/configs/evb-ast2600_defconfig
/openbmc/u-boot/configs/evb-ast2600a1-cot_defconfig
/openbmc/u-boot/configs/evb-ast2600a1-ecc_defconfig
/openbmc/u-boot/configs/evb-ast2600a1-emmc-cot_defconfig
/openbmc/u-boot/configs/evb-ast2600a1-emmc_defconfig
/openbmc/u-boot/configs/evb-ast2600a1-spl-ecc_defconfig
/openbmc/u-boot/configs/evb-ast2600a1-spl_defconfig
/openbmc/u-boot/configs/evb-ast2600a1_defconfig
/openbmc/u-boot/configs/fpga-ast2600-spl_defconfig
/openbmc/u-boot/drivers/misc/Kconfig
/openbmc/u-boot/drivers/misc/Makefile
/openbmc/u-boot/drivers/misc/aspeed_dp.c
/openbmc/u-boot/drivers/misc/dp_mcu_firmware.h
/openbmc/u-boot/drivers/spi/aspeed_spi.c
/openbmc/u-boot/include/configs/evb_ast2600a1_spl.h
/openbmc/u-boot/include/configs/fpga_ast2600_spl.h
/openbmc/u-boot/scripts/Makefile.spl
65f2e68904-Jun-2019 Andreas Dannenberg <dannenberg@ti.com>

spl: Make image loader infrastructure more universal

The current U-Boot SPL image loader infrastructure is very powerful,
able to initialize and load from a variety of boot media however it
is stron

spl: Make image loader infrastructure more universal

The current U-Boot SPL image loader infrastructure is very powerful,
able to initialize and load from a variety of boot media however it
is strongly geared towards loading specific types of images in a very
specific way. To address the need being able to use this infrastructure
to load arbitrary image files go ahead and refactor it as follows:

- Refactor existing spl_mmc_load_image function into superset function,
accepting additional arguments such as filenames and media load offset
(same concept can also be applied toother spl_XXX_load_image functions)
- Extend the loader function to "remember" their peripheral initialization
status so that the init is only done once during the boot process,
- Extend the FIT image loading function to allow skipping the parsing/
processing of the FIT contents (so that this can be done separately
in a more customized fashion)
- Populate the SPL_LOAD_IMAGE_METHOD() list with a trampoline function,
invoking the newly refactored superset functions in a way to maintain
compatibility with the existing behavior

This refactoring initially covers MMC/SD card loading (RAW and FS-based).

Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>

show more ...


/openbmc/u-boot/arch/arm/dts/Makefile
/openbmc/u-boot/arch/arm/dts/ast2500-evb.dts
/openbmc/u-boot/arch/arm/dts/ast2500.dtsi
/openbmc/u-boot/arch/arm/dts/ast2600-rainier.dts
/openbmc/u-boot/arch/arm/dts/ast2600-tacoma.dts
/openbmc/u-boot/arch/arm/dts/ast2600.dtsi
/openbmc/u-boot/arch/arm/include/asm/arch-aspeed/aspeed_scu_info.h
/openbmc/u-boot/arch/arm/include/asm/arch-aspeed/platform.h
/openbmc/u-boot/arch/arm/mach-aspeed/ast2500/scu_info.c
/openbmc/u-boot/arch/arm/mach-aspeed/ast2600/aspeed_verify.c
/openbmc/u-boot/arch/arm/mach-aspeed/ast2600/board_common.c
/openbmc/u-boot/arch/arm/mach-aspeed/ast2600/crypto.c
/openbmc/u-boot/arch/arm/mach-aspeed/ast2600/platform.S
/openbmc/u-boot/arch/arm/mach-aspeed/ast2600/scu_info.c
/openbmc/u-boot/arch/arm/mach-aspeed/cpuinfo.c
/openbmc/u-boot/board/aspeed/evb_ast2600a1/evb_ast2600a1.c
/openbmc/u-boot/cmd/Kconfig
/openbmc/u-boot/cmd/Makefile
/openbmc/u-boot/cmd/aspeed/Kconfig
/openbmc/u-boot/cmd/aspeed/Makefile
/openbmc/u-boot/cmd/aspeed/dramtest.c
/openbmc/u-boot/cmd/aspeed/nettest/Makefile
/openbmc/u-boot/cmd/aspeed/nettest/cmd_nettest.c
/openbmc/u-boot/cmd/aspeed/nettest/comminf.h
/openbmc/u-boot/cmd/aspeed/nettest/mac.c
/openbmc/u-boot/cmd/aspeed/nettest/mac.h
/openbmc/u-boot/cmd/aspeed/nettest/mac_api.h
/openbmc/u-boot/cmd/aspeed/nettest/mactest.c
/openbmc/u-boot/cmd/aspeed/nettest/mem_io.c
/openbmc/u-boot/cmd/aspeed/nettest/mem_io.h
/openbmc/u-boot/cmd/aspeed/nettest/ncsi.c
/openbmc/u-boot/cmd/aspeed/nettest/ncsi.h
/openbmc/u-boot/cmd/aspeed/nettest/phy.c
/openbmc/u-boot/cmd/aspeed/nettest/phy.h
/openbmc/u-boot/cmd/aspeed/nettest/phy_api.h
/openbmc/u-boot/cmd/aspeed/nettest/phy_tbl.h
/openbmc/u-boot/cmd/aspeed/nettest/swfunc.h
/openbmc/u-boot/cmd/aspeed/peci.c
/openbmc/u-boot/cmd/aspeed/plltest.c
/openbmc/u-boot/cmd/otp.c
spl/spl_fit.c
spl/spl_mmc.c
/openbmc/u-boot/configs/ast2600_openbmc_defconfig
/openbmc/u-boot/configs/evb-ast2500-spl_defconfig
/openbmc/u-boot/configs/evb-ast2500_defconfig
/openbmc/u-boot/configs/evb-ast2600-spl-tiny_defconfig
/openbmc/u-boot/configs/evb-ast2600a0-cot_defconfig
/openbmc/u-boot/configs/evb-ast2600a0-spl_defconfig
/openbmc/u-boot/configs/evb-ast2600a0_defconfig
/openbmc/u-boot/configs/evb-ast2600a1-cot_defconfig
/openbmc/u-boot/configs/evb-ast2600a1-ecc_defconfig
/openbmc/u-boot/configs/evb-ast2600a1-emmc_defconfig
/openbmc/u-boot/configs/evb-ast2600a1-spl-ecc_defconfig
/openbmc/u-boot/configs/evb-ast2600a1-spl_defconfig
/openbmc/u-boot/configs/evb-ast2600a1_defconfig
/openbmc/u-boot/configs/ncsi-ast2600a0_defconfig
/openbmc/u-boot/configs/ncsi-ast2600a1_defconfig
/openbmc/u-boot/configs/slt-ast2600_defconfig
/openbmc/u-boot/drivers/clk/aspeed/clk_ast2600.c
/openbmc/u-boot/drivers/pci/pcie_aspeed.c
/openbmc/u-boot/drivers/pinctrl/aspeed/pinctrl_ast2500.c
/openbmc/u-boot/drivers/pinctrl/aspeed/pinctrl_ast2600.c
/openbmc/u-boot/drivers/ram/aspeed/sdram_ast2600.c
/openbmc/u-boot/drivers/spi/aspeed_spi.c
/openbmc/u-boot/drivers/watchdog/ast_wdt.c
/openbmc/u-boot/env/Kconfig
/openbmc/u-boot/include/configs/aspeed-common.h
/openbmc/u-boot/include/configs/evb_ast2600a1_spl.h
/openbmc/u-boot/include/dt-bindings/reset/ast2600-reset.h
/openbmc/u-boot/include/spl.h
6b2936f208-Apr-2020 Chia-Wei, Wang <chiawei_wang@aspeedtech.com>

Revert "spl: fit: Separate FIT image load and processing"

This reverts commit 7e52eee802b06bbe118e8e0e47d673a4a1ba7cf1.

7e52eee807-Apr-2020 Chia-Wei, Wang <chiawei_wang@aspeedtech.com>

spl: fit: Separate FIT image load and processing

SPL puts FIT image load and processing in the same function,
where the flexibility of customized loading and processing is
limited.

This patch separ

spl: fit: Separate FIT image load and processing

SPL puts FIT image load and processing in the same function,
where the flexibility of customized loading and processing is
limited.

This patch separates the FIT image load and content processing
into individual functions. The processing function is made as
weak implementation for better customization convenience.

show more ...


/openbmc/u-boot/Makefile
/openbmc/u-boot/README
/openbmc/u-boot/arch/arc/Kconfig
/openbmc/u-boot/arch/arm/Kconfig
/openbmc/u-boot/arch/arm/cpu/armv7/start.S
/openbmc/u-boot/arch/arm/dts/Makefile
/openbmc/u-boot/arch/arm/dts/ast2500.dtsi
/openbmc/u-boot/arch/arm/dts/ast2600-fpga.dts
/openbmc/u-boot/arch/arm/dts/ast2600-slt.dts
/openbmc/u-boot/arch/arm/dts/ast2600-u-boot.dtsi
/openbmc/u-boot/arch/arm/dts/ast2600.dtsi
/openbmc/u-boot/arch/arm/dts/ast2600a0-evb.dts
/openbmc/u-boot/arch/arm/dts/ast2600a0-ncsi.dts
/openbmc/u-boot/arch/arm/dts/ast2600a1-evb.dts
/openbmc/u-boot/arch/arm/dts/ast2600a1-ncsi.dts
/openbmc/u-boot/arch/arm/include/asm/arch-aspeed/aspeed_scu_info.h
/openbmc/u-boot/arch/arm/include/asm/arch-aspeed/aspeed_verify.h
/openbmc/u-boot/arch/arm/include/asm/arch-aspeed/boot0.h
/openbmc/u-boot/arch/arm/include/asm/arch-aspeed/crypto.h
/openbmc/u-boot/arch/arm/include/asm/arch-aspeed/h2x_ast2600.h
/openbmc/u-boot/arch/arm/include/asm/arch-aspeed/platform.h
/openbmc/u-boot/arch/arm/include/asm/arch-aspeed/scu_ast2600.h
/openbmc/u-boot/arch/arm/include/asm/arch-aspeed/sdram_ast2500.h
/openbmc/u-boot/arch/arm/include/asm/arch-aspeed/sdram_ast2600.h
/openbmc/u-boot/arch/arm/lib/crt0.S
/openbmc/u-boot/arch/arm/lib/relocate.S
/openbmc/u-boot/arch/arm/mach-aspeed/Kconfig
/openbmc/u-boot/arch/arm/mach-aspeed/Makefile
/openbmc/u-boot/arch/arm/mach-aspeed/ast2500/Makefile
/openbmc/u-boot/arch/arm/mach-aspeed/ast2500/board_common.c
/openbmc/u-boot/arch/arm/mach-aspeed/ast2500/platform.S
/openbmc/u-boot/arch/arm/mach-aspeed/ast2500/scu_info.c
/openbmc/u-boot/arch/arm/mach-aspeed/ast2500/spl.c
/openbmc/u-boot/arch/arm/mach-aspeed/ast2500/utils.S
/openbmc/u-boot/arch/arm/mach-aspeed/ast2600/Kconfig
/openbmc/u-boot/arch/arm/mach-aspeed/ast2600/Makefile
/openbmc/u-boot/arch/arm/mach-aspeed/ast2600/aspeed_verify.c
/openbmc/u-boot/arch/arm/mach-aspeed/ast2600/board_common.c
/openbmc/u-boot/arch/arm/mach-aspeed/ast2600/cache.c
/openbmc/u-boot/arch/arm/mach-aspeed/ast2600/crypto.c
/openbmc/u-boot/arch/arm/mach-aspeed/ast2600/platform.S
/openbmc/u-boot/arch/arm/mach-aspeed/ast2600/scu_info.c
/openbmc/u-boot/arch/arm/mach-aspeed/ast2600/spl.c
/openbmc/u-boot/arch/arm/mach-aspeed/ast2600/utils.S
/openbmc/u-boot/arch/arm/mach-aspeed/cpuinfo.c
/openbmc/u-boot/board/aspeed/evb_ast2600a0/Kconfig
/openbmc/u-boot/board/aspeed/evb_ast2600a0/Makefile
/openbmc/u-boot/board/aspeed/evb_ast2600a0/evb_ast2600a0.c
/openbmc/u-boot/board/aspeed/evb_ast2600a1/Kconfig
/openbmc/u-boot/board/aspeed/evb_ast2600a1/Makefile
/openbmc/u-boot/board/aspeed/evb_ast2600a1/evb_ast2600a1.c
/openbmc/u-boot/board/aspeed/ncsi_ast2600a0/Kconfig
/openbmc/u-boot/board/aspeed/ncsi_ast2600a0/Makefile
/openbmc/u-boot/board/aspeed/ncsi_ast2600a0/ncsi_ast2600a0.c
/openbmc/u-boot/board/aspeed/ncsi_ast2600a1/Kconfig
/openbmc/u-boot/board/aspeed/ncsi_ast2600a1/Makefile
/openbmc/u-boot/board/aspeed/ncsi_ast2600a1/ncsi_ast2600a1.c
/openbmc/u-boot/board/aspeed/slt_ast2600/Kconfig
/openbmc/u-boot/board/aspeed/slt_ast2600/Makefile
/openbmc/u-boot/board/aspeed/slt_ast2600/slt_ast2600.c
/openbmc/u-boot/cmd/Kconfig
/openbmc/u-boot/cmd/Makefile
/openbmc/u-boot/cmd/dramtest.c
/openbmc/u-boot/cmd/fsi.c
/openbmc/u-boot/cmd/net.c
/openbmc/u-boot/cmd/nettest/Makefile
/openbmc/u-boot/cmd/nettest/cmd_nettest.c
/openbmc/u-boot/cmd/nettest/comminf.h
/openbmc/u-boot/cmd/nettest/mac.c
/openbmc/u-boot/cmd/nettest/mac.h
/openbmc/u-boot/cmd/nettest/mac_api.h
/openbmc/u-boot/cmd/nettest/mactest.c
/openbmc/u-boot/cmd/nettest/mem_io.c
/openbmc/u-boot/cmd/nettest/mem_io.h
/openbmc/u-boot/cmd/nettest/ncsi.c
/openbmc/u-boot/cmd/nettest/ncsi.h
/openbmc/u-boot/cmd/nettest/phy.c
/openbmc/u-boot/cmd/nettest/phy.h
/openbmc/u-boot/cmd/nettest/phy_api.h
/openbmc/u-boot/cmd/nettest/phy_tbl.h
/openbmc/u-boot/cmd/nettest/swfunc.h
/openbmc/u-boot/cmd/otp.c
/openbmc/u-boot/cmd/peci.c
/openbmc/u-boot/cmd/rng.c
spl/spl_fit.c
/openbmc/u-boot/configs/evb-ast2500-spl_defconfig
/openbmc/u-boot/configs/evb-ast2500_defconfig
/openbmc/u-boot/configs/evb-ast2600-spl-tiny_defconfig
/openbmc/u-boot/configs/evb-ast2600a0-cot_defconfig
/openbmc/u-boot/configs/evb-ast2600a0-spl_defconfig
/openbmc/u-boot/configs/evb-ast2600a0_defconfig
/openbmc/u-boot/configs/evb-ast2600a1-cot_defconfig
/openbmc/u-boot/configs/evb-ast2600a1-ecc_defconfig
/openbmc/u-boot/configs/evb-ast2600a1-emmc_defconfig
/openbmc/u-boot/configs/evb-ast2600a1-spl-ecc_defconfig
/openbmc/u-boot/configs/evb-ast2600a1-spl_defconfig
/openbmc/u-boot/configs/evb-ast2600a1_defconfig
/openbmc/u-boot/configs/fpga-ast2600-spl_defconfig
/openbmc/u-boot/configs/fpga-ast2600_defconfig
/openbmc/u-boot/configs/ncsi-ast2600a0_defconfig
/openbmc/u-boot/configs/ncsi-ast2600a1_defconfig
/openbmc/u-boot/configs/slt-ast2600_defconfig
/openbmc/u-boot/disk/part_dos.c
/openbmc/u-boot/drivers/clk/aspeed/clk_ast2600.c
/openbmc/u-boot/drivers/dma/Kconfig
/openbmc/u-boot/drivers/gpio/aspeed_gpio.c
/openbmc/u-boot/drivers/misc/Kconfig
/openbmc/u-boot/drivers/misc/Makefile
/openbmc/u-boot/drivers/misc/aspeed-fsi.c
/openbmc/u-boot/drivers/misc/aspeed_ahbc.c
/openbmc/u-boot/drivers/misc/aspeed_h2x.c
/openbmc/u-boot/drivers/mmc/aspeed_sdhci.c
/openbmc/u-boot/drivers/mmc/aspeed_sdhci_ic.c
/openbmc/u-boot/drivers/mmc/sdhci.c
/openbmc/u-boot/drivers/mtd/spi/spi-nor-core.c
/openbmc/u-boot/drivers/mtd/spi/spi-nor-ids.c
/openbmc/u-boot/drivers/net/ftgmac100.c
/openbmc/u-boot/drivers/net/ftgmac100.h
/openbmc/u-boot/drivers/net/phy/Kconfig
/openbmc/u-boot/drivers/net/phy/Makefile
/openbmc/u-boot/drivers/net/phy/broadcom.c
/openbmc/u-boot/drivers/net/phy/ncsi.c
/openbmc/u-boot/drivers/net/phy/phy.c
/openbmc/u-boot/drivers/pci/pci_auto.c
/openbmc/u-boot/drivers/pci/pcie_aspeed.c
/openbmc/u-boot/drivers/pinctrl/aspeed/pinctrl_ast2600.c
/openbmc/u-boot/drivers/ram/Makefile
/openbmc/u-boot/drivers/ram/aspeed/Kconfig
/openbmc/u-boot/drivers/ram/aspeed/Makefile
/openbmc/u-boot/drivers/ram/aspeed/sdram_ast2500.c
/openbmc/u-boot/drivers/ram/aspeed/sdram_ast2600.c
/openbmc/u-boot/drivers/ram/aspeed/sdram_phy_ast2600.h
/openbmc/u-boot/drivers/spi/aspeed_spi.c
/openbmc/u-boot/drivers/sysreset/sysreset_ast.c
/openbmc/u-boot/drivers/usb/host/Kconfig
/openbmc/u-boot/drivers/usb/host/Makefile
/openbmc/u-boot/drivers/usb/host/ehci-aspeed.c
/openbmc/u-boot/include/aspeed_fsi.h
/openbmc/u-boot/include/configs/aspeed-common.h
/openbmc/u-boot/include/configs/evb_ast2500.h
/openbmc/u-boot/include/configs/evb_ast2500_spl.h
/openbmc/u-boot/include/configs/evb_ast2600a0.h
/openbmc/u-boot/include/configs/evb_ast2600a0_spl.h
/openbmc/u-boot/include/configs/evb_ast2600a1.h
/openbmc/u-boot/include/configs/evb_ast2600a1_spl.h
/openbmc/u-boot/include/configs/fpga_ast2600.h
/openbmc/u-boot/include/configs/fpga_ast2600_spl.h
/openbmc/u-boot/include/configs/ncsi_ast2600a0.h
/openbmc/u-boot/include/configs/ncsi_ast2600a1.h
/openbmc/u-boot/include/configs/slt_ast2600.h
/openbmc/u-boot/include/dt-bindings/clock/ast2600-clock.h
/openbmc/u-boot/include/dt-bindings/reset/ast2600-reset.h
/openbmc/u-boot/include/mmc.h
/openbmc/u-boot/include/net.h
/openbmc/u-boot/include/net/ncsi-pkt.h
/openbmc/u-boot/include/net/ncsi.h
/openbmc/u-boot/include/phy.h
/openbmc/u-boot/include/phy_interface.h
/openbmc/u-boot/include/sdhci.h
/openbmc/u-boot/lib/string.c
/openbmc/u-boot/net/net.c

12345678910>>...176