mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sam Ravnborg <sam@ravnborg.org>
To: barebox@lists.infradead.org
Cc: sam@ravnborg.org
Subject: [RFC PATCH 0/5] at91: move reset vector to board code
Date: Wed, 5 Jul 2017 22:49:35 +0200	[thread overview]
Message-ID: <20170705204935.GA20093@ravnborg.org> (raw)

The following patchset is the start to move the reset vector
for at91 boards from mach-at91 to boards code.
This is similar to what other boards do and is done to prepare
for multi-image support and DT support.

The patchset convert a few boards already and I am aiming to convert
all boards, but wanted feedback on the patch set before starting to do so.

The first patch have minimal impact, but prepares for a
board-by-board conversion.

The patch-set includes the conversion of the boards:
at91sam9261ek
at91sam9263ek
pm9261
at91sam9g10ek

When all boards are converted then there will be no files
named arch/arm/mach-at91/*lowlevel_init.c
And all CONFIG symbols named *_LWL will be no more.

The patchset was successfully booted on a AT91SAM9263EK,
and all defconfigs was built (expect the ones that failed
to build before this patchset was applied).

Note: the patches are from srn@skov.dk - in the next round
I will change this to my home address as this is not work related.

	Sam


Sam Ravnborg (5):
      at91: refactor lowlevel_init selection
      at91: drop unused at91sam9x5_lowlevel_init.c
      at91sam9263ek: move reset vector to board code
      at91sam9261ek, at91sam9g10ek: move reset vector to board code
      pm9261: move reset vector to board code


 arch/arm/boards/at91sam9261ek/Makefile                   |   2 +-
 arch/arm/boards/at91sam9261ek/lowlevel_init.c            |  41 ++++++++---
 arch/arm/boards/at91sam9263ek/Makefile                   |   2 +-
 arch/arm/boards/at91sam9263ek/lowlevel_init.c            |  43 +++++++++---
 arch/arm/boards/mmccpu/Makefile                          |   2 +-
 arch/arm/boards/pm9261/Makefile                          |   2 +-
 arch/arm/boards/pm9261/lowlevel_init.c                   |  39 ++++++++---
 arch/arm/boards/pm9263/Makefile                          |   2 +-
 arch/arm/boards/tny-a926x/Makefile                       |   8 +--
 arch/arm/boards/usb-a926x/Makefile                       |   6 +-
 arch/arm/mach-at91/Kconfig                               |  72 +++++++++++++++----
 arch/arm/mach-at91/Makefile                              |  23 +++----
 arch/arm/mach-at91/at91sam9x5_lowlevel_init.c            |  26 -------
 arch/arm/mach-at91/include/mach/at91_lowlevel_init.h     |   2 +-
 arch/arm/mach-at91/include/mach/at91sam926x_board_init.h | 220 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 15 files changed, 392 insertions(+), 98 deletions(-)


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

             reply	other threads:[~2017-07-05 20:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-05 20:49 Sam Ravnborg [this message]
2017-07-05 20:55 ` [PATCH 1/5] at91: refactor lowlevel_init selection Sam Ravnborg
2017-07-05 20:56 ` [PATCH 2/5] at91: drop unused at91sam9x5_lowlevel_init.c Sam Ravnborg
2017-07-05 20:56 ` [PATCH 3/5] at91sam9263ek: move reset vector to board code Sam Ravnborg
2017-07-05 20:57 ` [PATCH 4/5] at91sam9261ek, at91sam9g10ek: " Sam Ravnborg
2017-07-05 20:57 ` [PATCH 5/5] pm9261: " Sam Ravnborg

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=20170705204935.GA20093@ravnborg.org \
    --to=sam@ravnborg.org \
    --cc=barebox@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