public inbox for linux-amlogic@lists.infradead.org
 help / color / mirror / Atom feed
From: narmstrong@baylibre.com (Neil Armstrong)
To: linus-amlogic@lists.infradead.org
Subject: [PATCH u-boot 0/2] Cleanup for Amlogic GX SoCs
Date: Wed, 28 Mar 2018 11:54:35 +0200	[thread overview]
Message-ID: <1522230877-21267-1-git-send-email-narmstrong@baylibre.com> (raw)

The Amlogic Meson GXBB and GXL are both part of the GX SoC family,
this patchset renames the GXBB files and defines to take this fact
in account and align the namings with linux.
With this applied, we can add a SoC Info code to display the
SoC name and package marketing name along the revisions.

Example output :
[...]
U-Boot 2018.03-00004-g69704da (Mar 28 2018 - 11:39:17 +0200) libretech-cc

CPU: Amlogic Meson GXL (S905X) rev 21:b (82:2)
DRAM:  2 GiB
[...]
On the LibreTech-CC board.

This patchset depends on the "mmc: avoid division by zero in meson_mmc_config_clock"
patch to allow U-Boot to work correctly.

Neil Armstrong (2):
  ARM: meson: rename GXBB to GX
  ARM: meson: Add cpu info display for GX SoCs

 arch/arm/include/asm/arch-meson/{gxbb.h => gx.h}   |  91 +++++++++---------
 arch/arm/mach-meson/Makefile                       |   2 +-
 arch/arm/mach-meson/board.c                        |  28 +++---
 arch/arm/mach-meson/cpu_info.c                     | 105 +++++++++++++++++++++
 arch/arm/mach-meson/eth.c                          |  24 ++---
 arch/arm/mach-meson/sm.c                           |   2 +-
 board/amlogic/khadas-vim/khadas-vim.c              |   2 +-
 board/amlogic/libretech-cc/libretech-cc.c          |   6 +-
 board/amlogic/odroid-c2/odroid-c2.c                |  10 +-
 board/amlogic/p212/p212.c                          |   2 +-
 configs/khadas-vim_defconfig                       |   2 +-
 configs/libretech-cc_defconfig                     |   2 +-
 configs/odroid-c2_defconfig                        |   2 +-
 configs/odroid_defconfig                           |   1 +
 configs/p212_defconfig                             |   2 +-
 include/configs/khadas-vim.h                       |   2 +-
 include/configs/libretech-cc.h                     |   2 +-
 .../{meson-gxbb-common.h => meson-gx-common.h}     |   8 +-
 include/configs/odroid-c2.h                        |   2 +-
 include/configs/p212.h                             |   2 +-
 20 files changed, 202 insertions(+), 95 deletions(-)
 rename arch/arm/include/asm/arch-meson/{gxbb.h => gx.h} (13%)
 create mode 100644 arch/arm/mach-meson/cpu_info.c
 rename include/configs/{meson-gxbb-common.h => meson-gx-common.h} (86%)

-- 
2.7.4

             reply	other threads:[~2018-03-28  9:54 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-28  9:54 Neil Armstrong [this message]
2018-03-28  9:54 ` [PATCH u-boot 1/2] ARM: meson: rename GXBB to GX Neil Armstrong
2018-04-04 20:40   ` Beniamino Galvani
2018-04-09 13:48     ` Neil Armstrong
2018-03-28  9:54 ` [PATCH u-boot 2/2] ARM: meson: Add cpu info display for GX SoCs Neil Armstrong
2018-04-04 20:49   ` Beniamino Galvani
2018-04-09 13:47     ` Neil Armstrong
2018-04-08 13:50   ` Simon Glass
2018-04-09 13:48     ` Neil Armstrong
2018-04-10 13:51     ` Neil Armstrong
2018-04-10 14:37       ` Simon Glass

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=1522230877-21267-1-git-send-email-narmstrong@baylibre.com \
    --to=narmstrong@baylibre.com \
    --cc=linus-amlogic@lists.infradead.org \
    /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