mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-18 06:58:54 +00:00
rockchip: allow to build SPI images even without HAS_ROM option
This prepares for the creation of a u-boot-rockchip-spi.bin image similar to u-boot-rockchip.bin to the exception it's destined for SPI-NOR flashes instead of MMC storage medium. Cc: Quentin Schulz <foss+uboot@0leil.net> Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
This commit is contained in:
parent
a6e569fac3
commit
a4bb36df49
3 changed files with 4 additions and 6 deletions
|
@ -56,7 +56,7 @@
|
|||
};
|
||||
};
|
||||
|
||||
#ifdef CONFIG_ROCKCHIP_SPI_IMAGE
|
||||
#if defined(CONFIG_ROCKCHIP_SPI_IMAGE) && defined(CONFIG_HAS_ROM)
|
||||
&binman {
|
||||
rom {
|
||||
filename = "u-boot.rom";
|
||||
|
|
|
@ -60,7 +60,7 @@
|
|||
|
||||
};
|
||||
|
||||
#ifdef CONFIG_ROCKCHIP_SPI_IMAGE
|
||||
#if defined(CONFIG_ROCKCHIP_SPI_IMAGE) && defined(CONFIG_HAS_ROM)
|
||||
&binman {
|
||||
rom {
|
||||
filename = "u-boot.rom";
|
||||
|
|
|
@ -425,12 +425,10 @@ config SPL_MMC
|
|||
|
||||
config ROCKCHIP_SPI_IMAGE
|
||||
bool "Build a SPI image for rockchip"
|
||||
depends on HAS_ROM
|
||||
help
|
||||
Some Rockchip SoCs support booting from SPI flash. Enable this
|
||||
option to produce a 4MB SPI-flash image (called u-boot.rom)
|
||||
containing U-Boot. The image is built by binman. U-Boot sits near
|
||||
the start of the image.
|
||||
option to produce a SPI-flash image containing U-Boot. The image
|
||||
is built by binman. U-Boot sits near the start of the image.
|
||||
|
||||
config LNX_KRNL_IMG_TEXT_OFFSET_BASE
|
||||
default SYS_TEXT_BASE
|
||||
|
|
Loading…
Add table
Reference in a new issue