diff mbox series

[v3,20/57] ram: rockchip: Kconfig: Add RK3399 LPDDR4 entry

Message ID 20190716115745.12585-21-jagan@amarulasolutions.com (mailing list archive)
State New, archived
Headers show
Series ram: rk3399: Add LPDDR4 support | expand

Commit Message

Jagan Teki July 16, 2019, 11:57 a.m. UTC
Supporting LPDDR4 code support in RK3399 would increases
the size of SPL/TPL.

So add kconfig entry for RK3399 LPDDR4 code so-that
the boards have LPDDR4 can enable them via defconfig.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
---
 drivers/ram/rockchip/Kconfig | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Kever Yang July 16, 2019, 1:10 p.m. UTC | #1
On 2019/7/16 下午7:57, Jagan Teki wrote:
> Supporting LPDDR4 code support in RK3399 would increases
> the size of SPL/TPL.
>
> So add kconfig entry for RK3399 LPDDR4 code so-that
> the boards have LPDDR4 can enable them via defconfig.
>
> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>

Reviewed-by: Kever Yang <Kever.yang@rock-chips.com>

Thanks,
  - Kever
> ---
>   drivers/ram/rockchip/Kconfig | 7 +++++++
>   1 file changed, 7 insertions(+)
>
> diff --git a/drivers/ram/rockchip/Kconfig b/drivers/ram/rockchip/Kconfig
> index 151ffb684d..4f274e01b3 100644
> --- a/drivers/ram/rockchip/Kconfig
> +++ b/drivers/ram/rockchip/Kconfig
> @@ -23,4 +23,11 @@ config RAM_RK3399
>   	  This enables ram drivers support for the platforms based on
>   	  Rockchip RK3399 SoC.
>   
> +config RAM_RK3399_LPDDR4
> +	bool "LPDDR4 support for Rockchip RK3399"
> +	depends on RAM_RK3399
> +	help
> +	  This enables LPDDR4 sdram code support for the platforms based
> +	  on Rockchip RK3399 SoC.
> +
>   endif # RAM_ROCKCHIP
diff mbox series

Patch

diff --git a/drivers/ram/rockchip/Kconfig b/drivers/ram/rockchip/Kconfig
index 151ffb684d..4f274e01b3 100644
--- a/drivers/ram/rockchip/Kconfig
+++ b/drivers/ram/rockchip/Kconfig
@@ -23,4 +23,11 @@  config RAM_RK3399
 	  This enables ram drivers support for the platforms based on
 	  Rockchip RK3399 SoC.
 
+config RAM_RK3399_LPDDR4
+	bool "LPDDR4 support for Rockchip RK3399"
+	depends on RAM_RK3399
+	help
+	  This enables LPDDR4 sdram code support for the platforms based
+	  on Rockchip RK3399 SoC.
+
 endif # RAM_ROCKCHIP