Skip to content

Commit 2b80c68

Browse files
LiBinSHAnoglitch
authored andcommitted
driver: add DDR2 AS4C128M16D2A_25BAN support
Introduce new AS4C128M16D2A_25BAN on ourasi-ddr2-eb. The DDR2 is configured as speed bin DDR2_800D and DDR_2_GBIT. Signed-off-by: Li Bin <[email protected]>
1 parent ed48d7a commit 2b80c68

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

Kconfig

+2
Original file line numberDiff line numberDiff line change
@@ -570,6 +570,7 @@ config DDR_DRIVER_IMPEDANCE
570570
default 48 if DDR_W631GU6NB
571571
default 48 if DDR_W632GU6NB12I
572572
default 48 if DDR_AS4C512M16D3LA_10BIN
573+
default 40 if DDR_AS4C128M16D2A_25BAN
573574
default 48 if DDR_W97AH6NBVA1K
574575
depends on UMCTL2
575576
help
@@ -584,6 +585,7 @@ config DDR_ODT_IMPEDANCE
584585
default 60 if DDR_W632GU6NB12I
585586
default 60 if DDR_AS4C512M16D3LA_10BIN
586587
default 50 if DDR_MT47H128M16RT_25E_C
588+
default 50 if DDR_AS4C128M16D2A_25BAN
587589
default 0 if DDR_IS43LD16128B_25BLI
588590
default 0 if DDR_W97AH6NBVA1K
589591
default 120 if DDR_MT52L256M32D1PF_107

driver/Config.in.dram

+6
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,12 @@ config DDR_EDB5432BEBH_1DAAT_F_D
172172
depends on UMCTL2
173173
help
174174
LPDDR2 EDB5432BEBH-1DAAT-F-D 4M x 32 x 4
175+
176+
config DDR_AS4C128M16D2A_25BAN
177+
bool "DDR2 AS4C128M16D2A_25BAN(OURASI_DDR2_EB)"
178+
depends on UMCTL2
179+
help
180+
DDR2 AS4C128M16D2A_25BAN 128 Meg x 16 DDR2-800
175181
endchoice
176182

177183
choice

driver/driver_cpp.mk

+3
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@ endif
108108
ifeq ($(CONFIG_DDR_W97AH6NBVA1K), y)
109109
CPPFLAGS += -DCONFIG_LPDDR2 -DCONFIG_LPDDR2_S4 -DCONFIG_LPDDR2_SPEED_1066 -DCONFIG_DDR_1_GBIT -DCONFIG_DBW_16
110110
endif
111+
ifeq ($(CONFIG_DDR_AS4C128M16D2A_25BAN), y)
112+
CPPFLAGS += -DCONFIG_DDR2 -DCONFIG_DDR2_SPEED_BIN_800D -DCONFIG_DDR_2_GBIT -DCONFIG_DBW_16
113+
endif
111114
endif
112115

113116
ifeq ($(CONFIG_REF_WIN_32),y)

0 commit comments

Comments
 (0)