Skip to content

Commit 65fbdab

Browse files
committed
Merge branch 'next'
2 parents 3f77295 + b4cbd1a commit 65fbdab

File tree

6,229 files changed

+91511
-53169
lines changed

Some content is hidden

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

6,229 files changed

+91511
-53169
lines changed

.azure-pipelines.yml

Lines changed: 53 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,17 @@ variables:
88
# since our $(ci_runner_image) user is not root.
99
container_option: -u 0
1010
work_dir: /u
11+
# We define all of these as variables so we can easily reference them twice
12+
am33xx_kirkwood_ls1_mvebu_omap: "am33xx kirkwood ls1 mvebu omap -x siemens,freescale"
13+
amlogic_bcm_boundary_engicam_siemens_technexion_oradex: "amlogic bcm boundary engicam siemens technexion toradex -x mips"
14+
arm_nxp_minus_imx_and_at91: "at91 freescale -x powerpc,m68k,imx,mx"
15+
imx: "mx imx -x boundary,engicam,technexion,toradex"
16+
rk: "rk"
17+
sunxi: "sunxi"
18+
powerpc: "powerpc"
19+
arm_catch_all: "arm -x aarch64,am33xx,at91,bcm,ls1,kirkwood,mvebu,omap,rk,siemens,mx,sunxi,technexion,toradex"
20+
aarch64_catch_all: "aarch64 -x amlogic,bcm,engicam,imx,ls1,ls2,lx216,mvebu,rk,siemens,sunxi,toradex"
21+
everything_but_arm_and_powerpc: "arc m68k microblaze mips nios2 riscv sandbox sh x86 xtensa -x arm,powerpc"
1122

1223
stages:
1324
- stage: testsuites
@@ -185,6 +196,34 @@ stages:
185196
steps:
186197
- script: make pip
187198

199+
- job: count_built_machines
200+
displayName: 'Ensure we build all possible machines'
201+
pool:
202+
vmImage: $(ubuntu_vm)
203+
container:
204+
image: $(ci_runner_image)
205+
options: $(container_option)
206+
steps:
207+
- script: |
208+
BMANARGS="-o /tmp --dry-run -v"
209+
# First get the total number of boards
210+
total=$(tools/buildman/buildman ${BMANARGS} | grep "Total boards to build for each commit" | cut -d ' ' -f 8)
211+
# Now build up the list of what each job built.
212+
built="$(tools/buildman/buildman ${BMANARGS} $(am33xx_kirkwood_ls1_mvebu_omap) | grep '^ ')"
213+
built="$built $(tools/buildman/buildman ${BMANARGS} $(amlogic_bcm_boundary_engicam_siemens_technexion_oradex) | grep '^ ')"
214+
built="$built $(tools/buildman/buildman ${BMANARGS} $(arm_nxp_minus_imx_and_at91) | grep '^ ')"
215+
built="$built $(tools/buildman/buildman ${BMANARGS} $(imx) | grep '^ ')"
216+
built="$built $(tools/buildman/buildman ${BMANARGS} $(rk) | grep '^ ')"
217+
built="$built $(tools/buildman/buildman ${BMANARGS} $(sunxi) | grep '^ ')"
218+
built="$built $(tools/buildman/buildman ${BMANARGS} $(powerpc) | grep '^ ')"
219+
built="$built $(tools/buildman/buildman ${BMANARGS} $(arm_catch_all) | grep '^ ')"
220+
built="$built $(tools/buildman/buildman ${BMANARGS} $(aarch64_catch_all) | grep '^ ')"
221+
built="$built $(tools/buildman/buildman ${BMANARGS} $(everything_but_arm_and_powerpc) | grep '^ ')"
222+
# Finally see how many machines that is.
223+
actual=$(tools/buildman/buildman ${BMANARGS} $built | grep "Total boards to build for each commit" | cut -d ' ' -f 8)
224+
echo We would build a total of $actual out of $total platforms this CI run
225+
[ $actual -eq $total ] && exit 0 || exit 1
226+
188227
- job: create_test_py_wrapper_script
189228
displayName: 'Create and stage a wrapper for test.py runs'
190229
pool:
@@ -473,29 +512,29 @@ stages:
473512
pool:
474513
vmImage: $(ubuntu_vm)
475514
strategy:
476-
# Use almost the same target division in .travis.yml, only merged
477-
# 3 small build jobs (arc/microblaze/xtensa) into one.
515+
# We split the world up in to 10 jobs as we can have at most 10
516+
# parallel jobs going on the free tier of Azure.
478517
matrix:
479-
am33xx_at91_kirkwood_mvebu_omap:
480-
BUILDMAN: "am33xx at91_kirkwood mvebu omap -x siemens"
518+
am33xx_kirkwood_ls1_mvebu_omap:
519+
BUILDMAN: $(am33xx_kirkwood_ls1_mvebu_omap)
481520
amlogic_bcm_boundary_engicam_siemens_technexion_oradex:
482-
BUILDMAN: "amlogic bcm boundary engicam siemens technexion toradex -x mips"
483-
arm_nxp_minus_imx:
484-
BUILDMAN: "freescale -x powerpc,m68k,imx,mx"
521+
BUILDMAN: $(amlogic_bcm_boundary_engicam_siemens_technexion_oradex)
522+
arm_nxp_minus_imx_and_at91:
523+
BUILDMAN: $(arm_nxp_minus_imx_and_at91)
485524
imx:
486-
BUILDMAN: "mx imx -x boundary,engicam,technexion,toradex"
525+
BUILDMAN: $(imx)
487526
rk:
488-
BUILDMAN: "rk"
527+
BUILDMAN: $(rk)
489528
sunxi:
490-
BUILDMAN: "sunxi"
529+
BUILDMAN: $(sunxi)
491530
powerpc:
492-
BUILDMAN: "powerpc"
531+
BUILDMAN: $(powerpc)
493532
arm_catch_all:
494-
BUILDMAN: "arm -x aarch64,am33xx,at91,bcm,ls1,kirkwood,mvebu,omap,rk,siemens,mx,sunxi,technexion,toradex"
533+
BUILDMAN: $(arm_catch_all)
495534
aarch64_catch_all:
496-
BUILDMAN: "aarch64 -x amlogic,bcm,engicam,imx,ls1,ls2,lx216,mvebu,rk,siemens,sunxi,toradex"
535+
BUILDMAN: $(aarch64_catch_all)
497536
everything_but_arm_and_powerpc:
498-
BUILDMAN: "-x arm,powerpc"
537+
BUILDMAN: $(everything_but_arm_and_powerpc)
499538
steps:
500539
- script: |
501540
cat << EOF > build.sh

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ fit-dtb.blob*
7373
/capsule.*.efi-capsule
7474
/capsule*.map
7575
/keep-syms-lto.*
76+
/*imx8mimage*
77+
/*imx8mcst*
7678

7779
#
7880
# Generated include files

MAINTAINERS

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,7 @@ F: arch/arm/include/asm/mach-imx/
306306
F: board/freescale/*mx*/
307307
F: board/freescale/common/
308308
F: common/spl/spl_imx_container.c
309+
F: doc/imx/
309310
F: drivers/serial/serial_mxc.c
310311
F: include/imx_container.h
311312

@@ -533,6 +534,7 @@ F: arch/arm/include/asm/arch-rockchip/
533534
F: arch/arm/mach-rockchip/
534535
F: board/amarula/vyasa-rk3288/
535536
F: board/anbernic/rgxx3_rk3566/
537+
F: board/armsom/sige7-rk3588/
536538
F: board/chipspark/popmetal_rk3288
537539
F: board/engicam/px30_core/
538540
F: board/firefly/
@@ -593,6 +595,22 @@ R: Marc Murphy <[email protected]>
593595
S: Supported
594596
F: arch/arm/dts/am335x-sancloud*
595597

598+
ARM SC5XX
599+
M: Nathan Barrett-Morrison <[email protected]>
600+
M: Greg Malysa <[email protected]>
601+
M: Ian Roberts <[email protected]>
602+
M: Vasileios Bimpikas <[email protected]>
603+
M: Utsav Agarwal <[email protected]>
604+
M: Arturs Artamonovs <[email protected]>
605+
S: Supported
606+
T: git https://github.com/analogdevicesinc/lnxdsp-u-boot
607+
F: arch/arm/include/asm/arch-adi/
608+
F: arch/arm/mach-sc5xx/
609+
F: drivers/clk/adi/
610+
F: drivers/serial/serial_adi_uart4.c
611+
F: drivers/timer/adi_sc5xx_timer.c
612+
F: include/env/adi/
613+
596614
ARM SNAPDRAGON
597615
M: Caleb Connolly <[email protected]>
598616
M: Neil Armstrong <[email protected]>
@@ -1146,6 +1164,14 @@ T: git https://source.denx.de/u-boot/custodians/u-boot-fsl-qoriq.git
11461164
F: drivers/watchdog/sp805_wdt.c
11471165
F: drivers/watchdog/sbsa_gwdt.c
11481166

1167+
FWU Multi Bank Update
1168+
M: Sughosh Ganu <[email protected]>
1169+
S: Maintained
1170+
T: git https://source.denx.de/u-boot/custodians/u-boot-efi.git
1171+
F: lib/fwu_updates/*
1172+
F: drivers/fwu-mdata/*
1173+
F: tools/mkfwumdata.c
1174+
11491175
GATEWORKS_SC
11501176
M: Tim Harvey <[email protected]>
11511177
S: Maintained

Makefile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1898,8 +1898,11 @@ $(filter-out tools, $(u-boot-dirs)): tools
18981898
# is "yes"), so compile examples after U-Boot is compiled.
18991899
examples: $(filter-out examples, $(u-boot-dirs))
19001900

1901+
# The setlocalversion script comes from linux and expects a
1902+
# KERNELVERSION variable in the environment for figuring out which
1903+
# annotated tags are relevant. Pass UBOOTVERSION.
19011904
define filechk_uboot.release
1902-
echo "$(UBOOTVERSION)$$($(CONFIG_SHELL) $(srctree)/scripts/setlocalversion $(srctree))"
1905+
KERNELVERSION=$(UBOOTVERSION) $(CONFIG_SHELL) $(srctree)/scripts/setlocalversion $(srctree)
19031906
endef
19041907

19051908
# Store (new) UBOOTRELEASE string in include/config/uboot.release
@@ -2210,7 +2213,7 @@ MRPROPER_DIRS += include/config include/generated spl tpl vpl \
22102213
# Remove include/asm symlink created by U-Boot before v2014.01
22112214
MRPROPER_FILES += .config .config.old include/autoconf.mk* include/config.h \
22122215
ctags etags tags TAGS cscope* GPATH GTAGS GRTAGS GSYMS \
2213-
drivers/video/fonts/*.S include/asm
2216+
drivers/video/fonts/*.S include/asm *imx8mimage* *imx8mcst*
22142217

22152218
# clean - Delete most, but leave enough to build external modules
22162219
#
@@ -2426,7 +2429,7 @@ checkstack:
24262429
$(PERL) $(src)/scripts/checkstack.pl $(ARCH)
24272430

24282431
ubootrelease:
2429-
@echo "$(UBOOTVERSION)$$($(CONFIG_SHELL) $(srctree)/scripts/setlocalversion $(srctree))"
2432+
@$(filechk_uboot.release)
24302433

24312434
ubootversion:
24322435
@echo $(UBOOTVERSION)

api/api.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,13 @@
77

88
#include <config.h>
99
#include <command.h>
10-
#include <common.h>
1110
#include <env.h>
1211
#include <malloc.h>
12+
#include <time.h>
1313
#include <env_internal.h>
14+
#include <vsprintf.h>
1415
#include <linux/delay.h>
16+
#include <linux/errno.h>
1517
#include <linux/types.h>
1618
#include <api_public.h>
1719
#include <u-boot/crc.h>

api/api_display.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
* Copyright (c) 2011 The Chromium OS Authors.
44
*/
55

6-
#include <common.h>
76
#include <api_public.h>
87
#include <log.h>
8+
#include <linux/types.h>
99

1010
/* TODO(clchiou): add support of video device */
1111

api/api_net.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
*/
77

88
#include <config.h>
9-
#include <common.h>
109
#include <net.h>
1110
#include <linux/types.h>
1211
#include <api_public.h>

api/api_platform-arm.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
#include <linux/types.h>
1313
#include <api_public.h>
1414

15-
#include <asm/u-boot.h>
1615
#include <asm/global_data.h>
1716

1817
#include "api_private.h"

api/api_platform-mips.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
#include <linux/types.h>
1010
#include <api_public.h>
1111

12-
#include <asm/u-boot.h>
1312
#include <asm/global_data.h>
1413

1514
#include "api_private.h"

api/api_platform-powerpc.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
#include <linux/types.h>
1313
#include <api_public.h>
1414

15-
#include <asm/u-boot.h>
1615
#include <asm/global_data.h>
1716

1817
#include "api_private.h"

api/api_storage.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
*/
77

88
#include <config.h>
9-
#include <common.h>
109
#include <api_public.h>
1110
#include <part.h>
1211
#include <scsi.h>
12+
#include <linux/types.h>
1313

1414
#if defined(CONFIG_CMD_USB) && defined(CONFIG_USB_STORAGE)
1515
#include <usb.h>

arch/arc/include/asm/global_data.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
#ifndef __ASM_ARC_GLOBAL_DATA_H
77
#define __ASM_ARC_GLOBAL_DATA_H
88

9+
#include <asm/u-boot.h>
10+
911
#ifndef __ASSEMBLY__
1012
/* Architecture-specific global data */
1113
struct arch_global_data {

arch/arc/lib/cpu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#include <clock_legacy.h>
88
#include <init.h>
99
#include <malloc.h>
10-
#include <vsprintf.h>
10+
#include <stdio.h>
1111
#include <asm/arcregs.h>
1212
#include <asm/cache.h>
1313
#include <asm/global_data.h>

arch/arm/Kconfig

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1235,6 +1235,18 @@ config ARCH_VERSAL
12351235
imply BOARD_LATE_INIT
12361236
imply ENV_VARS_UBOOT_RUNTIME_CONFIG
12371237

1238+
config ARCH_VERSAL2
1239+
bool "Support AMD Versal Gen 2 Platform"
1240+
select ARM64
1241+
select CLK
1242+
select DM
1243+
select DM_MMC if MMC
1244+
select DM_SERIAL
1245+
select OF_CONTROL
1246+
imply BOARD_LATE_INIT
1247+
imply ENV_VARS_UBOOT_RUNTIME_CONFIG
1248+
imply ZYNQMP_FIRMWARE
1249+
12381250
config ARCH_VERSAL_NET
12391251
bool "Support Xilinx Versal NET Platform"
12401252
select ARM64
@@ -1272,7 +1284,7 @@ config ARCH_ZYNQ
12721284
select OF_CONTROL
12731285
select MTD
12741286
select SPI
1275-
select SPL_BOARD_INIT if SPL
1287+
select SPL_SOC_INIT if SPL
12761288
select SPL_CLK if SPL
12771289
select SPL_DM if SPL
12781290
select SPL_DM_SPI if SPL
@@ -1315,7 +1327,7 @@ config ARCH_ZYNQMP
13151327
imply FIRMWARE
13161328
select GICV2
13171329
select OF_CONTROL
1318-
select SPL_BOARD_INIT if SPL
1330+
select SPL_SOC_INIT if SPL
13191331
select SPL_CLK if SPL
13201332
select SPL_DM if SPL
13211333
select SPL_DM_SPI if SPI && SPL_DM
@@ -1853,6 +1865,9 @@ config TARGET_LS1046AFRWY
18531865
development platform that supports the QorIQ LS1046A
18541866
Layerscape Architecture processor.
18551867

1868+
config ARCH_SC5XX
1869+
bool "Analog Devices SC5XX-processor family"
1870+
18561871
config TARGET_SL28
18571872
bool "Support sl28"
18581873
select ARCH_LS1028A
@@ -2286,6 +2301,8 @@ source "arch/arm/mach-rockchip/Kconfig"
22862301

22872302
source "arch/arm/mach-s5pc1xx/Kconfig"
22882303

2304+
source "arch/arm/mach-sc5xx/Kconfig"
2305+
22892306
source "arch/arm/mach-snapdragon/Kconfig"
22902307

22912308
source "arch/arm/mach-socfpga/Kconfig"
@@ -2312,6 +2329,8 @@ source "arch/arm/mach-zynqmp/Kconfig"
23122329

23132330
source "arch/arm/mach-versal/Kconfig"
23142331

2332+
source "arch/arm/mach-versal2/Kconfig"
2333+
23152334
source "arch/arm/mach-versal-net/Kconfig"
23162335

23172336
source "arch/arm/mach-zynqmp-r5/Kconfig"

arch/arm/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ machine-$(CONFIG_ARCH_OWL) += owl
7878
machine-$(CONFIG_ARCH_RENESAS) += renesas
7979
machine-$(CONFIG_ARCH_ROCKCHIP) += rockchip
8080
machine-$(CONFIG_ARCH_S5PC1XX) += s5pc1xx
81+
machine-$(CONFIG_ARCH_SC5XX) += sc5xx
8182
machine-$(CONFIG_ARCH_SNAPDRAGON) += snapdragon
8283
machine-$(CONFIG_ARCH_SOCFPGA) += socfpga
8384
machine-$(CONFIG_ARCH_STM32) += stm32
@@ -89,6 +90,7 @@ machine-$(CONFIG_ARCH_OCTEONTX) += octeontx
8990
machine-$(CONFIG_ARCH_OCTEONTX2) += octeontx2
9091
machine-$(CONFIG_ARCH_UNIPHIER) += uniphier
9192
machine-$(CONFIG_ARCH_VERSAL) += versal
93+
machine-$(CONFIG_ARCH_VERSAL2) += versal2
9294
machine-$(CONFIG_ARCH_VERSAL_NET) += versal-net
9395
machine-$(CONFIG_ARCH_ZYNQ) += zynq
9496
machine-$(CONFIG_ARCH_ZYNQMP) += zynqmp

arch/arm/cpu/arm11/cpu.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
* CPU specific code
1515
*/
1616

17-
#include <common.h>
1817
#include <command.h>
1918
#include <cpu_func.h>
2019
#include <irq_func.h>

arch/arm/cpu/arm1136/mx31/devices.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
* (c) 2007 Pengutronix, Sascha Hauer <[email protected]>
77
*/
88

9-
#include <common.h>
109
#include <asm/arch/imx-regs.h>
1110
#include <asm/arch/clock.h>
1211

arch/arm/cpu/arm1136/mx31/generic.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
* Sascha Hauer, Pengutronix
55
*/
66

7-
#include <common.h>
87
#include <div64.h>
98
#include <init.h>
109
#include <asm/arch/imx-regs.h>

arch/arm/cpu/arm1136/mx31/timer.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
* Sascha Hauer, Pengutronix
55
*/
66

7-
#include <common.h>
87
#include <init.h>
98
#include <asm/arch/imx-regs.h>
109
#include <asm/io.h>

0 commit comments

Comments
 (0)