public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Jagan Teki <jagan@amarulasolutions.com>
To: u-boot@lists.denx.de
Subject: [PATCH v5 0/5] roc-rk3399-pc: Custom SPL
Date: Tue, 14 Jul 2020 15:02:24 +0530	[thread overview]
Message-ID: <20200714093229.28763-1-jagan@amarulasolutions.com> (raw)

This series supports custom initialization code required for 
roc-rk3399-pc board on SPL stage.

Now this series is well mature code handling to add custom 
spl_board_init code parts.

roc-rk3399-pc would require custom leds initialization based 
on user intervention of the power key. This code handles the 
user intervention via SPI environment variable. If someone 
or production systems wants this feature then 'pwr_key' has 
to be set otherwise it is normal like other rk3399 boards 
in Mainline.

Changes for v5:
- drop banner changes
- add code changes in roc-pc-rk3399.c
Changes for v4:
- enable SPL_BOARD_INIT in all platforms
Changes for v3:
- support leds on SPL
- support env 'pwr_key'

Jagan Teki (5):
  roc-rk3399-pc: Move leds setup in SPL
  rockchip: Don't clear the reset status reg
  rockchip: Separate the reset cause from display cpuinfo
  rockchip: spl: Move board_early_init_f after cpu timer
  roc-rk3399-pc: Set LED only during POR and pwr_key=y

 arch/arm/include/asm/arch-rockchip/cru.h    |  3 +-
 arch/arm/mach-rockchip/Makefile             |  5 +-
 arch/arm/mach-rockchip/cpu-info.c           | 26 ++++----
 arch/arm/mach-rockchip/spl.c                |  5 +-
 arch/arm/mach-rockchip/tpl.c                |  7 ---
 board/firefly/roc-pc-rk3399/roc-pc-rk3399.c | 67 ++++++++++++++++-----
 configs/roc-pc-mezzanine-rk3399_defconfig   |  5 +-
 configs/roc-pc-rk3399_defconfig             |  5 +-
 8 files changed, 80 insertions(+), 43 deletions(-)

-- 
2.25.1

             reply	other threads:[~2020-07-14  9:32 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-14  9:32 Jagan Teki [this message]
2020-07-14  9:32 ` [PATCH v5 1/5] roc-rk3399-pc: Move leds setup in SPL Jagan Teki
2020-07-18 12:45   ` Kever Yang
2020-07-14  9:32 ` [PATCH v5 2/5] rockchip: Don't clear the reset status reg Jagan Teki
2020-07-18 12:45   ` Kever Yang
2020-07-14  9:32 ` [PATCH v5 3/5] rockchip: Separate the reset cause from display cpuinfo Jagan Teki
2020-07-18 12:45   ` Kever Yang
2020-07-14  9:32 ` [PATCH v5 4/5] rockchip: spl: Move board_early_init_f after cpu timer Jagan Teki
2020-07-18 13:22   ` Kever Yang
2020-07-14  9:32 ` [PATCH v5 5/5] roc-rk3399-pc: Set LED only during POR and pwr_key=y Jagan Teki

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=20200714093229.28763-1-jagan@amarulasolutions.com \
    --to=jagan@amarulasolutions.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox