mach-sc5xx: Introduce Kconfig symbols for image addresses
Add Kconfig symbols to parameterize the SPI flash layout used in a default-ish configuration. This adds more flexibility to the default ADI environment, enabling customers with boards based on but not identical to an ezkit to reuse more of the infrastructure. Furthermore it allows for yocto (the expected default) or binman (to be introduced in this series) to configure or use the flash layout based on a single definition of all of the parameters when creating an image. Signed-off-by: Greg Malysa <malysagreg@gmail.com> Signed-off-by: Utsav Agarwal <utsav.agarwal@analog.com>
This commit is contained in:
@@ -117,6 +117,36 @@ endchoice
|
||||
|
||||
endif
|
||||
|
||||
config SC5XX_UBOOT_SPL_OFFSET
|
||||
hex "SPL offset"
|
||||
default 0x0
|
||||
help
|
||||
The default offset where the SPL is located.
|
||||
|
||||
config SC5XX_UBOOT_OFFSET
|
||||
hex "U-Boot offset"
|
||||
default 0x40000
|
||||
help
|
||||
The default offset where u-boot is located.
|
||||
|
||||
config SC5XX_FITIMAGE_OFFSET
|
||||
hex "FitImage offset"
|
||||
default 0x1a0000
|
||||
help
|
||||
The default offset where the fitImage is located.
|
||||
|
||||
config SC5XX_ROOTFS_OFFSET
|
||||
hex "RootFS offset"
|
||||
default 0x102000
|
||||
help
|
||||
The default offset where the rootfs is located.
|
||||
|
||||
config SC5XX_LOADADDR
|
||||
hex "Load address"
|
||||
default 0x90000000
|
||||
help
|
||||
The default load address for u-boot.
|
||||
|
||||
config ADI_IMAGE
|
||||
string "ADI fitImage type"
|
||||
help
|
||||
|
||||
Reference in New Issue
Block a user