u-boot/drivers
Tony Dinh 54a08c4139 ddr: marvell: a38x: Add support for DDR4 from Marvell mv-ddr-marvell repository
This syncs drivers/ddr/marvell/a38x/ with the master branch of repository
https://github.com/MarvellEmbeddedProcessors/mv-ddr-marvell.git

up to the commit "mv_ddr: a3700: Use the right size for memset to not overflow"
d5acc10c287e40cc2feeb28710b92e45c93c702c

This patch was created by following steps:

	1. Replace all a38x files in U-Boot tree by files from upstream github
	Marvell mv-ddr-marvell repository.

	2. Run following command to omit portions not relevant for a38x, ddr3, and ddr4:

	files=drivers/ddr/marvell/a38x/*
	unifdef -m -UMV_DDR -UMV_DDR_ATF -UCONFIG_APN806 \
		-UCONFIG_MC_STATIC -UCONFIG_MC_STATIC_PRINT -UCONFIG_PHY_STATIC \
		-UCONFIG_PHY_STATIC_PRINT -UCONFIG_CUSTOMER_BOARD_SUPPORT \
		-UCONFIG_A3700 -UA3900 -UA80X0 -UA70X0 -DCONFIG_ARMADA_38X -UCONFIG_ARMADA_39X \
		-UCONFIG_64BIT $files

	3. Manually change license to SPDX-License-Identifier
	(upstream license in  upstream github repository contains long license
	texts and U-Boot is using just SPDX-License-Identifier.

After applying this patch, a38x, ddr3, and ddr4 code in upstream Marvell github
repository and in U-Boot would be fully identical. So in future applying
above steps could be used to sync code again.

The only change in this patch are:
	1. Some fixes with include files.
	2. Some function return and basic type defines changes in
	mv_ddr_plat.c (to correct Marvell bug).
	3. Remove of dead code in newly copied files (as a result of the
	filter script stripping out everything other than a38x, dd3, and ddr4).

Reference:
    "ddr: marvell: a38x: Sync code with Marvell mv-ddr-marvell repository"
    107c3391b9

Signed-off-by: Tony Dinh <mibodhi@gmail.com>
Reviewed-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
2023-01-26 07:30:20 +01:00
..
adc adc: stm32mp15: add calibration support 2023-01-12 16:25:51 +01:00
ata ata: Don't try to use non-existent ports 2023-01-23 18:11:40 -05:00
axi WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
bios_emulator video: Rename structs and functions to avoid VBE 2022-08-12 08:14:23 -04:00
block bootstd: Add a new pre-scan priority for bootdevs 2023-01-23 18:11:41 -05:00
bootcount global: Move remaining CONFIG_SYS_* to CFG_SYS_* 2022-12-05 16:06:08 -05:00
bus bus: Optionally include TI sysc driver in SPL/TPL 2022-12-02 08:39:00 -05:00
button button: gpio: add DM_GPIO dependency 2022-08-23 12:39:06 +02:00
cache drivers: cache: ncore: Disable snoop filter 2022-06-17 16:27:05 +08:00
clk clk: sunxi: Add DE2 display-related clocks/resets 2023-01-23 01:18:31 +00:00
core dm: core: Support sorting devices with dm tree 2023-01-23 18:11:39 -05:00
cpu event: Correct dependencies on the EVENT framework 2023-01-18 12:46:13 -05:00
crypto global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
ddr ddr: marvell: a38x: Add support for DDR4 from Marvell mv-ddr-marvell repository 2023-01-26 07:30:20 +01:00
demo demo: migrate uclass to livetree 2021-10-05 08:50:15 -04:00
dfu blk: Switch over to using uclass IDs 2022-09-16 11:05:16 -04:00
dma ddr: fsl: Remove CONFIG_MEM_INIT_VALUE 2022-12-22 10:31:48 -05:00
fastboot fastboot: Add OEM run command 2023-01-11 15:02:24 -05:00
firmware firmware: ti_sci: fix typo in boot authentication message name 2023-01-18 13:11:13 -05:00
fpga global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
fuzz sandbox: Implement fuzzing engine driver 2022-06-23 12:58:19 -04:00
fwu-mdata FWU: Add FWU metadata access driver for GPT partitioned block devices 2022-10-31 14:47:32 -04:00
gpio global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
hwspinlock treewide: invaild -> invalid 2022-01-13 07:57:49 -05:00
i2c global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
input input: Remove legacy KEYBOARD option 2022-10-21 13:47:56 -04:00
iommu iommu: Add M2 support to Apple DART driver 2022-07-25 09:38:47 -04:00
led led: led_pwm: typo 'iverted' on code comment 2022-11-02 13:58:17 -04:00
mailbox mailbox: zynqmp: Enable ipi mailbox driver for Versal NET 2022-09-26 14:23:29 +02:00
memory memory: atmel-ebi: add Atmel EBI (External Bus Interface) driver 2022-12-08 18:06:27 +02:00
mfd mfd: syscon: atmel-smc: Add new helpers to ease SMC regs manipulation 2022-12-08 18:06:27 +02:00
misc global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
mmc Merge https://source.denx.de/u-boot/custodians/u-boot-sunxi 2023-01-24 21:07:01 -05:00
mtd bootstd: Add a new pre-scan priority for bootdevs 2023-01-23 18:11:41 -05:00
mux treewide: invaild -> invalid 2022-01-13 07:57:49 -05:00
net global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
nvme bootstd: Add a new pre-scan priority for bootdevs 2023-01-23 18:11:41 -05:00
pch treewide: Simply conditions with the new OF_REAL 2021-09-25 09:46:15 -06:00
pci pci-rcar-gen3: Rename CONFIG_SEND_ENABLE 2022-12-23 13:01:13 -05:00
pci_endpoint dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00
phy global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
pinctrl global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
power power: pmic: axp: Bind regulators from the DT 2023-01-23 01:18:31 +00:00
pwm global: Migrate CONFIG_IMX6_PWM_PER_CLK to CFG 2022-12-23 10:10:40 -05:00
qe global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
ram global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
reboot-mode reboot-mode: Add NVMEM reboot mode 2023-01-11 11:54:50 -05:00
remoteproc remoteproc: ipu: Add driver to bring up ipu 2022-02-08 11:00:03 -05:00
reset reset: at91: Add reset driver for basic assert/deassert operations 2023-01-05 10:06:35 +02:00
rng drivers: rng: optee_rng: register to CONFIG_OPTEE_SERVICE_DISCOVERY 2022-09-14 15:23:03 -04:00
rtc rtc: abx8xx: Add support for reading RAM 2023-01-11 11:54:50 -05:00
scsi bootstd: Add a new pre-scan priority for bootdevs 2023-01-23 18:11:41 -05:00
serial global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
smem smem: msm: add missing <linux/sizes.h> 2022-10-12 08:56:24 -04:00
soc soc: ti: k3-socinfo: add am62a SoC entry 2022-12-09 14:10:28 -05:00
sound test: test sandbox sound driver more rigorously 2022-12-05 17:43:21 +01:00
spi global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
spmi spmi: msm: add arbiter version 5 support 2021-10-31 08:46:44 -04:00
sysinfo dm: core: Switch uclass_*_device_err to use uclass_*_device_check 2022-10-29 07:36:33 -06:00
sysreset reset: at91: Add reset driver for basic assert/deassert operations 2023-01-05 10:06:35 +02:00
tee tee: optee: fix uuid comparisons on service discovery 2023-01-20 10:04:56 +02:00
thermal thermal: add sandbox driver 2022-10-11 16:03:03 -04:00
timer global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
tpm tpm2: ftpm: add the device in the OP-TEE services list 2023-01-20 10:04:56 +02:00
ufs global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
usb bootstd: Add a new pre-scan priority for bootdevs 2023-01-23 18:11:41 -05:00
video video: sunxi: dw-hdmi: Read address from DT node 2023-01-23 01:18:31 +00:00
virtio bootstd: Add a new pre-scan priority for bootdevs 2023-01-23 18:11:41 -05:00
w1 dm: treewide: Do not use the return value of simple uclass iterator 2022-10-29 07:36:33 -06:00
w1-eeprom dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00
watchdog watchdog: Clean up defaults for imx_watchdog / ulp_wdog 2023-01-20 12:27:23 -05:00
xen xen: pvblock: Use uclass_probe_all 2022-11-02 13:58:17 -04:00
Kconfig mfd: syscon: atmel-smc: Add new helpers to ease SMC regs manipulation 2022-12-08 18:06:27 +02:00
Makefile mfd: syscon: atmel-smc: Add new helpers to ease SMC regs manipulation 2022-12-08 18:06:27 +02:00