All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hans de Goede <hdegoede@redhat.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 00/11] sunxi: Add full SPL support for sun9i (A80)
Date: Fri, 28 Oct 2016 19:30:48 +0200	[thread overview]
Message-ID: <33fa2d19-0ca9-86f9-2302-483a650c5fd1@redhat.com> (raw)
In-Reply-To: <20161028102138.8678-1-wens@csie.org>

Hi Chen-Yu,

On 28-10-16 12:21, Chen-Yu Tsai wrote:
> Hi everyone,
>
> This series adds full SPL with DRAM initialization for sun9i (A80).
> The bulk of the work was done by the people at Theobroma Systems.
> Their work can be found here:
>
>     https://git.theobroma-systems.com/armadillo-u-boot.git/
>
> I picked the essential patches and cleaned them up a bit more,
> and added commit messages if they were missing.
>
> As the DRAM bits are essentially a code dump with some cleanups and
> some bits disabled, expect many warnings. Checkpatch is still not
> happy with it.
>
> I've tested the series on both my A80 boards, which I've added
> defconfigs for in the last 2 patches. My A80 Optimus does not
> boot from micro SD, so I'm still FEL booting that one. But my
> Cubieboard 4 is now standalone.
>
> As usual, please have a look, test if possible.

Awesome, thanks for doing this and it was good to have
some face2face time at ELCE.

I've merged this into my personal sunxi-wip u-boot branch,
I've made 2 changes:

1) in : ?sunxi: DRAM initialisation for sun9i" there are a
lot of #if 0 #endif blocks, most of these document some features
which we may want to enable in the future, but a few were just
dead weight IMHO, so I've pruned a few

2) in : "sunxi: Add support for A80 Optimus board", we already
have a configs/Merrii_A80_Optimus_defconfig, so I've made the patch
update that instead of adding a new defconfig

I have not tested this yet, I will do tomorrow, assuming it
works for me too I will include it in my next pull-req (*) and
try to get it included in the 2016.11 release, yes the merge
window has closed, but the changes here are very isolated so
I will try and see what Tom says :)

Regards,

Hans


*) Which I hope to send out this weekend



>
>
> Regards
> ChenYu
>
>
> Chen-Yu Tsai (5):
>   sunxi: Set default CPU clock rate to 1008 MHz for sun9i (A80)
>   sunxi: Add support for SID e-fuses on sun9i
>   sunxi: Add default zq value for sun9i (A80)
>   sunxi: Add support for A80 Optimus board
>   sunxi: Add support for Cubieboard4
>
> Philipp Tomsich (6):
>   sunxi: DRAM initialisation for sun9i
>   sunxi: add gtbus-initialisation for sun9i
>   sunxi: Enable SMP mode for the boot CPU on sun9i (A80)
>   sunxi: add initial clock setup for sun9i for SPL
>   sunxi: enable SPL for sun9i
>   sunxi: add MMC pinmux setup for SDC2 on sun9i
>
>  arch/arm/include/asm/arch-sunxi/clock_sun9i.h |  116 ++-
>  arch/arm/include/asm/arch-sunxi/cpu_sun9i.h   |   10 +
>  arch/arm/include/asm/arch-sunxi/dram.h        |    2 +
>  arch/arm/include/asm/arch-sunxi/dram_sun9i.h  |  275 +++++++
>  arch/arm/include/asm/arch-sunxi/gtbus.h       |   21 +
>  arch/arm/include/asm/arch-sunxi/gtbus_sun9i.h |   89 +++
>  arch/arm/mach-sunxi/Makefile                  |    2 +
>  arch/arm/mach-sunxi/board.c                   |    3 +-
>  arch/arm/mach-sunxi/clock.c                   |    6 +
>  arch/arm/mach-sunxi/clock_sun9i.c             |  146 +++-
>  arch/arm/mach-sunxi/dram_sun9i.c              | 1059 +++++++++++++++++++++++++
>  arch/arm/mach-sunxi/gtbus_sun9i.c             |   48 ++
>  board/sunxi/Kconfig                           |   10 +-
>  board/sunxi/MAINTAINERS                       |   10 +
>  board/sunxi/board.c                           |    7 +
>  configs/A80_Optimus_defconfig                 |   18 +
>  configs/Cubieboard4_defconfig                 |   18 +
>  17 files changed, 1818 insertions(+), 22 deletions(-)
>  create mode 100644 arch/arm/include/asm/arch-sunxi/dram_sun9i.h
>  create mode 100644 arch/arm/include/asm/arch-sunxi/gtbus.h
>  create mode 100644 arch/arm/include/asm/arch-sunxi/gtbus_sun9i.h
>  create mode 100644 arch/arm/mach-sunxi/dram_sun9i.c
>  create mode 100644 arch/arm/mach-sunxi/gtbus_sun9i.c
>  create mode 100644 configs/A80_Optimus_defconfig
>  create mode 100644 configs/Cubieboard4_defconfig
>

  parent reply	other threads:[~2016-10-28 17:30 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-28 10:21 [U-Boot] [PATCH 00/11] sunxi: Add full SPL support for sun9i (A80) Chen-Yu Tsai
2016-10-28 10:21 ` [U-Boot] [PATCH 01/11] sunxi: DRAM initialisation for sun9i Chen-Yu Tsai
2016-10-28 18:54   ` Jagan Teki
2016-10-29 10:39     ` Hans de Goede
2016-10-29 11:03       ` Chen-Yu Tsai
2016-10-28 10:21 ` [U-Boot] [PATCH 02/11] sunxi: add gtbus-initialisation " Chen-Yu Tsai
2016-10-28 18:45   ` Jagan Teki
2016-10-29 11:08     ` Chen-Yu Tsai
2016-10-29 11:57       ` Hans de Goede
2016-10-28 10:21 ` [U-Boot] [PATCH 03/11] sunxi: Enable SMP mode for the boot CPU on sun9i (A80) Chen-Yu Tsai
2016-10-28 10:21 ` [U-Boot] [PATCH 04/11] sunxi: add initial clock setup for sun9i for SPL Chen-Yu Tsai
2016-10-28 10:21 ` [U-Boot] [PATCH 05/11] sunxi: enable SPL for sun9i Chen-Yu Tsai
2016-10-28 10:21 ` [U-Boot] [PATCH 06/11] sunxi: add MMC pinmux setup for SDC2 on sun9i Chen-Yu Tsai
2016-10-28 10:21 ` [U-Boot] [PATCH 07/11] sunxi: Set default CPU clock rate to 1008 MHz for sun9i (A80) Chen-Yu Tsai
2016-10-28 10:21 ` [U-Boot] [PATCH 08/11] sunxi: Add support for SID e-fuses on sun9i Chen-Yu Tsai
2016-10-28 10:21 ` [U-Boot] [PATCH 09/11] sunxi: Add default zq value for sun9i (A80) Chen-Yu Tsai
2016-10-28 10:21 ` [U-Boot] [PATCH 10/11] sunxi: Add support for A80 Optimus board Chen-Yu Tsai
2016-10-28 10:21 ` [U-Boot] [PATCH 11/11] sunxi: Add support for Cubieboard4 Chen-Yu Tsai
2016-10-28 17:30 ` Hans de Goede [this message]
2016-10-29  1:16   ` [U-Boot] [PATCH 00/11] sunxi: Add full SPL support for sun9i (A80) Chen-Yu Tsai
2016-10-29 12:12     ` Hans de Goede
2016-10-29 12:06   ` Hans de Goede
2016-10-30  5:30     ` [U-Boot] [linux-sunxi] " Chen-Yu Tsai
2016-10-30  8:15       ` Hans de Goede
2016-11-02  1:39         ` Chen-Yu Tsai

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=33fa2d19-0ca9-86f9-2302-483a650c5fd1@redhat.com \
    --to=hdegoede@redhat.com \
    --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 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.