ram: rockchip: add common code for sdram driver
authorKever Yang <kever.yang@rock-chips.com>
Fri, 15 Nov 2019 03:04:37 +0000 (11:04 +0800)
committerKever Yang <kever.yang@rock-chips.com>
Sun, 17 Nov 2019 08:23:56 +0000 (16:23 +0800)
commitd6647b08b276b8c5bacfe2dc10ec91a6a4503a9e
treef4468e0cb722d88a2945318af7522ab6ed36c214
parentc7becc3a2b1895e55dbbcc06b343178c8d8041f9
ram: rockchip: add common code for sdram driver

There are some function like os_reg setting, capacity detect functions,
can be used as common code for different Rockchip SoCs, add a
sdram_common.c for all these functions.

Signed-off-by: YouMin Chen <cym@rock-chips.com>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/include/asm/arch-rockchip/sdram_common.h
drivers/ram/rockchip/Kconfig
drivers/ram/rockchip/Makefile
drivers/ram/rockchip/sdram_common.c [new file with mode: 0644]