History log of /rk3399_rockchip-uboot/arch/arm/include/asm/arch-rockchip/bootrom.h (Results 1 – 11 of 11)
Revision Date Author Comments
# b2b4c2f5 01-Mar-2024 Yifeng Zhao <yifeng.zhao@rock-chips.com>

rockchip: spl: support bootrom boot id for rk3576

Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Change-Id: If7dbf20342514281864e58fd3fb2ccd32cae0c00


# b7307f89 28-Jun-2019 Jason Zhu <jason.zhu@rock-chips.com>

rockchip: bootrom: sync bootsource from bootrom

Add more bootsource:
1.BROM_BOOTSOURCE_UNKNOWN
2.BROM_BOOTSOURCE_I2C
3.BROM_BOOTSOURCE_SPI

Change-Id: Idd4c28caa532a22b576b255e12d1e83e4b96471d
Signe

rockchip: bootrom: sync bootsource from bootrom

Add more bootsource:
1.BROM_BOOTSOURCE_UNKNOWN
2.BROM_BOOTSOURCE_I2C
3.BROM_BOOTSOURCE_SPI

Change-Id: Idd4c28caa532a22b576b255e12d1e83e4b96471d
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>

show more ...


# 2daa9732 26-Sep-2018 Kever Yang <kever.yang@rock-chips.com>

rockchip: move BROM_BOOTSOURCE_ID_ADDR to bootrom.h

The macro BROM_BOOTSOURCE_ID_ADDR does not belong to sdram_common.h

Change-Id: I0490ff10b08287d71e3231baa999d3f096068c7c
Signed-off-by: Kever Yan

rockchip: move BROM_BOOTSOURCE_ID_ADDR to bootrom.h

The macro BROM_BOOTSOURCE_ID_ADDR does not belong to sdram_common.h

Change-Id: I0490ff10b08287d71e3231baa999d3f096068c7c
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>

show more ...


# 7a6ed8e8 22-Jan-2018 Kever Yang <kever.yang@rock-chips.com>

rockchip: declear boot_devices in bootrom.h

boot_devices may defined in soc file, and used in board file,
we need to delear it in header file.

Change-Id: I621dac73d0e00379da49b78b3a9079e30642881a
S

rockchip: declear boot_devices in bootrom.h

boot_devices may defined in soc file, and used in board file,
we need to delear it in header file.

Change-Id: I621dac73d0e00379da49b78b3a9079e30642881a
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>

show more ...


# 5cf14c03 29-Sep-2017 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>

rockchip: bootrom: add definitions to retrieve BROM boot-source

The Rockchip BROM allows reading where it booted from from SRAM.
This adds the necessary definitions (as received from Kever) for
the

rockchip: bootrom: add definitions to retrieve BROM boot-source

The Rockchip BROM allows reading where it booted from from SRAM.
This adds the necessary definitions (as received from Kever) for
the location of this information in the RK3399's SRAM and naming
for the constants used.

Change-Id: Iac090fa74837959ffc4bb42c75328016ee671be1
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
(cherry picked from commit 3b4f87735d093463e3b227a07a62996fc0b47b53)

show more ...


# 50b28820 10-Oct-2017 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>

UPSTREAM: rockchip: back-to-bootrom: allow passing a cmd to the bootrom

The BROM supports forcing it to enter download-mode, if an appropriate
result/cmd-word is returned to it. There already is a

UPSTREAM: rockchip: back-to-bootrom: allow passing a cmd to the bootrom

The BROM supports forcing it to enter download-mode, if an appropriate
result/cmd-word is returned to it. There already is a series to
support this in review, so this prepares the (newly C-version) of the
back-to-bootrom code to accept a cmd to passed on to the BROM.

All the existing call-sites are adjusted to match the changed function
signature.

Also sync the support to rk3036 / rk3228

Change-Id: I1ea9bc12d6d84a75c043754b0eba7b8959e81d69
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tested-by: Andy Yan <andy.yan@rock-chips.com>
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>

show more ...


# 3513fb1e 10-Oct-2017 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>

UPSTREAM: rockchip: back-to-bootrom: replace assembly-implementation with C-code

The back-to-bootrom implementation for Rockchip has always relied on
the stack-pointer being valid on entry, so there

UPSTREAM: rockchip: back-to-bootrom: replace assembly-implementation with C-code

The back-to-bootrom implementation for Rockchip has always relied on
the stack-pointer being valid on entry, so there was little reason to
have this as an assembly implementation.

This provides a new C-only implementation of save_boot_params and
back_to_bootrom (relying on setjmp/longjmp) and removes the older
assembly-only implementation.

Change-Id: Ic20320dbbb71744386107686120475943442cdd7
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tested-by: Andy Yan <andy.yan@rock-chips.com>
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>

show more ...


# 4f66e09b 09-May-2017 Stefano Babic <sbabic@denx.de>

Merge branch 'master' of git://git.denx.de/u-boot

Signed-off-by: Stefano Babic <sbabic@denx.de>


# e1bc64ee 15-Apr-2017 Simon Glass <sjg@chromium.org>

rockchip: Print a message when returning to the bootrom

At present if the return to bootrom fails (e.g. because you are not using
the Rockchip's bootrom's pointer table in MMC) then the board prints

rockchip: Print a message when returning to the bootrom

At present if the return to bootrom fails (e.g. because you are not using
the Rockchip's bootrom's pointer table in MMC) then the board prints
SPL message and hangs. Print a message first if we can, to help in
understanding what happened when it hangs.

Signed-off-by: Simon Glass <sjg@chromium.org>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Heiko Stuebner <heiko@sntech.de>

show more ...


# f9515756 17-Mar-2017 Tom Rini <trini@konsulko.com>

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

This includes support for rk3188 from Heiko Stübner and and rk3328 from
Kever Yang. Also included is SPL support for rk3399 and a fix for
rk3288 to get it bo

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

This includes support for rk3188 from Heiko Stübner and and rk3328 from
Kever Yang. Also included is SPL support for rk3399 and a fix for
rk3288 to get it booting again (spl_early_init()).

show more ...


# aade077e 18-Feb-2017 Heiko Stübner <heiko@sntech.de>

rockchip: Move bootrom-related declarations to a header

So far spl-boards have declared the back_to_brom() function as simple
extern in the files themself. That doesn't scale well if every boards
de

rockchip: Move bootrom-related declarations to a header

So far spl-boards have declared the back_to_brom() function as simple
extern in the files themself. That doesn't scale well if every boards
defines this on its own.
Therefore move the declarations to a bootrom header.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Tested-by: Kever Yang <kever.yang@rock-chips.com>

show more ...