mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-11 07:24:46 +00:00

The H616 DRAM controller requires some board specific parameters, which we declare in Kconfig, let each board specify in their defconfig, and then use in the DRAM init code. Other DRAM controllers now require a very similar, if not identical parameter set, with so far the same parameter names used. To help keep the Kconfig file at bay, rename the existing parameter names to drop the H616_ part in there, to make them more naturally reusable for other SoCs. No functional change, just a rename. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
33 lines
894 B
Text
33 lines
894 B
Text
CONFIG_ARM=y
|
|
CONFIG_ARCH_SUNXI=y
|
|
CONFIG_DEFAULT_DEVICE_TREE="allwinner/sun50i-h618-orangepi-zero3"
|
|
CONFIG_SPL=y
|
|
CONFIG_DRAM_SUNXI_DX_ODT=0x07070707
|
|
CONFIG_DRAM_SUNXI_DX_DRI=0x0e0e0e0e
|
|
CONFIG_DRAM_SUNXI_CA_DRI=0x0e0e
|
|
CONFIG_DRAM_SUNXI_ODT_EN=0xaaaaeeee
|
|
CONFIG_DRAM_SUNXI_TPR6=0x44000000
|
|
CONFIG_DRAM_SUNXI_TPR10=0x402f6663
|
|
CONFIG_DRAM_SUNXI_TPR11=0x24242624
|
|
CONFIG_DRAM_SUNXI_TPR12=0x0f0f100f
|
|
CONFIG_MACH_SUN50I_H616=y
|
|
CONFIG_SUNXI_DRAM_H616_LPDDR4=y
|
|
CONFIG_DRAM_CLK=792
|
|
CONFIG_USB1_VBUS_PIN="PC16"
|
|
CONFIG_R_I2C_ENABLE=y
|
|
CONFIG_SPL_SPI_SUNXI=y
|
|
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
|
CONFIG_SPL_I2C=y
|
|
CONFIG_SPL_SYS_I2C_LEGACY=y
|
|
CONFIG_SYS_I2C_MVTWSI=y
|
|
CONFIG_SYS_I2C_SLAVE=0x7f
|
|
CONFIG_SYS_I2C_SPEED=400000
|
|
CONFIG_MTD=y
|
|
CONFIG_SPI_FLASH_ZBIT=y
|
|
CONFIG_PHY_MOTORCOMM=y
|
|
CONFIG_SUN8I_EMAC=y
|
|
CONFIG_AXP313_POWER=y
|
|
CONFIG_SPI=y
|
|
CONFIG_USB_EHCI_HCD=y
|
|
CONFIG_USB_OHCI_HCD=y
|
|
CONFIG_USB_MUSB_GADGET=y
|