diff options
author | Kever Yang <kever.yang@rock-chips.com> | 2019-11-15 11:04:37 +0800 |
---|---|---|
committer | Kever Yang <kever.yang@rock-chips.com> | 2019-11-17 16:23:56 +0800 |
commit | d6647b08b276b8c5bacfe2dc10ec91a6a4503a9e (patch) | |
tree | f4468e0cb722d88a2945318af7522ab6ed36c214 /drivers/ram/rockchip/Kconfig | |
parent | c7becc3a2b1895e55dbbcc06b343178c8d8041f9 (diff) |
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>
Diffstat (limited to 'drivers/ram/rockchip/Kconfig')
-rw-r--r-- | drivers/ram/rockchip/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/ram/rockchip/Kconfig b/drivers/ram/rockchip/Kconfig index 4f274e01b3..dcc06b3fd3 100644 --- a/drivers/ram/rockchip/Kconfig +++ b/drivers/ram/rockchip/Kconfig @@ -5,6 +5,12 @@ config RAM_ROCKCHIP help This enables support for ram drivers Rockchip SoCs. +config ROCKCHIP_SDRAM_COMMON + bool "Enable rockchip sdram common driver" + depends on TPL_RAM || SPL_RAM + help + This enable sdram common driver + if RAM_ROCKCHIP config RAM_ROCKCHIP_DEBUG |