2018-10-26 07:02:52 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2015-06-23 21:39:04 +00:00
|
|
|
#
|
|
|
|
# Copyright (c) 2015 Google, Inc
|
|
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
#
|
2022-12-14 17:50:47 +00:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)DM) += ram-uclass.o
|
2018-08-06 08:23:30 +00:00
|
|
|
obj-$(CONFIG_MPC83XX_SDRAM) += mpc83xx_sdram.o
|
2015-07-06 18:54:31 +00:00
|
|
|
obj-$(CONFIG_SANDBOX) += sandbox_ram.o
|
2018-03-12 09:46:11 +00:00
|
|
|
obj-$(CONFIG_STM32MP1_DDR) += stm32mp1/
|
2017-04-10 22:02:51 +00:00
|
|
|
obj-$(CONFIG_STM32_SDRAM) += stm32_sdram.o
|
2017-04-24 22:39:19 +00:00
|
|
|
obj-$(CONFIG_ARCH_BMIPS) += bmips_ram.o
|
2017-06-22 22:12:05 +00:00
|
|
|
|
|
|
|
obj-$(CONFIG_ARCH_ROCKCHIP) += rockchip/
|
2018-11-02 14:21:02 +00:00
|
|
|
|
|
|
|
obj-$(CONFIG_K3_AM654_DDRSS) += k3-am654-ddrss.o
|
2018-11-15 02:08:03 +00:00
|
|
|
obj-$(CONFIG_ARCH_MEDIATEK) += mediatek/
|
2020-09-07 08:25:06 +00:00
|
|
|
obj-$(CONFIG_ARCH_ASPEED) += aspeed/
|
2021-05-11 15:22:10 +00:00
|
|
|
obj-$(CONFIG_K3_DDRSS) += k3-ddrss/
|
2020-01-10 14:51:44 +00:00
|
|
|
|
|
|
|
obj-$(CONFIG_IMXRT_SDRAM) += imxrt_sdram.o
|
2020-05-29 06:03:26 +00:00
|
|
|
|
|
|
|
obj-$(CONFIG_RAM_SIFIVE) += sifive/
|
2023-03-29 03:42:16 +00:00
|
|
|
ifdef CONFIG_SPL_BUILD
|
|
|
|
obj-$(CONFIG_SPL_STARFIVE_DDR) += starfive/
|
|
|
|
endif
|
sunxi: add R528/T113-s3/D1(s) DRAM initialisation code
The Allwinner R528/T113-s/D1/D1s SoCs all share the same die, so use the
same DRAM initialisation code.
Make use of prior art here and lift some code from awboot[1], which
carried init code based on earlier decompilation efforts, but with a
GPL2 license tag.
This code has been heavily reworked and cleaned up, to match previous
DRAM routines for other SoCs, and also to be closer to U-Boot's coding
style and support routines.
The actual DRAM chip timing parameters are included in the main file,
since they cover all DRAM types, and are protected by a new Kconfig
CONFIG_SUNXI_DRAM_TYPE symbol, which allows the compiler to pick only
the relevant settings, at build time.
The relevant DRAM chips/board specific configuration parameters are
delivered via Kconfig, so this code here should work for all supported
SoCs and DRAM chips combinations.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Tested-by: Sam Edwards <CFSworks@gmail.com>
2022-12-31 18:38:21 +00:00
|
|
|
|
|
|
|
obj-$(CONFIG_DRAM_SUN20I_D1) += sunxi/
|
|
|
|
|
2020-09-02 06:29:08 +00:00
|
|
|
obj-$(CONFIG_ARCH_OCTEON) += octeon/
|
2023-05-13 01:36:53 +00:00
|
|
|
|
2023-05-13 01:36:56 +00:00
|
|
|
obj-$(CONFIG_ARCH_RMOBILE) += renesas/
|
2023-05-13 01:36:53 +00:00
|
|
|
obj-$(CONFIG_CADENCE_DDR_CTRL) += cadence/
|