]> git.dujemihanovic.xyz Git - u-boot.git/log
u-boot.git
7 months agotest/py: Make the number of SPL banners seen a variable
Tom Rini [Wed, 24 Apr 2024 22:45:37 +0000 (16:45 -0600)]
test/py: Make the number of SPL banners seen a variable

Currently we have the option to tell the console code that we should
ignore the SPL banner. We also have an option to say that we can see it
a second time, and ignore it. However, some platforms such as TI AM64x
will have us see the SPL banner three times. Rather than add an
"spl3_skipped" option, rework the code. By default we expect to see the
banner once, but boards can specify seeing it as many times as they
expect to.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agonet: Add drivers for Sysnopsys Ethernet 10G device
Boon Khai Ng [Wed, 17 Apr 2024 07:46:56 +0000 (15:46 +0800)]
net: Add drivers for Sysnopsys Ethernet 10G device

This driver support the Synopsys Designware Ethernet 10G
IP block refer from the driver dwc_eth_qos.

The driver MAC register mapping is different between
Synopsys QoS IP and Synopsys 10G IP, and thus new file
is created meant for Sysnopsys 10G IP.

The dwc_eth_xgmac_socfpga.c is specific to a device family,
the driver support the specific configuration used in
Intel SoC FPGA Agilex5.

This driver is extensible for other device family to use.

Signed-off-by: Boon Khai Ng <boon.khai.ng@intel.com>
7 months agoMerge patch series "arm: Add Analog Devices SC5xx Machine Type"
Tom Rini [Wed, 8 May 2024 01:24:07 +0000 (19:24 -0600)]
Merge patch series "arm: Add Analog Devices SC5xx Machine Type"

Greg Malysa <greg.malysa@timesys.com> says:

This series adds support for the ADI SC5xx machine type and includes two
core drivers that are required for being able to boot any board--a UART
driver, the gptimer driver which is used as a clock reference (CNTVCNT
is not supported on the armv7 sc5xx SoCs) and the clock tree driver. Our
corresponding Linux support relies on u-boot configuring the clocks
correctly before booting, so it is not possible to boot any board
without the CGU/CDU configuration happening here. There are also no
board files, device trees, or defconfigs included here, but some common
definitions that will be used to build board files currently are. The
sc5xx SoCs themselves include many armv7 families (sc57x, sc58x, and
sc594) all using an ARM Cortex-A5, and one armv8 family (sc598) indended
to be a drop-in replacement for the SC594 in terms of peripherals, with
a Cortex-A55 instead.

Some of the configuration code in dmcinit and clkinit is quite scary and
causes a lot of checkpatch violations. It is modified from code
initially provided by ADI, but it has not been fully rewritten. There's
a question of how important it is to clean up this code--it has some
quality violations, but it has been in use (including in production) for
over two years and is known to work for performing the low level SoC
initialization, while a rewrite might introduce timing or sequence bugs
that could take a significant amount of time to detect in the future.

7 months agodrivers: timer: Add in driver support for ADI SC5XX-family GP timer peripheral
Greg Malysa [Thu, 25 Apr 2024 00:04:03 +0000 (20:04 -0400)]
drivers: timer: Add in driver support for ADI SC5XX-family GP timer peripheral

Co-developed-by: Nathan Barrett-Morrison <nathan.morrison@timesys.com>
Signed-off-by: Nathan Barrett-Morrison <nathan.morrison@timesys.com>
Co-developed-by: Angelo Dureghello <angelo.dureghello@timesys.com>
Signed-off-by: Angelo Dureghello <angelo.dureghello@timesys.com>
Co-developed-by: Ian Roberts <ian.roberts@timesys.com>
Signed-off-by: Ian Roberts <ian.roberts@timesys.com>
Signed-off-by: Greg Malysa <greg.malysa@timesys.com>
7 months agodrivers: serial: Add in UART for ADI SC5XX-family processors
Nathan Barrett-Morrison [Thu, 25 Apr 2024 00:04:02 +0000 (20:04 -0400)]
drivers: serial: Add in UART for ADI SC5XX-family processors

Co-developed-by: Greg Malysa <greg.malysa@timesys.com>
Signed-off-by: Greg Malysa <greg.malysa@timesys.com>
Co-developed-by: Ian Roberts <ian.roberts@timesys.com>
Signed-off-by: Ian Roberts <ian.roberts@timesys.com>
Signed-off-by: Vasileios Bimpikas <vasileios.bimpikas@analog.com>
Signed-off-by: Utsav Agarwal <utsav.agarwal@analog.com>
Signed-off-by: Arturs Artamonovs <arturs.artamonovs@analog.com>
Signed-off-by: Nathan Barrett-Morrison <nathan.morrison@timesys.com>
7 months agodrivers: clk: adi: Add in SC5XX-family clock driver
Nathan Barrett-Morrison [Thu, 25 Apr 2024 00:04:01 +0000 (20:04 -0400)]
drivers: clk: adi: Add in SC5XX-family clock driver

This adds support for the SC5XX clock trees which are required for reading
clock speeds on the SoCs. This is largely a port of the same support for
Linux, which has not yet been submitted upstream.

Co-developed-by: Greg Malysa <greg.malysa@timesys.com>
Signed-off-by: Greg Malysa <greg.malysa@timesys.com>
Co-developed-by: Ian Roberts <ian.roberts@timesys.com>
Signed-off-by: Ian Roberts <ian.roberts@timesys.com>
Signed-off-by: Vasileios Bimpikas <vasileios.bimpikas@analog.com>
Signed-off-by: Utsav Agarwal <utsav.agarwal@analog.com>
Signed-off-by: Arturs Artamonovs <arturs.artamonovs@analog.com>
Signed-off-by: Nathan Barrett-Morrison <nathan.morrison@timesys.com>
7 months agoarch: arm: Add Analog Devices SC5xx machine type
Nathan Barrett-Morrison [Thu, 25 Apr 2024 00:04:00 +0000 (20:04 -0400)]
arch: arm: Add Analog Devices SC5xx machine type

Add support for the SC5xx machine type from Analog Devices. This
includes support for the SC57x, SC58x, SC59x, and SC59x-64 SoCs, which
have many common features such as common ADI IP blocks, and SHARC DSP
cores. This commit introduces core functionality required for all boards
using an SC5xx SoC, such as:

- SPL configuration
- Required CPU hooks such as reset
- Boot ROM interaction to load the stage 2 bootloader in the reference
  configuration. Other options are possible but not officially supported
  at this time
- SoC-common configuration expected to be reused by all boards
- Early initialization for system clocks and DDR controller

Co-developed-by: Greg Malysa <greg.malysa@timesys.com>
Signed-off-by: Greg Malysa <greg.malysa@timesys.com>
Co-developed-by: Ian Roberts <ian.roberts@timesys.com>
Signed-off-by: Ian Roberts <ian.roberts@timesys.com>
Signed-off-by: Vasileios Bimpikas <vasileios.bimpikas@analog.com>
Signed-off-by: Utsav Agarwal <utsav.agarwal@analog.com>
Signed-off-by: Arturs Artamonovs <arturs.artamonovs@analog.com>
Signed-off-by: Nathan Barrett-Morrison <nathan.morrison@timesys.com>
7 months agoMerge branch '2024-05-06-remove-include-common_h' into next
Tom Rini [Tue, 7 May 2024 14:01:06 +0000 (08:01 -0600)]
Merge branch '2024-05-06-remove-include-common_h' into next

- Merge the four series that I made to finally remove include/common.h.
  For the most part, this is just removing <common.h> entirely. In a few
  cases we needed to add <linux/types.h> or <time.h>. In the case of
  PowerPC related code, we instead need to bring in <asm/ppc.h>.

7 months agocommon.h: Remove this file and all references
Tom Rini [Thu, 2 May 2024 01:31:38 +0000 (19:31 -0600)]
common.h: Remove this file and all references

With all files that had included this file directly having been updated,
we can now remove this file.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agoapi: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:31:37 +0000 (19:31 -0600)]
api: Remove <common.h> and add needed includes

Remove <common.h> from here and when needed add missing include files
directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agoxen: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:31:36 +0000 (19:31 -0600)]
xen: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agowatchdog: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:31:35 +0000 (19:31 -0600)]
watchdog: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Acked-by: Angelo Dureghello <angelo@kernel-space.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agow1-eeprom: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:31:34 +0000 (19:31 -0600)]
w1-eeprom: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agow1: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:31:33 +0000 (19:31 -0600)]
w1: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agovirtio: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:31:32 +0000 (19:31 -0600)]
virtio: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agovideo: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:31:31 +0000 (19:31 -0600)]
video: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Reviewed-by: Peter Robinson <pbrobinson@gmail.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agousb: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:31:30 +0000 (19:31 -0600)]
usb: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agoufs: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:31:29 +0000 (19:31 -0600)]
ufs: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agotpm: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:31:28 +0000 (19:31 -0600)]
tpm: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agotimer: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:31:27 +0000 (19:31 -0600)]
timer: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agothermal: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:31:26 +0000 (19:31 -0600)]
thermal: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agosysreset: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:31:25 +0000 (19:31 -0600)]
sysreset: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agosysinfo: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:31:24 +0000 (19:31 -0600)]
sysinfo: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agospmi: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:31:23 +0000 (19:31 -0600)]
spmi: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agospi: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:31:22 +0000 (19:31 -0600)]
spi: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Reviewed-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: William Zhang <william.zhang@broadcom.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agosound: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:31:21 +0000 (19:31 -0600)]
sound: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agosoc: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:31:20 +0000 (19:31 -0600)]
soc: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Reviewed-by: Bryan Brattlof <bb@ti.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agosmem: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:31:19 +0000 (19:31 -0600)]
smem: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agosm: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:31:18 +0000 (19:31 -0600)]
sm: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agoserial: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:31:17 +0000 (19:31 -0600)]
serial: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Reviewed-by: Peter Robinson <pbrobinson@gmail.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agoscsi: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:31:16 +0000 (19:31 -0600)]
scsi: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agortc: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:31:15 +0000 (19:31 -0600)]
rtc: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agoreset: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:31:14 +0000 (19:31 -0600)]
reset: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agoremoteproc: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:31:13 +0000 (19:31 -0600)]
remoteproc: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agoreboot-mode: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:31:12 +0000 (19:31 -0600)]
reboot-mode: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agoram: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:31:11 +0000 (19:31 -0600)]
ram: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agopwm: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:31:10 +0000 (19:31 -0600)]
pwm: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agopower: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:31:09 +0000 (19:31 -0600)]
power: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agopinctrl: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:31:08 +0000 (19:31 -0600)]
pinctrl: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Reviewed-by: Peter Robinson <pbrobinson@gmail.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agophy: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:31:07 +0000 (19:31 -0600)]
phy: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agopci_endpoint: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:31:06 +0000 (19:31 -0600)]
pci_endpoint: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agopci: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:31:05 +0000 (19:31 -0600)]
pci: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Reviewed-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agopch: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:31:04 +0000 (19:31 -0600)]
pch: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agonvme: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:31:03 +0000 (19:31 -0600)]
nvme: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agonet: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:31:02 +0000 (19:31 -0600)]
net: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agomux: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:31:01 +0000 (19:31 -0600)]
mux: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agomtd: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:31:00 +0000 (19:31 -0600)]
mtd: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Reviewed-by: William Zhang <william.zhang@broadcom.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agommc: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:30:59 +0000 (19:30 -0600)]
mmc: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Reviewed-by: Peter Robinson <pbrobinson@gmail.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agomisc: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:30:58 +0000 (19:30 -0600)]
misc: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agomemory: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:30:57 +0000 (19:30 -0600)]
memory: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agomailbox: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:30:56 +0000 (19:30 -0600)]
mailbox: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agoled: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:30:55 +0000 (19:30 -0600)]
led: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agoiommu: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:30:54 +0000 (19:30 -0600)]
iommu: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agoinput: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:30:53 +0000 (19:30 -0600)]
input: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agoi2c: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:30:52 +0000 (19:30 -0600)]
i2c: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Reviewed-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agohwspinlock: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:30:51 +0000 (19:30 -0600)]
hwspinlock: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agogpio: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:30:50 +0000 (19:30 -0600)]
gpio: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Reviewed-by: Heiko Schocher <hs@denx.de>
Reviewed-by: Peter Robinson <pbrobinson@gmail.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agofwu-mdata: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:30:49 +0000 (19:30 -0600)]
fwu-mdata: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Acked-by: Jassi Brar <jassisinghbrar@gmail.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agofuzz: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:30:48 +0000 (19:30 -0600)]
fuzz: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agofpga: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:30:47 +0000 (19:30 -0600)]
fpga: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agofirmware: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:30:46 +0000 (19:30 -0600)]
firmware: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agofastboot: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:30:45 +0000 (19:30 -0600)]
fastboot: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agoextcon: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:30:44 +0000 (19:30 -0600)]
extcon: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agodma: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:30:43 +0000 (19:30 -0600)]
dma: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agodfu: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:30:42 +0000 (19:30 -0600)]
dfu: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agodemo: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:30:41 +0000 (19:30 -0600)]
demo: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agoddr: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:30:40 +0000 (19:30 -0600)]
ddr: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agocrypto: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:30:39 +0000 (19:30 -0600)]
crypto: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agocpu: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:30:38 +0000 (19:30 -0600)]
cpu: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agocore: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:30:37 +0000 (19:30 -0600)]
core: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agoclk: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:30:36 +0000 (19:30 -0600)]
clk: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agocache: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:30:35 +0000 (19:30 -0600)]
cache: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agobutton: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:30:34 +0000 (19:30 -0600)]
button: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agobus: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:30:33 +0000 (19:30 -0600)]
bus: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agobootcount: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:30:32 +0000 (19:30 -0600)]
bootcount: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agoblock: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:30:31 +0000 (19:30 -0600)]
block: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agobios_emulator: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:30:30 +0000 (19:30 -0600)]
bios_emulator: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agoaxi: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:30:29 +0000 (19:30 -0600)]
axi: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agoata: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:30:28 +0000 (19:30 -0600)]
ata: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Reviewed-by: Tony Dinh <mibodhi@gmail.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agoadc: Remove <common.h> and add needed includes
Tom Rini [Thu, 2 May 2024 01:30:27 +0000 (19:30 -0600)]
adc: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agoinclude/linux/compat.h: Add <time.h>
Tom Rini [Thu, 2 May 2024 01:30:26 +0000 (19:30 -0600)]
include/linux/compat.h: Add <time.h>

As this file has macros which use get_timer() it must include <time.h>
to resolve this.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agofsl_ifc.h: Add <asm/ppc.h>
Tom Rini [Thu, 2 May 2024 01:30:25 +0000 (19:30 -0600)]
fsl_ifc.h: Add <asm/ppc.h>

In the case of PowerPC, this file needs to include <asm/ppc.h> in order
to resolve all of the references it makes.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agoinclude: Add missing <linux/types.h>
Tom Rini [Thu, 2 May 2024 01:30:24 +0000 (19:30 -0600)]
include: Add missing <linux/types.h>

These files have many "Linux" style types in them, add <linux/types.h>

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agox86: Add missing <linux/types.h>
Tom Rini [Thu, 2 May 2024 01:30:23 +0000 (19:30 -0600)]
x86: Add missing <linux/types.h>

This file has many "Linux" style types in it, add <linux/types.h>

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agoarm: socfpga: Add missing <linux/types.h>
Tom Rini [Thu, 2 May 2024 01:30:22 +0000 (19:30 -0600)]
arm: socfpga: Add missing <linux/types.h>

This file has many "Linux" style types in it, add <linux/types.h>

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agoarm: nexell: Add missing <linux/types.h>
Tom Rini [Thu, 2 May 2024 01:30:21 +0000 (19:30 -0600)]
arm: nexell: Add missing <linux/types.h>

This file has many "Linux" style types in it, add <linux/types.h>

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agoarm: sunxi: Add missing <linux/types.h>
Tom Rini [Thu, 2 May 2024 01:30:20 +0000 (19:30 -0600)]
arm: sunxi: Add missing <linux/types.h>

These files have many "Linux" style types in them, add <linux/types.h>

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agoarm: aspeed: Add missing <linux/types.h>
Tom Rini [Thu, 2 May 2024 01:30:19 +0000 (19:30 -0600)]
arm: aspeed: Add missing <linux/types.h>

The scu* files have many "Linux" style types in them, add
<linux/types.h>

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agommc: Migrate MMC_SUPPORTS_TUNING to Kconfig
Tom Rini [Thu, 2 May 2024 01:30:18 +0000 (19:30 -0600)]
mmc: Migrate MMC_SUPPORTS_TUNING to Kconfig

The constraints on the MMC_SUPPORTS_TUNING symbol can easily be
expressed in Kconfig (with the addition of SPL_MMC_SUPPORTS_TUNING).
Furthermore, in order to remove <common.h> from the MMC subsystem, the
way this symbol is used today needs to be changed in order to continue
functioning.

Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agoboard: zyxel: Remove <common.h> and add needed includes
Tom Rini [Wed, 1 May 2024 02:43:16 +0000 (20:43 -0600)]
board: zyxel: Remove <common.h> and add needed includes

Remove <common.h> from this board vendor directory and when needed
add missing include files directly.

Reviewed-by: Tony Dinh <mibodhi@gmail.com>
Tested-by: Tony Dinh <mibodhi@gmail.com> # on Zyxel NSA310s
Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agoboard: xilinx: Remove <common.h> and add needed includes
Tom Rini [Wed, 1 May 2024 02:43:15 +0000 (20:43 -0600)]
board: xilinx: Remove <common.h> and add needed includes

Remove <common.h> from this board vendor directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agoboard: xen: Remove <common.h> and add needed includes
Tom Rini [Wed, 1 May 2024 02:43:14 +0000 (20:43 -0600)]
board: xen: Remove <common.h> and add needed includes

Remove <common.h> from this board vendor directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agoboard: work-microwave: Remove <common.h> and add needed includes
Tom Rini [Wed, 1 May 2024 02:43:13 +0000 (20:43 -0600)]
board: work-microwave: Remove <common.h> and add needed includes

Remove <common.h> from this board vendor directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agoboard: warp7: Remove <common.h> and add needed includes
Tom Rini [Wed, 1 May 2024 02:43:12 +0000 (20:43 -0600)]
board: warp7: Remove <common.h> and add needed includes

Remove <common.h> from this board vendor directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agoboard: wandboard: Remove <common.h> and add needed includes
Tom Rini [Wed, 1 May 2024 02:43:11 +0000 (20:43 -0600)]
board: wandboard: Remove <common.h> and add needed includes

Remove <common.h> from this board vendor directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agoboard: vscom: Remove <common.h> and add needed includes
Tom Rini [Wed, 1 May 2024 02:43:10 +0000 (20:43 -0600)]
board: vscom: Remove <common.h> and add needed includes

Remove <common.h> from this board vendor directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agoboard: variscite: Remove <common.h> and add needed includes
Tom Rini [Wed, 1 May 2024 02:43:09 +0000 (20:43 -0600)]
board: variscite: Remove <common.h> and add needed includes

Remove <common.h> from this board vendor directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agoboard: udoo: Remove <common.h> and add needed includes
Tom Rini [Wed, 1 May 2024 02:43:08 +0000 (20:43 -0600)]
board: udoo: Remove <common.h> and add needed includes

Remove <common.h> from this board vendor directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agoboard: traverse: Remove <common.h> and add needed includes
Tom Rini [Wed, 1 May 2024 02:43:07 +0000 (20:43 -0600)]
board: traverse: Remove <common.h> and add needed includes

Remove <common.h> from this board vendor directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
7 months agoboard: tq: Remove <common.h> and add needed includes
Tom Rini [Wed, 1 May 2024 02:43:06 +0000 (20:43 -0600)]
board: tq: Remove <common.h> and add needed includes

Remove <common.h> from this board vendor directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>