Skip to content

Commit 36b661d

Browse files
committed
Merge branch 'next'
2 parents e092e32 + 05a4859 commit 36b661d

File tree

2,646 files changed

+40196
-41866
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,646 files changed

+40196
-41866
lines changed

.azure-pipelines.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,9 @@ stages:
261261
evb_ast2500:
262262
TEST_PY_BD: "evb-ast2500"
263263
TEST_PY_ID: "--id qemu"
264+
evb_ast2600:
265+
TEST_PY_BD: "evb-ast2600"
266+
TEST_PY_ID: "--id qemu"
264267
vexpress_ca9x4:
265268
TEST_PY_BD: "vexpress_ca9x4"
266269
TEST_PY_ID: "--id qemu"
@@ -473,6 +476,12 @@ stages:
473476
BUILDMAN: "imx8"
474477
keystone2_keystone3:
475478
BUILDMAN: "k2 k3"
479+
sandbox_asan:
480+
BUILDMAN: "sandbox"
481+
OVERRIDE: "-a ASAN"
482+
sandbox_clang_asan:
483+
BUILDMAN: "sandbox"
484+
OVERRIDE: "-O clang-13 -a ASAN"
476485
samsung_socfpga:
477486
BUILDMAN: "samsung socfpga"
478487
sun4i:

.gitlab-ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,12 @@ evb-ast2500 test.py:
272272
TEST_PY_ID: "--id qemu"
273273
<<: *buildman_and_testpy_dfn
274274

275+
evb-ast2600 test.py:
276+
variables:
277+
TEST_PY_BD: "evb-ast2600"
278+
TEST_PY_ID: "--id qemu"
279+
<<: *buildman_and_testpy_dfn
280+
275281
sandbox_flattree test.py:
276282
variables:
277283
TEST_PY_BD: "sandbox_flattree"

Kconfig

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,22 @@ config CC_COVERAGE
154154
Enabling this option will pass "--coverage" to gcc to compile
155155
and link code instrumented for coverage analysis.
156156

157+
config ASAN
158+
bool "Enable AddressSanitizer"
159+
depends on SANDBOX
160+
help
161+
Enables AddressSanitizer to discover out-of-bounds accesses,
162+
use-after-free, double-free and memory leaks.
163+
164+
config FUZZ
165+
bool "Enable fuzzing"
166+
depends on CC_IS_CLANG
167+
depends on DM_FUZZING_ENGINE
168+
select ASAN
169+
help
170+
Enables the fuzzing infrastructure to generate fuzzing data and run
171+
fuzz tests.
172+
157173
config CC_HAS_ASM_INLINE
158174
def_bool $(success,echo 'void foo(void) { asm inline (""); }' | $(CC) -x c - -c -o /dev/null)
159175

@@ -228,12 +244,38 @@ config SYS_BOOT_GET_CMDLINE
228244
Enables allocating and saving kernel cmdline in space between
229245
"bootm_low" and "bootm_low" + BOOTMAPSZ.
230246

247+
config SYS_BARGSIZE
248+
int "Size of kernel command line buffer in bytes"
249+
depends on SYS_BOOT_GET_CMDLINE
250+
default 512
251+
help
252+
Buffer size for Boot Arguments which are passed to the application
253+
(usually a Linux kernel) when it is booted
254+
231255
config SYS_BOOT_GET_KBD
232256
bool "Enable kernel board information setup"
233257
help
234258
Enables allocating and saving a kernel copy of the bd_info in
235259
space between "bootm_low" and "bootm_low" + BOOTMAPSZ.
236260

261+
config HAS_CUSTOM_SYS_INIT_SP_ADDR
262+
bool "Use a custom location for the initial stack pointer address"
263+
depends on ARC || (ARM && !INIT_SP_RELATIVE) || MIPS || PPC || RISCV
264+
default y if TFABOOT
265+
help
266+
Typically, we use an initial stack pointer address that is calculated
267+
by taking the statically defined CONFIG_SYS_INIT_RAM_ADDR, adding the
268+
statically defined CONFIG_SYS_INIT_RAM_SIZE and then subtracting the
269+
build-time constant of GENERATED_GBL_DATA_SIZE. On MIPS a different
270+
but statica calculation is performed. However, some platforms will
271+
take a different approach. Say Y here to define the address statically
272+
instead.
273+
274+
config CUSTOM_SYS_INIT_SP_ADDR
275+
hex "Static location for the initial stack pointer"
276+
depends on HAS_CUSTOM_SYS_INIT_SP_ADDR
277+
default SYS_TEXT_BASE if TFABOOT
278+
237279
config SYS_MALLOC_F
238280
bool "Enable malloc() pool before relocation"
239281
default y if DM

MAINTAINERS

Lines changed: 44 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,17 @@ F: drivers/pinctrl/broadcom/
207207
F: configs/rpi_*
208208
T: git https://source.denx.de/u-boot/custodians/u-boot-arm.git
209209

210+
ARM BROADCOM BCMBCA
211+
M: Anand Gore <[email protected]>
212+
M: William Zhang <[email protected]>
213+
M: Kursad Oney <[email protected]>
214+
M: Joel Peshkin <[email protected]>
215+
S: Maintained
216+
F: arch/arm/mach-bcmbca/
217+
F: board/broadcom/bcmbca/
218+
F: configs/bcm947622_defconfig
219+
F: include/configs/bcm947622.h
220+
210221
ARM BROADCOM BCMSTB
211222
M: Thomas Fitzsimmons <[email protected]>
212223
S: Maintained
@@ -269,6 +280,19 @@ F: arch/arm/cpu/armv8/hisilicon
269280
F: arch/arm/include/asm/arch-hi6220/
270281
F: arch/arm/include/asm/arch-hi3660/
271282

283+
ARM HPE GXP ARCHITECTURE
284+
M: Jean-Marie Verdun <[email protected]>
285+
M: Nick Hawkins <[email protected]>
286+
S: Maintained
287+
F: arch/arm/dts/hpe-bmc*
288+
F: arch/arm/dts/hpe-gxp*
289+
F: arch/arm/mach-hpe/
290+
F: board/hpe/
291+
F: configs/gxp_defconfig
292+
F: doc/device-tree-bindings/spi/hpe,gxp-spi.yaml
293+
F: drivers/timer/gxp-timer.c
294+
F: drivers/spi/gxp_spi.c
295+
272296
ARM IPQ40XX
273297
M: Robert Marko <[email protected]>
274298
M: Luka Kovacic <[email protected]>
@@ -283,6 +307,11 @@ F: drivers/spi/spi-qup.c
283307
F: drivers/net/mdio-ipq4019.c
284308
F: drivers/rng/msm_rng.c
285309

310+
ARM LAYERSCAPE SFP
311+
M: Sean Anderson <[email protected]>
312+
S: Maintained
313+
F: drivers/misc/ls2_sfp.c
314+
286315
ARM MARVELL KIRKWOOD ARMADA-XP ARMADA-38X ARMADA-37XX ARMADA-7K/8K
287316
M: Stefan Roese <[email protected]>
288317
S: Maintained
@@ -320,13 +349,6 @@ S: Maintained
320349
T: git https://source.denx.de/u-boot/custodians/u-boot-marvell.git
321350
F: drivers/serial/serial_mvebu_a3700.c
322351

323-
ARM MARVELL PXA
324-
M: Marek Vasut <[email protected]>
325-
S: Maintained
326-
T: git https://source.denx.de/u-boot/custodians/u-boot-pxa.git
327-
F: arch/arm/cpu/pxa/
328-
F: arch/arm/include/asm/arch-pxa/
329-
330352
ARM MEDIATEK
331353
M: Ryder Lee <[email protected]>
332354
M: Weijie Gao <[email protected]>
@@ -481,7 +503,7 @@ S: Maintained
481503
F: arch/arm/mach-stm32mp/
482504
F: doc/board/st/
483505
F: drivers/adc/stm32-adc*
484-
F: drivers/clk/clk_stm32mp1.c
506+
F: drivers/clk/stm32/
485507
F: drivers/gpio/stm32_gpio.c
486508
F: drivers/hwspinlock/stm32_hwspinlock.c
487509
F: drivers/i2c/stm32f7_i2c.c
@@ -612,6 +634,7 @@ T: git https://source.denx.de/u-boot/custodians/u-boot-microblaze.git
612634
F: arch/arm/mach-versal/
613635
F: drivers/net/xilinx_axi_mrmac.*
614636
F: drivers/soc/soc_xilinx_versal.c
637+
F: drivers/spi/cadence_ospi_versal.c
615638
F: drivers/watchdog/xilinx_wwdt.c
616639
N: (?<!uni)versal
617640

@@ -976,6 +999,7 @@ F: drivers/net/xilinx_emaclite.c
976999
F: drivers/serial/serial_xuartlite.c
9771000
F: drivers/spi/xilinx_spi.c
9781001
F: drivers/sysreset/sysreset_gpio.c
1002+
F: drivers/timer/xilinx-timer.c
9791003
F: drivers/watchdog/xilinx_tb_wdt.c
9801004
N: xilinx
9811005

@@ -1093,6 +1117,13 @@ F: cmd/nvme.c
10931117
F: include/nvme.h
10941118
F: doc/develop/driver-model/nvme.rst
10951119

1120+
NVMEM
1121+
M: Sean Anderson <[email protected]>
1122+
S: Maintained
1123+
F: doc/api/nvmem.rst
1124+
F: drivers/misc/nvmem.c
1125+
F: include/nvmem.h
1126+
10961127
NXP C45 TJA11XX PHY DRIVER
10971128
M: Radu Pirea <[email protected]>
10981129
S: Maintained
@@ -1244,6 +1275,11 @@ F: drivers/gpio/sl28cpld-gpio.c
12441275
F: drivers/misc/sl28cpld.c
12451276
F: drivers/watchdog/sl28cpld-wdt.c
12461277

1278+
SMCCC TRNG
1279+
M: Etienne Carriere <[email protected]>
1280+
S: Maintained
1281+
F: drivers/rng/smccc_trng.c
1282+
12471283
SPI
12481284
M: Jagan Teki <[email protected]>
12491285
S: Maintained

Makefile

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -673,6 +673,12 @@ else
673673
include/config/auto.conf: ;
674674
endif # $(dot-config)
675675

676+
ifdef CONFIG_CC_OPTIMIZE_FOR_DEBUG
677+
KBUILD_HOSTCFLAGS := -Wall -Wstrict-prototypes -Og -g -fomit-frame-pointer \
678+
$(HOST_LFS_CFLAGS) $(HOSTCFLAGS)
679+
KBUILD_HOSTCXXFLAGS := -Og -g $(HOST_LFS_CFLAGS) $(HOSTCXXFLAGS)
680+
endif
681+
676682
#
677683
# Xtensa linker script cannot be preprocessed with -ansi because of
678684
# preprocessor operations on strings that don't make C identifiers.
@@ -922,12 +928,10 @@ endif
922928
# the raw binary, but certain simulators only accept an ELF file (but don't
923929
# do the relocation).
924930
ifneq ($(CONFIG_STATIC_RELA),)
925-
# $(1) is u-boot ELF, $(2) is u-boot bin, $(3) is text base
931+
# $(2) is u-boot ELF, $(3) is u-boot bin, $(4) is text base
926932
quiet_cmd_static_rela = RELOC $@
927933
cmd_static_rela = \
928-
start=$$($(NM) $(2) | grep __rel_dyn_start | cut -f 1 -d ' '); \
929-
end=$$($(NM) $(2) | grep __rel_dyn_end | cut -f 1 -d ' '); \
930-
tools/relocate-rela $(3) $(4) $$start $$end
934+
tools/relocate-rela $(3) $(2)
931935
else
932936
quiet_cmd_static_rela =
933937
cmd_static_rela =
@@ -2209,7 +2213,7 @@ CLEAN_DIRS += $(MODVERDIR) \
22092213
$(filter-out include, $(shell ls -1 $d 2>/dev/null))))
22102214

22112215
CLEAN_FILES += include/bmp_logo.h include/bmp_logo_data.h \
2212-
include/generated/env.in drivers/video/u_boot_logo.S \
2216+
include/generated/env.* drivers/video/u_boot_logo.S \
22132217
tools/version.h u-boot* MLO* SPL System.map fit-dtb.blob* \
22142218
u-boot-ivt.img.log u-boot-dtb.imx.log SPL.log u-boot.imx.log \
22152219
lpc32xx-* bl31.c bl31.elf bl31_*.bin image.map tispl.bin* \

0 commit comments

Comments
 (0)