Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
77caae89c6 | ||
|
|
a88f242a01 | ||
|
|
6c54214460 |
@@ -210,7 +210,6 @@ N: aspeed
|
|||||||
ARM BROADCOM BCM283X / BCM27XX
|
ARM BROADCOM BCM283X / BCM27XX
|
||||||
M: Matthias Brugger <mbrugger@suse.com>
|
M: Matthias Brugger <mbrugger@suse.com>
|
||||||
M: Peter Robinson <pbrobinson@gmail.com>
|
M: Peter Robinson <pbrobinson@gmail.com>
|
||||||
M: Simon Glass <sjg@chromium.org>
|
|
||||||
S: Maintained
|
S: Maintained
|
||||||
F: arch/arm/dts/bcm283*
|
F: arch/arm/dts/bcm283*
|
||||||
F: arch/arm/mach-bcm283x/
|
F: arch/arm/mach-bcm283x/
|
||||||
|
|||||||
@@ -61,13 +61,13 @@ dfu_alt_info+=zImage fat 0 1
|
|||||||
* only 64M, the remaining 25M starting at 0x02700000 should allow quite
|
* only 64M, the remaining 25M starting at 0x02700000 should allow quite
|
||||||
* large initrds before they start colliding with U-Boot.
|
* large initrds before they start colliding with U-Boot.
|
||||||
*/
|
*/
|
||||||
|
#ifdef CONFIG_ARM64
|
||||||
/*
|
fdt_high=ffffffffffffffff
|
||||||
* limit bootm_size to 512MB so that all boot images stay within the bottom
|
initrd_high=ffffffffffffffff
|
||||||
* 512MB of memory
|
#else
|
||||||
*/
|
fdt_high=ffffffff
|
||||||
bootm_size=0x20000000
|
initrd_high=ffffffff
|
||||||
|
#endif
|
||||||
kernel_addr_r=0x00080000
|
kernel_addr_r=0x00080000
|
||||||
kernel_comp_addr_r=0x02000000
|
kernel_comp_addr_r=0x02000000
|
||||||
kernel_comp_size=0x02000000
|
kernel_comp_size=0x02000000
|
||||||
|
|||||||
@@ -553,8 +553,10 @@ static int reserve_fdt(void)
|
|||||||
* section, then it will be relocated with other data.
|
* section, then it will be relocated with other data.
|
||||||
*/
|
*/
|
||||||
if (gd->fdt_blob) {
|
if (gd->fdt_blob) {
|
||||||
gd->boardf->fdt_size =
|
int size = fdt_totalsize(gd->fdt_blob);
|
||||||
ALIGN(fdt_totalsize(gd->fdt_blob), 32);
|
|
||||||
|
gd->boardf->fdt_size = ALIGN(size + CONFIG_OF_EXPAND,
|
||||||
|
32);
|
||||||
|
|
||||||
gd->start_addr_sp = reserve_stack_aligned(
|
gd->start_addr_sp = reserve_stack_aligned(
|
||||||
gd->boardf->fdt_size);
|
gd->boardf->fdt_size);
|
||||||
|
|||||||
11
dts/Kconfig
11
dts/Kconfig
@@ -219,6 +219,17 @@ config OF_OMIT_DTB
|
|||||||
This is used for boards which normally provide a devicetree via a
|
This is used for boards which normally provide a devicetree via a
|
||||||
runtime mechanism (such as OF_BOARD), to avoid confusion.
|
runtime mechanism (such as OF_BOARD), to avoid confusion.
|
||||||
|
|
||||||
|
config OF_EXPAND
|
||||||
|
hex # "Amount to allow the control FDT to expand"
|
||||||
|
default SYS_FDT_PAD if OF_LIBFDT
|
||||||
|
default 0
|
||||||
|
help
|
||||||
|
Some boards make use of the control FDT to boot an OS, thus when
|
||||||
|
image_setup_libfdt() adds extra things to the end of the FDT, there
|
||||||
|
needs to be enough space.
|
||||||
|
|
||||||
|
Set this to the number of bytes of extra space required for the FDT.
|
||||||
|
|
||||||
config DEFAULT_DEVICE_TREE
|
config DEFAULT_DEVICE_TREE
|
||||||
string "Default Device Tree for DT control"
|
string "Default Device Tree for DT control"
|
||||||
depends on OF_CONTROL
|
depends on OF_CONTROL
|
||||||
|
|||||||
Reference in New Issue
Block a user