History log of /rk3399_rockchip-uboot/drivers/ram/rockchip/sdram_rk3399.c (Results 1 – 11 of 11)
Revision Date Author Comments
# e1652d39 20-Aug-2024 Zhihuan He <huan.he@rock-chips.com>

drivers: ram: rockchip: Send refresh when detecting bank and bg

Change-Id: Idcea7eb5425dbf875376ad98851ea8b94b4be3d9
Signed-off-by: Zhihuan He <huan.he@rock-chips.com>


# b8dc613c 19-Nov-2019 Joseph Chen <chenjh@rock-chips.com>

Merge branch 'next-dev' into thunder-boot


# 5e6e8f2d 09-Oct-2019 YouMin Chen <cym@rock-chips.com>

driver: ram: rockchip: modify sdram common driver

Remove the config about SDRAM_COMMON_CAP_DETECT,SDRAM_COMMON_OSREG,
SDRAM_COMMON_MSCH_RK3399 and SDRAM_COMMON_MSCH_PX30.

Change-Id: I17f2bdae585454

driver: ram: rockchip: modify sdram common driver

Remove the config about SDRAM_COMMON_CAP_DETECT,SDRAM_COMMON_OSREG,
SDRAM_COMMON_MSCH_RK3399 and SDRAM_COMMON_MSCH_PX30.

Change-Id: I17f2bdae585454a1d869ae9d967843d1d169381f
Signed-off-by: YouMin Chen <cym@rock-chips.com>

show more ...


# e1f97ec3 07-Mar-2019 YouMin Chen <cym@rock-chips.com>

driver: ram: rockchip: rename sdram_common.* to sdram.*

Change-Id: Idc6edee2906297d3ab681a36dc58c79283c0eb57
Signed-off-by: YouMin Chen <cym@rock-chips.com>


# 00e55222 15-Feb-2019 YouMin Chen <cym@rock-chips.com>

driver: ram: rk3399: clear interrupt before data training

Clears the corresponding interrupt bit of the PI_INT_STATUS
parameter before trigger data training.

Change-Id: Ic25c952a19913cb4332b6cd3405

driver: ram: rk3399: clear interrupt before data training

Clears the corresponding interrupt bit of the PI_INT_STATUS
parameter before trigger data training.

Change-Id: Ic25c952a19913cb4332b6cd3405f41474585bfb1
Signed-off-by: YouMin Chen <cym@rock-chips.com>

show more ...


# 8b36ec9f 28-Dec-2018 YouMin Chen <cym@rock-chips.com>

driver: ram: rockchip: rk3399: add lpddr4 support

Select rk3399-sdram-lpddr4-100.dtsi to initialize LPDDR4
at 50MHz, it will change clock frequency to 800MHz
after initialization is complete.

Chang

driver: ram: rockchip: rk3399: add lpddr4 support

Select rk3399-sdram-lpddr4-100.dtsi to initialize LPDDR4
at 50MHz, it will change clock frequency to 800MHz
after initialization is complete.

Change-Id: I803ed2c809f17bbea40f379194bce548adc338ea
Signed-off-by: YouMin Chen <cym@rock-chips.com>

show more ...


# 31d8c61d 25-Dec-2018 YouMin Chen <cym@rock-chips.com>

driver: ram: rockchip: rk3399: dram init select common code

Add support dram capacity detect.
Select dram timing file base on dram type and clock frequency,
don't need care dram capacity.Dram capaci

driver: ram: rockchip: rk3399: dram init select common code

Add support dram capacity detect.
Select dram timing file base on dram type and clock frequency,
don't need care dram capacity.Dram capacity will auto detect.

Change-Id: I0554a0ec0c753a159406330aa0baa2daafe7ab93
Signed-off-by: YouMin Chen <cym@rock-chips.com>

show more ...


# ca77381e 12-Nov-2018 Kever Yang <kever.yang@rock-chips.com>

rockchip: ram: rk3399: update for TPL

Init the ddr sdram in TPL instead of SPL, update the code.

Change-Id: I29ab54a2fe9aacc839826fc40ef263a10ef7033c
Signed-off-by: Kever Yang <kever.yang@rock-chip

rockchip: ram: rk3399: update for TPL

Init the ddr sdram in TPL instead of SPL, update the code.

Change-Id: I29ab54a2fe9aacc839826fc40ef263a10ef7033c
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>

show more ...


# 90aa625c 16-Sep-2017 Masahiro Yamada <yamada.masahiro@socionext.com>

treewide: replace with error() with pr_err()

U-Boot widely uses error() as a bit noisier variant of printf().

This macro causes name conflict with the following line in
include/linux/compiler-gcc.h

treewide: replace with error() with pr_err()

U-Boot widely uses error() as a bit noisier variant of printf().

This macro causes name conflict with the following line in
include/linux/compiler-gcc.h:

# define __compiletime_error(message) __attribute__((error(message)))

This prevents us from using __compiletime_error(), and makes it
difficult to fully sync BUILD_BUG macros with Linux. (Notice
Linux's BUILD_BUG_ON_MSG is implemented by using compiletime_assert().)

Let's convert error() into now treewide-available pr_err().

Done with the help of Coccinelle, excluing tools/ directory.

The semantic patch I used is as follows:

// <smpl>
@@@@
-error
+pr_err
(...)
// </smpl>

Change-Id: I921807c1770d36a91e692c48ab477558bb2ed0b8
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
[trini: Re-run Coccinelle]
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
(cherry picked from commit 9b643e312d528f291966c1f30b0d90bf3b1d43dc)

show more ...


# 7dfddccf 07-Sep-2017 Kever Yang <kever.yang@rock-chips.com>

rockchip: ram: rk3399: update reg map for of-platdata

After Simon's patch, the dtoc can work with 64bit address,
so we need to fix reg number for it.
Depend on Simon's patch set:
https://patchwork.o

rockchip: ram: rk3399: update reg map for of-platdata

After Simon's patch, the dtoc can work with 64bit address,
so we need to fix reg number for it.
Depend on Simon's patch set:
https://patchwork.ozlabs.org/cover/807266/

Change-Id: Ifc715eeea82e412d2236f22a4d8885efc02aec40
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>

show more ...


# d0b1becd 06-Sep-2017 Kever Yang <kever.yang@rock-chips.com>

rockchip: rk3399: move sdram driver to driver/ram

Since we have CONFIG_RAM framwork and its driver folder, move the driver
into it.

Change-Id: I53f9de99b2b1180b74cca948847105be66d540f2
Signed-off-b

rockchip: rk3399: move sdram driver to driver/ram

Since we have CONFIG_RAM framwork and its driver folder, move the driver
into it.

Change-Id: I53f9de99b2b1180b74cca948847105be66d540f2
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>

show more ...