Skip to content

Commit 8927fd0

Browse files
LiBinSHAcristibirsan
authored andcommitted
driver:dram: align the device name of the 2g dram sip
Update the device name to align with W632GU6NB12I for all 2G devices. For SAM9X75_SOM_2G and SAM9X75_CURIOSITY change the name from W632GU6NG to W632GU6NB12I. Signed-off-by: Li Bin <[email protected]>
1 parent dc20d85 commit 8927fd0

10 files changed

+11
-20
lines changed

configs/sam9x75_curiosity_bkptnone_defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ CONFIG_INIT_AND_STOP=y
66
CONFIG_SAM9X7=y
77
CONFIG_DEBUG=y
88
CONFIG_DDR_SET_BY_DEVICE=y
9-
CONFIG_DDR_W632GU6NG=y
9+
CONFIG_DDR_W632GU6NB12I=y
1010
CONFIG_BOARD_QUIRK_SAM9X75_CURIOSITY=y
1111
CONFIG_LED_ON_BOARD=y
1212
CONFIG_LED_R_ON_PIOC=y

configs/sam9x75_curiositydf_qspi_uboot_defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
CONFIG_SAM9X7=y
66
CONFIG_DEBUG=y
77
CONFIG_DDR_SET_BY_DEVICE=y
8-
CONFIG_DDR_W632GU6NG=y
8+
CONFIG_DDR_W632GU6NB12I=y
99
CONFIG_SPI_CLK=100000000
1010
CONFIG_AT91_QSPI_OCTAL=y
1111
CONFIG_QSPI_DMA_SUPPORT=y

configs/sam9x75_curiositynf_uboot_defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
CONFIG_SAM9X7=y
66
CONFIG_DEBUG=y
77
CONFIG_DDR_SET_BY_DEVICE=y
8-
CONFIG_DDR_W632GU6NG=y
8+
CONFIG_DDR_W632GU6NB12I=y
99
CONFIG_NANDFLASH=y
1010
CONFIG_NAND_TIMING_MODE=y
1111
CONFIG_NAND_DMA_SUPPORT=y

configs/sam9x75_curiositysd_uboot_defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
CONFIG_SAM9X7=y
66
CONFIG_DEBUG=y
77
CONFIG_DDR_SET_BY_DEVICE=y
8-
CONFIG_DDR_W632GU6NG=y
8+
CONFIG_DDR_W632GU6NB12I=y
99
CONFIG_SDCARD=y
1010
CONFIG_BOARD_QUIRK_SAM9X75_CURIOSITY=y
1111
CONFIG_LED_ON_BOARD=y

configs/sam9x75_som2g_nf_uboot_defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
CONFIG_SAM9X7=y
66
CONFIG_DEBUG=y
77
CONFIG_DDR_SET_BY_DEVICE=y
8-
CONFIG_DDR_W632GU6NG=y
8+
CONFIG_DDR_W632GU6NB12I=y
99
CONFIG_NANDFLASH=y
1010
CONFIG_NAND_TIMING_MODE=y
1111
CONFIG_NAND_DMA_SUPPORT=y

configs/sam9x75_som2g_sd_uboot_defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
CONFIG_SAM9X7=y
66
CONFIG_DEBUG=y
77
CONFIG_DDR_SET_BY_DEVICE=y
8-
CONFIG_DDR_W632GU6NG=y
8+
CONFIG_DDR_W632GU6NB12I=y
99
CONFIG_SDCARD=y

driver/Config.in.dram

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,6 @@ config DDR_W971GG6SB
8282
depends on DDRC
8383
help
8484
DDR2 W971GG6SB 1 Gbit
85-
config DDR_W632GU6NG
86-
bool "DDR3L W632GU6NG (SAM9X75-2G SiP)"
87-
depends on DDRC
88-
help
89-
DDR3L W632GU6NG 2 Gbit
9085
config DDR_W9751G6NB
9186
bool "DDR3L W9751G6NB (SAM9X75-512M SiP)"
9287
depends on DDRC
@@ -152,8 +147,7 @@ config DDR_W631GU6NB12I
152147
help
153148
DDR3L W631GU6NB12I 8 Meg x 16 x 8 DDR3-1600
154149
config DDR_W632GU6NB12I
155-
bool "DDR3L W632GU6NB12I(SAMA7G54|SAMA7D65 2G-SIP)"
156-
depends on UMCTL2
150+
bool "DDR3L W632GU6NB12I(SAM9X75|SAMA7G54|SAMA7D65 2G-SIP)"
157151
help
158152
DDR3L W632GU6N12I 16 Meg x 16 x 8 DDR3L-1600
159153
config DDR_W634GU6NB12I

driver/ddramc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ static void ddram_reg_config(struct ddramc_register *ddramc_config)
7777
#else
7878
#error "No CLK setting defined"
7979
#endif
80-
#elif defined(CONFIG_DDR_W632GU6NG)
81-
/* DDR3L(W632GU6NG = 16 Mbit x 16 x 8 banks), total 2Gbit on SAM9X75D2G */
80+
#elif defined(CONFIG_DDR_W632GU6NB12I)
81+
/* DDR3L(W632GU6NB12I = 16 Mbit x 16 x 8 banks), total 2Gbit on SAM9X75D2G */
8282
type = AT91C_DDRC2_MD_DDR3_SDRAM;
8383
dbw = AT91C_DDRC2_DBW_16_BITS;
8484
col = AT91C_DDRC2_NC_DDR10_SDR9;

driver/driver_cpp.mk

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@ endif
2727
ifeq ($(CONFIG_DDR_MT41K128M16),y)
2828
CPPFLAGS += -DCONFIG_DDR3 -DCONFIG_DDR_2_GBIT
2929
endif
30-
ifeq ($(CONFIG_DDR_W632GU6NG),y)
31-
CPPFLAGS += -DCONFIG_DDR3 -DCONFIG_DDR_2_GBIT
32-
endif
3330
ifeq ($(CONFIG_DDR_W9751G6NB),y)
3431
CPPFLAGS += -DCONFIG_DDR2 -DCONFIG_DDR_512_MBIT
3532
endif

include/ddr_device.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ static const struct ddram_timings ddr_ddram_timings = {
9797
#error "No CLK setting defined"
9898
#endif /* Endif of CONFIG_BUS_SPEED_200MHZ */
9999

100-
#elif defined(CONFIG_DDR_W632GU6NG)
101-
/* DDR3L (W632GU6NG = 16 Mbit x 16 x 8 banks), total 2Gbit on SAM9X75D2G */
100+
#elif defined(CONFIG_DDR_W632GU6NB12I)
101+
/* DDR3L (W632GU6NB12I = 16 Mbit x 16 x 8 banks), total 2Gbit on SAM9X75D2G */
102102
#if defined(CONFIG_BUS_SPEED_200MHZ)
103103
.tras = 7,
104104
.trcd = 3,

0 commit comments

Comments
 (0)