public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: "Heiko Stübner" <heiko@sntech.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 0/7] rockchip: Split sdram common function into sdram_common.c
Date: Tue, 13 Jun 2017 12:04:12 +0200	[thread overview]
Message-ID: <2367252.4XJUe15y67@diego> (raw)
In-Reply-To: <FB093863-3157-4756-ABBC-FA6B5DF7A846@theobroma-systems.com>

Am Dienstag, 13. Juni 2017, 11:31:53 CEST schrieb Dr. Philipp Tomsich:
> Kever,
> 
> thanks a lot! I had just started to work on RK3368 SPL code and the DDR
> controller would have been next on the list…
> You saved me quite a bit of work there.

Although the sdram drivers for rk3328 and rk3368 only seem to provide the
non-spl portions for now.

Kever, is there a rough time estimate for spl support for these socs?
(Got a rk3328-rock64 sample yesterday, so would be interested on getting
a mainline u-boot to run on it)


Thanks
Heiko

> 
> Regards,
> Philipp.
> 
> > On 13 Jun 2017, at 11:29, Kever Yang <kever.yang@rock-chips.com> wrote:
> > 
> > 
> > Some function like the dram capability decode and dram_init() are
> > the same for all Rockchip SoCs, maybe alaso cap detect function later,
> > add sdram_common.c for all SoC driver.
> > 
> > Kever Yang (7):
> >  rockchip: add sdram_common for common functions
> >  rockchip: use common sdram function
> >  rockchip: rk3328: add sdram driver in U-Boot
> >  rockchip: rk3368: add sdram driver for U-Boot
> >  rockchip: dts: rk3328: add dmc node
> >  rockchip: dts: rk3368: add dmc node
> >  rockchip: correct the bank0 ram size
> > 
> > arch/arm/dts/rk3328.dtsi                          |  7 ++
> > arch/arm/dts/rk3368.dtsi                          |  7 ++
> > arch/arm/include/asm/arch-rockchip/ddr_rk3288.h   | 48 -----------
> > arch/arm/include/asm/arch-rockchip/grf_rk3368.h   |  4 +-
> > arch/arm/include/asm/arch-rockchip/sdram_common.h | 58 ++++++++++++++
> > arch/arm/mach-rockchip/Makefile                   |  3 +
> > arch/arm/mach-rockchip/rk3188-board.c             | 22 -----
> > arch/arm/mach-rockchip/rk3188/sdram_rk3188.c      | 61 +++-----------
> > arch/arm/mach-rockchip/rk3288-board.c             | 22 -----
> > arch/arm/mach-rockchip/rk3288/sdram_rk3288.c      | 74 +++++------------
> > arch/arm/mach-rockchip/rk3328/Makefile            |  1 +
> > arch/arm/mach-rockchip/rk3328/sdram_rk3328.c      | 66 +++++++++++++++
> > arch/arm/mach-rockchip/rk3368/Makefile            |  1 +
> > arch/arm/mach-rockchip/rk3368/sdram_rk3368.c      | 66 +++++++++++++++
> > arch/arm/mach-rockchip/rk3399/sdram_rk3399.c      | 97
> > ++--------------------- arch/arm/mach-rockchip/sdram_common.c            
> > | 71 +++++++++++++++++ board/rockchip/evb_rk3328/evb-rk3328.c           
> > |  8 +-
> > board/rockchip/evb_rk3399/evb-rk3399.c            | 24 +-----
> > board/rockchip/sheep_rk3368/sheep_rk3368.c        |  9 +--
> > board/theobroma-systems/puma_rk3399/puma-rk3399.c | 24 +-----
> > 20 files changed, 324 insertions(+), 349 deletions(-)
> > create mode 100644 arch/arm/include/asm/arch-rockchip/sdram_common.h
> > create mode 100644 arch/arm/mach-rockchip/rk3328/sdram_rk3328.c
> > create mode 100644 arch/arm/mach-rockchip/rk3368/sdram_rk3368.c
> > create mode 100644 arch/arm/mach-rockchip/sdram_common.c

  reply	other threads:[~2017-06-13 10:04 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-13  9:29 [U-Boot] [PATCH 0/7] rockchip: Split sdram common function into sdram_common.c Kever Yang
2017-06-13  9:29 ` [U-Boot] [PATCH 1/7] rockchip: add sdram_common for common functions Kever Yang
2017-06-17  3:41   ` Simon Glass
2017-06-13  9:29 ` [U-Boot] [PATCH 2/7] rockchip: use common sdram function Kever Yang
2017-06-17  3:41   ` Simon Glass
2017-06-13  9:29 ` [U-Boot] [PATCH 3/7] rockchip: rk3328: add sdram driver in U-Boot Kever Yang
2017-06-17  3:41   ` Simon Glass
2017-06-23  8:22     ` Kever Yang
2017-07-06  4:49       ` Simon Glass
2017-06-13  9:29 ` [U-Boot] [PATCH 4/7] rockchip: rk3368: add sdram driver for U-Boot Kever Yang
2017-06-17  3:41   ` Simon Glass
2017-06-13  9:30 ` [U-Boot] [PATCH 5/7] rockchip: dts: rk3328: add dmc node Kever Yang
2017-06-17  3:41   ` Simon Glass
2017-06-13  9:30 ` [U-Boot] [PATCH 6/7] rockchip: dts: rk3368: " Kever Yang
2017-06-17  3:41   ` Simon Glass
2017-06-13  9:30 ` [U-Boot] [PATCH 7/7] rockchip: correct the bank0 ram size Kever Yang
2017-06-17  3:41   ` Simon Glass
2017-06-13  9:31 ` [U-Boot] [PATCH 0/7] rockchip: Split sdram common function into sdram_common.c Dr. Philipp Tomsich
2017-06-13 10:04   ` Heiko Stübner [this message]
2017-06-13 10:12     ` Dr. Philipp Tomsich
2017-06-13 10:47     ` Kever Yang
2017-06-20 12:36       ` Dr. Philipp Tomsich
2017-06-15  7:41 ` Andy Yan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2367252.4XJUe15y67@diego \
    --to=heiko@sntech.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox