Merge git://git.denx.de/u-boot-dm
This commit is contained in:
@@ -136,10 +136,12 @@ endif
|
||||
# limit ourselves to the sections we want in the .bin.
|
||||
ifdef CONFIG_ARM64
|
||||
OBJCOPYFLAGS += -j .text -j .secure_text -j .secure_data -j .rodata -j .data \
|
||||
-j .u_boot_list -j .rela.dyn -j .got -j .got.plt
|
||||
-j .u_boot_list -j .rela.dyn -j .got -j .got.plt \
|
||||
-j .binman_sym_table
|
||||
else
|
||||
OBJCOPYFLAGS += -j .text -j .secure_text -j .secure_data -j .rodata -j .hash \
|
||||
-j .data -j .got -j .got.plt -j .u_boot_list -j .rel.dyn
|
||||
-j .data -j .got -j .got.plt -j .u_boot_list -j .rel.dyn \
|
||||
-j .binman_sym_table
|
||||
endif
|
||||
|
||||
# if a dtb section exists we always have to include it
|
||||
|
||||
@@ -36,6 +36,13 @@ SECTIONS
|
||||
KEEP(*(SORT(.u_boot_list*)));
|
||||
}
|
||||
|
||||
. = ALIGN(4);
|
||||
.binman_sym_table : {
|
||||
__binman_sym_start = .;
|
||||
KEEP(*(SORT(.binman_sym*)));
|
||||
__binman_sym_end = .;
|
||||
}
|
||||
|
||||
. = ALIGN(4);
|
||||
|
||||
__image_copy_end = .;
|
||||
|
||||
40
arch/arm/dts/tegra-u-boot.dtsi
Normal file
40
arch/arm/dts/tegra-u-boot.dtsi
Normal file
@@ -0,0 +1,40 @@
|
||||
#include <config.h>
|
||||
|
||||
/ {
|
||||
binman {
|
||||
multiple-images;
|
||||
image1 {
|
||||
filename = "u-boot-tegra.bin";
|
||||
pad-byte = <0xff>;
|
||||
u-boot-spl {
|
||||
};
|
||||
u-boot {
|
||||
pos = <(CONFIG_SYS_TEXT_BASE -
|
||||
CONFIG_SPL_TEXT_BASE)>;
|
||||
};
|
||||
};
|
||||
|
||||
/* Same as image1 - some tools still expect the -dtb suffix */
|
||||
image2 {
|
||||
filename = "u-boot-dtb-tegra.bin";
|
||||
pad-byte = <0xff>;
|
||||
u-boot-spl {
|
||||
};
|
||||
u-boot {
|
||||
pos = <(CONFIG_SYS_TEXT_BASE -
|
||||
CONFIG_SPL_TEXT_BASE)>;
|
||||
};
|
||||
};
|
||||
|
||||
image3 {
|
||||
filename = "u-boot-nodtb-tegra.bin";
|
||||
pad-byte = <0xff>;
|
||||
u-boot-spl {
|
||||
};
|
||||
u-boot-nodtb {
|
||||
pos = <(CONFIG_SYS_TEXT_BASE -
|
||||
CONFIG_SPL_TEXT_BASE)>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
3
arch/arm/dts/tegra114-u-boot.dtsi
Normal file
3
arch/arm/dts/tegra114-u-boot.dtsi
Normal file
@@ -0,0 +1,3 @@
|
||||
#include <config.h>
|
||||
|
||||
#include "tegra-u-boot.dtsi"
|
||||
@@ -5,6 +5,8 @@
|
||||
* SPDX-License-Identifier: GPL-2.0+
|
||||
*/
|
||||
|
||||
#include "tegra-u-boot.dtsi"
|
||||
|
||||
/ {
|
||||
host1x@50000000 {
|
||||
u-boot,dm-pre-reloc;
|
||||
|
||||
3
arch/arm/dts/tegra124-u-boot.dtsi
Normal file
3
arch/arm/dts/tegra124-u-boot.dtsi
Normal file
@@ -0,0 +1,3 @@
|
||||
#include <config.h>
|
||||
|
||||
#include "tegra-u-boot.dtsi"
|
||||
@@ -1,8 +1,3 @@
|
||||
/ {
|
||||
host1x@50000000 {
|
||||
u-boot,dm-pre-reloc;
|
||||
dc@54200000 {
|
||||
u-boot,dm-pre-reloc;
|
||||
};
|
||||
};
|
||||
};
|
||||
#include <config.h>
|
||||
|
||||
#include "tegra-u-boot.dtsi"
|
||||
|
||||
3
arch/arm/dts/tegra210-u-boot.dtsi
Normal file
3
arch/arm/dts/tegra210-u-boot.dtsi
Normal file
@@ -0,0 +1,3 @@
|
||||
#include <config.h>
|
||||
|
||||
#include "tegra-u-boot.dtsi"
|
||||
3
arch/arm/dts/tegra30-u-boot.dtsi
Normal file
3
arch/arm/dts/tegra30-u-boot.dtsi
Normal file
@@ -0,0 +1,3 @@
|
||||
#include <config.h>
|
||||
|
||||
#include "tegra-u-boot.dtsi"
|
||||
@@ -38,6 +38,7 @@ config TEGRA_COMMON
|
||||
select OF_CONTROL
|
||||
select VIDCONSOLE_AS_LCD if DM_VIDEO
|
||||
select BOARD_EARLY_INIT_F
|
||||
select BINMAN
|
||||
imply CRC32_VERIFY
|
||||
|
||||
config TEGRA_NO_BPMP
|
||||
|
||||
@@ -75,4 +75,10 @@
|
||||
regulator-min-microvolt = <3300000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
};
|
||||
|
||||
no_match_by_nodename {
|
||||
regulator-name = "buck_SUPPLY_1.5V";
|
||||
regulator-min-microvolt = <1500000>;
|
||||
regulator-max-microvolt = <1500000>;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user