All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2 0/4] move rockchip sdram driver to driver/ram
@ 2017-09-27  8:11 Kever Yang
  2017-09-27  8:11 ` [U-Boot] [PATCH v2 1/4] rockchip: rk3399: move " Kever Yang
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Kever Yang @ 2017-09-27  8:11 UTC (permalink / raw)
  To: u-boot


move all the Rockchip sdram driver which support CONFIG_RAM into
driver/ram folder

Series 2 is a rebase based on u-boot-rockchip master branch.


Kever Yang (4):
  rockchip: rk3399: move sdram driver to driver/ram
  rockchip: rk3188: move sdram driver to driver/ram
  rockchip: rk3288: move sdram driver to driver/ram
  rockchip: rk3328: move sdram driver to driver/ram

 arch/arm/mach-rockchip/rk3188/Makefile                                | 1 -
 arch/arm/mach-rockchip/rk3288/Makefile                                | 1 -
 arch/arm/mach-rockchip/rk3328/Makefile                                | 1 -
 arch/arm/mach-rockchip/rk3399/Makefile                                | 1 -
 drivers/ram/rockchip/Makefile                                         | 4 ++++
 .../arm/mach-rockchip/rk3188 => drivers/ram/rockchip}/sdram_rk3188.c  | 0
 .../arm/mach-rockchip/rk3288 => drivers/ram/rockchip}/sdram_rk3288.c  | 0
 .../arm/mach-rockchip/rk3328 => drivers/ram/rockchip}/sdram_rk3328.c  | 0
 .../arm/mach-rockchip/rk3399 => drivers/ram/rockchip}/sdram_rk3399.c  | 0
 9 files changed, 4 insertions(+), 4 deletions(-)
 rename {arch/arm/mach-rockchip/rk3188 => drivers/ram/rockchip}/sdram_rk3188.c (100%)
 rename {arch/arm/mach-rockchip/rk3288 => drivers/ram/rockchip}/sdram_rk3288.c (100%)
 rename {arch/arm/mach-rockchip/rk3328 => drivers/ram/rockchip}/sdram_rk3328.c (100%)
 rename {arch/arm/mach-rockchip/rk3399 => drivers/ram/rockchip}/sdram_rk3399.c (100%)

-- 
1.9.1

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot] [PATCH v2 1/4] rockchip: rk3399: move sdram driver to driver/ram
  2017-09-27  8:11 [U-Boot] [PATCH v2 0/4] move rockchip sdram driver to driver/ram Kever Yang
@ 2017-09-27  8:11 ` Kever Yang
  2017-09-27 11:34   ` [U-Boot] [U-Boot, v2, " Philipp Tomsich
  2017-09-27  8:11 ` [U-Boot] [PATCH v2 2/4] rockchip: rk3188: " Kever Yang
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 9+ messages in thread
From: Kever Yang @ 2017-09-27  8:11 UTC (permalink / raw)
  To: u-boot

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

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
---

 arch/arm/mach-rockchip/rk3399/Makefile                                 | 1 -
 drivers/ram/rockchip/Makefile                                          | 1 +
 {arch/arm/mach-rockchip/rk3399 => drivers/ram/rockchip}/sdram_rk3399.c | 0
 3 files changed, 1 insertion(+), 1 deletion(-)
 rename {arch/arm/mach-rockchip/rk3399 => drivers/ram/rockchip}/sdram_rk3399.c (100%)

diff --git a/arch/arm/mach-rockchip/rk3399/Makefile b/arch/arm/mach-rockchip/rk3399/Makefile
index 793ce31..98ebeac 100644
--- a/arch/arm/mach-rockchip/rk3399/Makefile
+++ b/arch/arm/mach-rockchip/rk3399/Makefile
@@ -6,5 +6,4 @@
 
 obj-y += clk_rk3399.o
 obj-y += rk3399.o
-obj-y += sdram_rk3399.o
 obj-y += syscon_rk3399.o
diff --git a/drivers/ram/rockchip/Makefile b/drivers/ram/rockchip/Makefile
index b09d03c..bfc016f 100644
--- a/drivers/ram/rockchip/Makefile
+++ b/drivers/ram/rockchip/Makefile
@@ -5,3 +5,4 @@
 #
 
 obj-$(CONFIG_ROCKCHIP_RK3368) = dmc-rk3368.o
+obj-$(CONFIG_ROCKCHIP_RK3399) = sdram_rk3399.o
diff --git a/arch/arm/mach-rockchip/rk3399/sdram_rk3399.c b/drivers/ram/rockchip/sdram_rk3399.c
similarity index 100%
rename from arch/arm/mach-rockchip/rk3399/sdram_rk3399.c
rename to drivers/ram/rockchip/sdram_rk3399.c
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [U-Boot] [PATCH v2 2/4] rockchip: rk3188: move sdram driver to driver/ram
  2017-09-27  8:11 [U-Boot] [PATCH v2 0/4] move rockchip sdram driver to driver/ram Kever Yang
  2017-09-27  8:11 ` [U-Boot] [PATCH v2 1/4] rockchip: rk3399: move " Kever Yang
@ 2017-09-27  8:11 ` Kever Yang
  2017-09-27 11:34   ` [U-Boot] [U-Boot, v2, " Philipp Tomsich
  2017-09-27  8:11 ` [U-Boot] [PATCH v2 3/4] rockchip: rk3288: " Kever Yang
  2017-09-27  8:11 ` [U-Boot] [PATCH v2 4/4] rockchip: rk3328: " Kever Yang
  3 siblings, 1 reply; 9+ messages in thread
From: Kever Yang @ 2017-09-27  8:11 UTC (permalink / raw)
  To: u-boot

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

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
---

 arch/arm/mach-rockchip/rk3188/Makefile                                 | 1 -
 drivers/ram/rockchip/Makefile                                          | 1 +
 {arch/arm/mach-rockchip/rk3188 => drivers/ram/rockchip}/sdram_rk3188.c | 0
 3 files changed, 1 insertion(+), 1 deletion(-)
 rename {arch/arm/mach-rockchip/rk3188 => drivers/ram/rockchip}/sdram_rk3188.c (100%)

diff --git a/arch/arm/mach-rockchip/rk3188/Makefile b/arch/arm/mach-rockchip/rk3188/Makefile
index 2dc9511..7fa0104 100644
--- a/arch/arm/mach-rockchip/rk3188/Makefile
+++ b/arch/arm/mach-rockchip/rk3188/Makefile
@@ -6,6 +6,5 @@
 
 ifndef CONFIG_TPL_BUILD
 obj-y += clk_rk3188.o
-obj-y += sdram_rk3188.o
 obj-y += syscon_rk3188.o
 endif
diff --git a/drivers/ram/rockchip/Makefile b/drivers/ram/rockchip/Makefile
index bfc016f..50b9d51 100644
--- a/drivers/ram/rockchip/Makefile
+++ b/drivers/ram/rockchip/Makefile
@@ -5,4 +5,5 @@
 #
 
 obj-$(CONFIG_ROCKCHIP_RK3368) = dmc-rk3368.o
+obj-$(CONFIG_ROCKCHIP_RK3188) = sdram_rk3188.o
 obj-$(CONFIG_ROCKCHIP_RK3399) = sdram_rk3399.o
diff --git a/arch/arm/mach-rockchip/rk3188/sdram_rk3188.c b/drivers/ram/rockchip/sdram_rk3188.c
similarity index 100%
rename from arch/arm/mach-rockchip/rk3188/sdram_rk3188.c
rename to drivers/ram/rockchip/sdram_rk3188.c
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [U-Boot] [PATCH v2 3/4] rockchip: rk3288: move sdram driver to driver/ram
  2017-09-27  8:11 [U-Boot] [PATCH v2 0/4] move rockchip sdram driver to driver/ram Kever Yang
  2017-09-27  8:11 ` [U-Boot] [PATCH v2 1/4] rockchip: rk3399: move " Kever Yang
  2017-09-27  8:11 ` [U-Boot] [PATCH v2 2/4] rockchip: rk3188: " Kever Yang
@ 2017-09-27  8:11 ` Kever Yang
  2017-09-27 11:34   ` [U-Boot] [U-Boot, v2, " Philipp Tomsich
  2017-09-27  8:11 ` [U-Boot] [PATCH v2 4/4] rockchip: rk3328: " Kever Yang
  3 siblings, 1 reply; 9+ messages in thread
From: Kever Yang @ 2017-09-27  8:11 UTC (permalink / raw)
  To: u-boot

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

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
---

 arch/arm/mach-rockchip/rk3288/Makefile                                 | 1 -
 drivers/ram/rockchip/Makefile                                          | 1 +
 {arch/arm/mach-rockchip/rk3288 => drivers/ram/rockchip}/sdram_rk3288.c | 0
 3 files changed, 1 insertion(+), 1 deletion(-)
 rename {arch/arm/mach-rockchip/rk3288 => drivers/ram/rockchip}/sdram_rk3288.c (100%)

diff --git a/arch/arm/mach-rockchip/rk3288/Makefile b/arch/arm/mach-rockchip/rk3288/Makefile
index b5b28ef..a0033a0 100644
--- a/arch/arm/mach-rockchip/rk3288/Makefile
+++ b/arch/arm/mach-rockchip/rk3288/Makefile
@@ -6,5 +6,4 @@
 
 obj-y += clk_rk3288.o
 obj-y += rk3288.o
-obj-y += sdram_rk3288.o
 obj-y += syscon_rk3288.o
diff --git a/drivers/ram/rockchip/Makefile b/drivers/ram/rockchip/Makefile
index 50b9d51..95aae48 100644
--- a/drivers/ram/rockchip/Makefile
+++ b/drivers/ram/rockchip/Makefile
@@ -6,4 +6,5 @@
 
 obj-$(CONFIG_ROCKCHIP_RK3368) = dmc-rk3368.o
 obj-$(CONFIG_ROCKCHIP_RK3188) = sdram_rk3188.o
+obj-$(CONFIG_ROCKCHIP_RK3288) = sdram_rk3288.o
 obj-$(CONFIG_ROCKCHIP_RK3399) = sdram_rk3399.o
diff --git a/arch/arm/mach-rockchip/rk3288/sdram_rk3288.c b/drivers/ram/rockchip/sdram_rk3288.c
similarity index 100%
rename from arch/arm/mach-rockchip/rk3288/sdram_rk3288.c
rename to drivers/ram/rockchip/sdram_rk3288.c
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [U-Boot] [PATCH v2 4/4] rockchip: rk3328: move sdram driver to driver/ram
  2017-09-27  8:11 [U-Boot] [PATCH v2 0/4] move rockchip sdram driver to driver/ram Kever Yang
                   ` (2 preceding siblings ...)
  2017-09-27  8:11 ` [U-Boot] [PATCH v2 3/4] rockchip: rk3288: " Kever Yang
@ 2017-09-27  8:11 ` Kever Yang
  2017-09-27 11:34   ` [U-Boot] [U-Boot, v2, " Philipp Tomsich
  3 siblings, 1 reply; 9+ messages in thread
From: Kever Yang @ 2017-09-27  8:11 UTC (permalink / raw)
  To: u-boot

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

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
---

 arch/arm/mach-rockchip/rk3328/Makefile                                 | 1 -
 drivers/ram/rockchip/Makefile                                          | 1 +
 {arch/arm/mach-rockchip/rk3328 => drivers/ram/rockchip}/sdram_rk3328.c | 0
 3 files changed, 1 insertion(+), 1 deletion(-)
 rename {arch/arm/mach-rockchip/rk3328 => drivers/ram/rockchip}/sdram_rk3328.c (100%)

diff --git a/arch/arm/mach-rockchip/rk3328/Makefile b/arch/arm/mach-rockchip/rk3328/Makefile
index 72873e2..bbab036 100644
--- a/arch/arm/mach-rockchip/rk3328/Makefile
+++ b/arch/arm/mach-rockchip/rk3328/Makefile
@@ -6,5 +6,4 @@
 
 obj-y += clk_rk3328.o
 obj-y += rk3328.o
-obj-y += sdram_rk3328.o
 obj-y += syscon_rk3328.o
diff --git a/drivers/ram/rockchip/Makefile b/drivers/ram/rockchip/Makefile
index 95aae48..6c78eff 100644
--- a/drivers/ram/rockchip/Makefile
+++ b/drivers/ram/rockchip/Makefile
@@ -7,4 +7,5 @@
 obj-$(CONFIG_ROCKCHIP_RK3368) = dmc-rk3368.o
 obj-$(CONFIG_ROCKCHIP_RK3188) = sdram_rk3188.o
 obj-$(CONFIG_ROCKCHIP_RK3288) = sdram_rk3288.o
+obj-$(CONFIG_ROCKCHIP_RK3328) = sdram_rk3328.o
 obj-$(CONFIG_ROCKCHIP_RK3399) = sdram_rk3399.o
diff --git a/arch/arm/mach-rockchip/rk3328/sdram_rk3328.c b/drivers/ram/rockchip/sdram_rk3328.c
similarity index 100%
rename from arch/arm/mach-rockchip/rk3328/sdram_rk3328.c
rename to drivers/ram/rockchip/sdram_rk3328.c
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [U-Boot] [U-Boot, v2, 1/4] rockchip: rk3399: move sdram driver to driver/ram
  2017-09-27  8:11 ` [U-Boot] [PATCH v2 1/4] rockchip: rk3399: move " Kever Yang
@ 2017-09-27 11:34   ` Philipp Tomsich
  0 siblings, 0 replies; 9+ messages in thread
From: Philipp Tomsich @ 2017-09-27 11:34 UTC (permalink / raw)
  To: u-boot

> Since we have CONFIG_RAM framwork and its driver folder, move the driver
> into it.
> 
> Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
> Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
> ---
> 
>  arch/arm/mach-rockchip/rk3399/Makefile                                 | 1 -
>  drivers/ram/rockchip/Makefile                                          | 1 +
>  {arch/arm/mach-rockchip/rk3399 => drivers/ram/rockchip}/sdram_rk3399.c | 0
>  3 files changed, 1 insertion(+), 1 deletion(-)
>  rename {arch/arm/mach-rockchip/rk3399 => drivers/ram/rockchip}/sdram_rk3399.c (100%)
> 

Applied to u-boot-rockchip, thanks!

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot] [U-Boot, v2, 3/4] rockchip: rk3288: move sdram driver to driver/ram
  2017-09-27  8:11 ` [U-Boot] [PATCH v2 3/4] rockchip: rk3288: " Kever Yang
@ 2017-09-27 11:34   ` Philipp Tomsich
  0 siblings, 0 replies; 9+ messages in thread
From: Philipp Tomsich @ 2017-09-27 11:34 UTC (permalink / raw)
  To: u-boot

> Since we have CONFIG_RAM framwork and its driver folder, move the driver
> into it.
> 
> Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
> Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
> ---
> 
>  arch/arm/mach-rockchip/rk3288/Makefile                                 | 1 -
>  drivers/ram/rockchip/Makefile                                          | 1 +
>  {arch/arm/mach-rockchip/rk3288 => drivers/ram/rockchip}/sdram_rk3288.c | 0
>  3 files changed, 1 insertion(+), 1 deletion(-)
>  rename {arch/arm/mach-rockchip/rk3288 => drivers/ram/rockchip}/sdram_rk3288.c (100%)
> 

Applied to u-boot-rockchip, thanks!

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot] [U-Boot, v2, 2/4] rockchip: rk3188: move sdram driver to driver/ram
  2017-09-27  8:11 ` [U-Boot] [PATCH v2 2/4] rockchip: rk3188: " Kever Yang
@ 2017-09-27 11:34   ` Philipp Tomsich
  0 siblings, 0 replies; 9+ messages in thread
From: Philipp Tomsich @ 2017-09-27 11:34 UTC (permalink / raw)
  To: u-boot

> Since we have CONFIG_RAM framwork and its driver folder, move the driver
> into it.
> 
> Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
> Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
> ---
> 
>  arch/arm/mach-rockchip/rk3188/Makefile                                 | 1 -
>  drivers/ram/rockchip/Makefile                                          | 1 +
>  {arch/arm/mach-rockchip/rk3188 => drivers/ram/rockchip}/sdram_rk3188.c | 0
>  3 files changed, 1 insertion(+), 1 deletion(-)
>  rename {arch/arm/mach-rockchip/rk3188 => drivers/ram/rockchip}/sdram_rk3188.c (100%)
> 

Applied to u-boot-rockchip, thanks!

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot] [U-Boot, v2, 4/4] rockchip: rk3328: move sdram driver to driver/ram
  2017-09-27  8:11 ` [U-Boot] [PATCH v2 4/4] rockchip: rk3328: " Kever Yang
@ 2017-09-27 11:34   ` Philipp Tomsich
  0 siblings, 0 replies; 9+ messages in thread
From: Philipp Tomsich @ 2017-09-27 11:34 UTC (permalink / raw)
  To: u-boot

> Since we have CONFIG_RAM framwork and its driver folder, move the driver
> into it.
> 
> Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
> Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
> ---
> 
>  arch/arm/mach-rockchip/rk3328/Makefile                                 | 1 -
>  drivers/ram/rockchip/Makefile                                          | 1 +
>  {arch/arm/mach-rockchip/rk3328 => drivers/ram/rockchip}/sdram_rk3328.c | 0
>  3 files changed, 1 insertion(+), 1 deletion(-)
>  rename {arch/arm/mach-rockchip/rk3328 => drivers/ram/rockchip}/sdram_rk3328.c (100%)
> 

Applied to u-boot-rockchip, thanks!

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-09-27 11:34 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-27  8:11 [U-Boot] [PATCH v2 0/4] move rockchip sdram driver to driver/ram Kever Yang
2017-09-27  8:11 ` [U-Boot] [PATCH v2 1/4] rockchip: rk3399: move " Kever Yang
2017-09-27 11:34   ` [U-Boot] [U-Boot, v2, " Philipp Tomsich
2017-09-27  8:11 ` [U-Boot] [PATCH v2 2/4] rockchip: rk3188: " Kever Yang
2017-09-27 11:34   ` [U-Boot] [U-Boot, v2, " Philipp Tomsich
2017-09-27  8:11 ` [U-Boot] [PATCH v2 3/4] rockchip: rk3288: " Kever Yang
2017-09-27 11:34   ` [U-Boot] [U-Boot, v2, " Philipp Tomsich
2017-09-27  8:11 ` [U-Boot] [PATCH v2 4/4] rockchip: rk3328: " Kever Yang
2017-09-27 11:34   ` [U-Boot] [U-Boot, v2, " Philipp Tomsich

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.