spl: add CONFIG_MTD_BLK_U_BOOT_OFFS
Find the uboot by CONFIG_MTD_BLK_U_BOOT_OFFS address from nand, spi nand, nor flash with mtd block interface. Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Change-Id: I6032570406a8eda2609ad877785e71c6c8b5df0c
This commit is contained in:
parent
77827e2e47
commit
3b1ddd14f7
|
|
@ -465,6 +465,14 @@ config SPL_MTD_SUPPORT
|
|||
devices. See SPL_NAND_SUPPORT and SPL_ONENAND_SUPPORT for how
|
||||
to enable specific MTD drivers.
|
||||
|
||||
config MTD_BLK_U_BOOT_OFFS
|
||||
hex "Location in MTD block to read U-Boot from"
|
||||
default 0x4000
|
||||
depends on SPL_MTD_SUPPORT
|
||||
help
|
||||
Set the offset from the start of the nand,spi nand and nor flash where
|
||||
u-boot should be loaded from.
|
||||
|
||||
config SPL_MUSB_NEW_SUPPORT
|
||||
bool "Support new Mentor Graphics USB"
|
||||
help
|
||||
|
|
|
|||
Loading…
Reference in New Issue