u-boot/board
Kristian Amlie 15e30106ce ARM: vexpress_ca9x4: Reintroduce board in order to use with QEMU.
vexpress_ca9x4 is seemingly the only board except for qemu_arm which
is able to run U-Boot correctly, using the `-M vexpress-a9` option to
QEMU. Building for qemu_arm and running qemu-system-arm with the `-M
virt` argument has a number of downsides, most importantly that it
only supports virtio storage drivers. This significantly reduces its
usefulness in testing memory card and Flash solutions, especially when
the tested images are from a third party source.

So therefore we reintroduce the vexpress_ca9x4 board in this commit,
with the explicit goal of using it with QEMU.

A number of differences to note from the original:

* Since the board was apparently unmaintained, I have now set myself
  as the maintainer.

* The board has been converted to use the driver model, which was the
  reason it was removed in the first place.

* The vexpress_ca15_tc2 and vexpress_ca5x2 boards, which were removed
  in the same commit, are not necessary for the QEMU use case, and
  have been omitted.

* An `mmc0` alias was introduced in the dts file. The mmc is not
  detected correctly without this, now that it's based on the device
  tree instead of the board's init function.

* A couple of other nodes were removed because they were problematic
  when trying to run the UEFI bootmgr. Once again, the primary use
  case here is QEMU, and these nodes are not needed for that to work.

* Unnecessary board init code has been removed, thanks to driver model
  and device tree.

* `CONFIG_OF_EMBED` has been enabled. I know this goes against
  recommended practice, but there doesn't seem to be any other way to
  pass the dtb to U-Boot in the QEMU scenario. Using the -dtb argument
  does not work, I suppose because U-Boot doesn't use the same
  mechanics as the kernel when it's booting.

* Load addresses have been changed to fit QEMU use case.

People wanting to get a more detailed, yet somewhat isolated, diff
between this and the original, can run this command:

  git diff c6c26a05b89f25a06e7562f8c2071b60fd0c9eac~1 -- \
      $( git diff-tree --diff-filter=A -r --name-only HEAD~1 HEAD)

(Make sure to either check out this commit first, or replace HEAD with
the commit ID of this commit)

Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech>
2021-09-24 14:30:46 -04:00
..
abilis/tb100 reset: Remove addr parameter from reset_cpu() 2021-03-02 14:03:02 -05:00
advantech spi: Rename SPI_SUPPORT to SPI 2021-09-04 12:26:02 -04:00
alliedtelesis board: x530: switch to wdt_stop_all() 2021-08-31 12:04:03 +02:00
altera Merge branch '2021.04-rc' of https://github.com/lftan/u-boot 2021-01-15 07:55:11 -05:00
amarula/vyasa-rk3288 common: Move serial functions out of common.h 2019-12-02 18:23:11 -05:00
amlogic - odroid-n2: fix fdtfile suffix for n2-plus 2021-08-11 08:31:13 -04:00
AndesTech mmc: Rename MMC_SUPPORT to MMC 2021-09-04 11:42:41 -04:00
aries/mcvevk arm: socfpga: Re-add support for Aries MCV SoM and MCVEV[KP] board 2019-05-14 19:52:39 +02:00
aristainetos imx: Finish migration of IMX_CONFIG to Kconfig 2021-08-31 17:46:37 -04:00
armadeus/opos6uldev imx: Finish migration of IMX_CONFIG to Kconfig 2021-08-31 17:46:37 -04:00
armltd ARM: vexpress_ca9x4: Reintroduce board in order to use with QEMU. 2021-09-24 14:30:46 -04:00
aspeed configs: aspeed: Add defconfig for AST2600 EVB 2021-01-18 15:23:06 -05:00
astro/mcf5373l common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
atmark-techno/armadillo-800eva reset: Remove addr parameter from reset_cpu() 2021-03-02 14:03:02 -05:00
atmel First set of u-boot-at91 features for the 2022.01 cycle 2021-09-22 21:17:39 -04:00
avionic-design common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
beacon Kconfig: Remove all default n/no options 2021-08-31 17:47:49 -04:00
beckhoff/mx53cx9020 arm: Disable ATAGs support 2021-09-07 16:22:30 -04:00
birdland/bav335x arm: Remove bav335x board 2020-07-09 20:58:05 +05:30
bitmain/antminer_s9 xilinx: Introduce board_late_init_xilinx() 2020-04-27 13:57:17 +02:00
bluewater global: Convert simple_strtoul() with hex to hextoul() 2021-08-02 13:32:14 -04:00
bosch Convert CONFIG_SKIP_LOWLEVEL_INIT et al to Kconfig 2021-08-31 17:47:49 -04:00
boundary/nitrogen6x nitrogen6x: Migrate DDR_MB to Kconfig 2021-08-31 17:47:49 -04:00
broadcom arm: Disable ATAGs support 2021-09-07 16:22:30 -04:00
bticino/mamoj common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
buffalo/lsxl bootstage: Eliminate when not enabled 2021-07-07 10:17:54 -04:00
BuR brxre1: disable video after DM_VIDEO conversion deadline 2021-06-05 10:40:47 +02:00
BuS/eb_cpu5282 global: Convert simple_strtoul() with decimal to dectoul() 2021-08-02 13:32:14 -04:00
cadence/xtfpga dm: Rename U_BOOT_DEVICE() to U_BOOT_DRVINFO() 2021-01-05 12:26:35 -07:00
calao/usb_a9263 common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
CarMediaLab/flea3 arm: Disable ATAGs support 2021-09-07 16:22:30 -04:00
cavium/thunderx pci: Drop pci_init_board() 2021-08-06 08:26:48 -04:00
cei/cei-tk1-som SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
chipspark/popmetal_rk3288 common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
cloudengines/pogo_e02 common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
cobra5272 common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
compal/paz00 common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
compulab arm: Disable ATAGs support 2021-09-07 16:22:30 -04:00
comtrend SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
congatec Kconfig: Remove all default n/no options 2021-08-31 17:47:49 -04:00
coreboot x86: coreboot: Use vendor in the Kconfig 2021-07-15 19:50:21 +08:00
cortina reset: Remove addr parameter from reset_cpu() 2021-03-02 14:03:02 -05:00
cssi common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
CZ.NIC arm: mvebu: turris_omnia: disable MCU watchdog in board_late_init() 2021-09-01 08:09:24 +02:00
d-link/dns325 common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
davinci/da8xxevm Prepare v2021.10-rc4 2021-09-16 10:29:40 -04:00
devboards/dbm-soc1 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
dfi x86: dfi: dfi-bt700: Remove dead code 2020-09-01 13:38:39 +08:00
dhelectronics ARM: imx6: Update dhelectronics/dh_imx6/MAINTAINERS file 2021-07-10 15:57:33 +02:00
ea imx: Finish migration of IMX_CONFIG to Kconfig 2021-08-31 17:46:37 -04:00
ebv/socrates arm: socfpga: socrates: make rtc work 2019-04-25 00:00:49 +02:00
eets/pdu001 Convert CONFIG_SKIP_LOWLEVEL_INIT et al to Kconfig 2021-08-31 17:47:49 -04:00
efi x86: efi: efi-x86_payload: Remove dead code 2020-09-01 13:38:39 +08:00
egnite/ethernut5 common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
elgin/elgin_rv1108 common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
embest/mx6boards serial: Rename SERIAL_SUPPORT to SERIAL 2021-09-04 12:26:01 -04:00
emulation pci: Drop DM_PCI 2021-09-13 18:23:13 -04:00
engicam imx: Finish migration of IMX_CONFIG to Kconfig 2021-08-31 17:46:37 -04:00
esd/meesc global: Convert simple_strtoul() with hex to hextoul() 2021-08-02 13:32:14 -04:00
firefly common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
freescale Prepare v2021.10-rc4 2021-09-16 10:29:40 -04:00
friendlyarm arm: Disable ATAGs support 2021-09-07 16:22:30 -04:00
gardena common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
gateworks imx: Finish migration of IMX_CONFIG to Kconfig 2021-08-31 17:46:37 -04:00
gdsys global: Convert simple_strtoul() with decimal to dectoul() 2021-08-02 13:32:14 -04:00
ge version: Move version_string[] from version.h to version_string.h 2021-09-17 12:10:44 -04:00
geekbuying/geekbox rockchip: rk3368: Migrate to use common board file 2019-07-29 10:27:48 +08:00
google imx: Finish migration of IMX_CONFIG to Kconfig 2021-08-31 17:46:37 -04:00
grinn Convert CONFIG_SKIP_LOWLEVEL_INIT et al to Kconfig 2021-08-31 17:47:49 -04:00
hardkernel/odroid_go2 rockchip: board: add Hardkernel Odroid Go2 board 2020-07-22 20:21:23 +08:00
highbank arm: highbank: Update maintainership 2021-04-20 07:31:12 -04:00
hisilicon reset: Remove addr parameter from reset_cpu() 2021-03-02 14:03:02 -05:00
hoperun/hihope-rzg2 arm: use the correct prototype for reset_cpu function 2021-07-28 19:30:22 -04:00
huawei/hg556a SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ids/ids8313 common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
imgtec mmc: Rename MMC_SUPPORT to MMC 2021-09-04 11:42:41 -04:00
intel Merge branch 'next-socfpga' of https://github.com/tienfong/uboot_mainline 2021-08-25 08:23:42 -04:00
inversepath/usbarmory arm: Disable ATAGs support 2021-09-07 16:22:30 -04:00
iomega/iconnect common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
is1 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
isee common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
k+p imx: Finish migration of IMX_CONFIG to Kconfig 2021-08-31 17:46:37 -04:00
keymile Kconfig: Remove all default n/no options 2021-08-31 17:47:49 -04:00
kmc/kzm9g reset: Remove addr parameter from reset_cpu() 2021-03-02 14:03:02 -05:00
kobol/helios4 arm: mvebu: Load U-Boot proper binary in SPL code based on kwbimage header 2021-07-31 09:59:58 +02:00
kontron/sl28 global: Convert simple_strtoul() with hex to hextoul() 2021-08-02 13:32:14 -04:00
kosagi/novena common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
l+g/vinco Remove #include <version.h> from files which do not need it 2021-09-17 12:10:44 -04:00
LaCie arm: Finish migration of CONFIG_MACH_TYPE 2021-09-07 19:17:32 -04:00
lego/ev3 Merge branch '2021-02-02-drop-asm_global_data-when-unused' 2021-02-15 10:16:45 -05:00
lg/sniper arm: Disable ATAGs support 2021-09-07 16:22:30 -04:00
liebherr spi: Rename SPI_SUPPORT to SPI 2021-09-04 12:26:02 -04:00
logicpd common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
Marvell arm: marvell: Dreamplug: fix typo in eth1 name 2021-09-10 09:01:51 +02:00
maxbcm common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mediatek arm: mediatek: merge board Kconfigs into mach-mediatek 2021-09-23 14:15:32 -04:00
menlo/m53menlo imx: Finish migration of IMX_CONFIG to Kconfig 2021-08-31 17:46:37 -04:00
microchip common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mikrotik/crs3xx-98dx3236 common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mqmaker/miqi_rk3288 rockchip: board: rk3288: remove board_boot_order() 2019-07-20 23:59:44 +08:00
mscc common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
myir/mys_6ulx common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
netgear common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
nokia/rx51 arm: Disable ATAGs support 2021-09-07 16:22:30 -04:00
novtech/meerkat96 imx: Finish migration of IMX_CONFIG to Kconfig 2021-08-31 17:46:37 -04:00
nvidia arm: Finish migration of CONFIG_MACH_TYPE 2021-09-07 19:17:32 -04:00
olimex/mx23_olinuxino mx23_olinuxino: convert MMC to driver model 2021-04-08 23:59:50 +02:00
opalkelly/zynq arm: zynq: Remove low level UART setting 2020-01-14 09:05:53 +01:00
openpiton/riscv64 riscv: dts: add OpenPiton RISC-V board dts support 2021-07-07 20:34:02 +08:00
out4/o4-imx6ull-nano Add EV-iMX280-NANO-X-MB board 2021-06-09 13:32:49 +02:00
phytec imx: Finish migration of IMX_CONFIG to Kconfig 2021-08-31 17:46:37 -04:00
phytium/durian reset: Remove addr parameter from reset_cpu() 2021-03-02 14:03:02 -05:00
pine64 rockchip: Add initial support for the Pinebook Pro laptop from Pine64. 2020-05-31 22:22:07 +08:00
ppcag/bg0900 common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
qca Convert CONFIG_SKIP_LOWLEVEL_INIT et al to Kconfig 2021-08-31 17:47:49 -04:00
qualcomm board: dragonboard410c: Fix fastboot 2021-07-23 18:53:46 -04:00
radxa SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
raidsonic/ib62x0 common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
raspberrypi/rpi arm: Disable ATAGs support 2021-09-07 16:22:30 -04:00
renesas Remove #include <version.h> from files which do not need it 2021-09-17 12:10:44 -04:00
rockchip board: rockchip: Add rk3568 evb support 2021-06-18 14:36:24 +08:00
ronetix imx: Finish migration of IMX_CONFIG to Kconfig 2021-08-31 17:46:37 -04:00
sagem/f@st1704 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
samsung arm: Disable ATAGs support 2021-09-07 16:22:30 -04:00
sandbox pytest: add sandbox test for "extension" command 2021-05-13 13:09:09 -04:00
Seagate arm: kirkwood: Goflex Home: Update board maintainer 2021-08-11 08:42:26 +02:00
seeed imx: Add SeeedStudio NPI-IMX6ULL Support 2021-06-09 13:34:18 +02:00
sfr/nb4_ser SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
siemens imx: Finish migration of IMX_CONFIG to Kconfig 2021-08-31 17:46:37 -04:00
sifive Prepare v2021.10-rc4 2021-09-16 10:29:40 -04:00
silinux/ek874 arm: use the correct prototype for reset_cpu function 2021-07-28 19:30:22 -04:00
sipeed/maix k210: Don't imply CCF 2021-06-17 09:40:58 +08:00
socionext/developerbox pci: Drop DM_PCI 2021-09-13 18:23:13 -04:00
socrates ppc: socrates: Drop use of DM_PCI 2021-08-05 19:46:35 -04:00
softing imx: Finish migration of IMX_CONFIG to Kconfig 2021-08-31 17:46:37 -04:00
solidrun arm: mvebu: Load U-Boot proper binary in SPL code based on kwbimage header 2021-07-31 09:59:58 +02:00
somlabs/visionsom-6ull imx: Finish migration of IMX_CONFIG to Kconfig 2021-08-31 17:46:37 -04:00
sr1500 common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
st arm: Disable ATAGs support 2021-09-07 16:22:30 -04:00
ste/stemmy board: stemmy: Update documentation 2021-09-01 19:25:37 -04:00
storopack/smegw01 imx: Finish migration of IMX_CONFIG to Kconfig 2021-08-31 17:46:37 -04:00
sunxi Convert CONFIG_SYS_I2C_SOFT et al to Kconfig 2021-08-30 14:10:06 -04:00
Synology arm: Finish migration of CONFIG_MACH_TYPE 2021-09-07 19:17:32 -04:00
synopsys global: Convert simple_strtoul() with decimal to dectoul() 2021-08-02 13:32:14 -04:00
sysam common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
syteco/zmx25 common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
tbs/tbs2910 common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
tcl/sl50 Convert CONFIG_SKIP_LOWLEVEL_INIT et al to Kconfig 2021-08-31 17:47:49 -04:00
technexion i2c: Convert CONFIG_POWER_I2C et al to Kconfig 2021-09-04 12:26:02 -04:00
terasic SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
theadorable Merge branch '2021-02-02-drop-asm_global_data-when-unused' 2021-02-15 10:16:45 -05:00
theobroma-systems rockchip: rk3399-puma: Increase environment size to 16 kiB. 2021-03-30 16:53:00 +08:00
ti Prepare v2021.10-rc4 2021-09-16 10:29:40 -04:00
timll lpc32xx: Kconfig: switch to CONFIG_CONS_INDEX 2021-07-06 14:11:50 -04:00
topic/zynq board: topic-miami: Set FCLK1 to 150MHz 2020-06-24 13:11:08 +02:00
toradex Prepare v2021.10-rc4 2021-09-16 10:29:40 -04:00
tplink/wdr4300 Convert CONFIG_SKIP_LOWLEVEL_INIT et al to Kconfig 2021-08-31 17:47:49 -04:00
tqc/tqma6 i2c: Convert CONFIG_POWER_I2C et al to Kconfig 2021-09-04 12:26:02 -04:00
udoo i2c: Convert CONFIG_POWER_I2C et al to Kconfig 2021-09-04 12:26:02 -04:00
vamrs/rock960_rk3399 rockchip: Remove ARCH= references from documentation 2020-06-02 17:27:04 -04:00
variscite/dart_6ul common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
vocore/vocore2 mips: Add support for SoM "VoCore2". 2020-04-27 20:30:14 +02:00
vscom/baltos Convert CONFIG_SKIP_LOWLEVEL_INIT et al to Kconfig 2021-08-31 17:47:49 -04:00
wandboard MAINTAINERS: Use my personal e-mail address 2021-04-08 20:29:53 +02:00
warp imx: Finish migration of IMX_CONFIG to Kconfig 2021-08-31 17:46:37 -04:00
warp7 imx: Convert SERIAL_TAG support to ENV_VARS_UBOOT_RUNTIME_CONFIG 2021-09-07 13:04:52 -04:00
work-microwave/work_92105 Remove including timestamp.h in version.h 2021-09-17 12:10:44 -04:00
xen/xenguest_arm64 reset: Remove addr parameter from reset_cpu() 2021-03-02 14:03:02 -05:00
xes/common pci: Drop pci_init_board() 2021-08-06 08:26:48 -04:00
xilinx xilinx: common: Enabling generic function for DT reselection 2021-08-26 08:14:43 +02:00
zyxel/nsa310s arm: kirkwood: NSA310S: Use Ethernet PHY name from device tree 2021-07-19 08:44:15 +02:00