From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: barebox@lists.infradead.org
Subject: [PATCH 0/6] ARM: machine struct support
Date: Thu, 28 Nov 2013 19:05:26 +0100 [thread overview]
Message-ID: <20131128180526.GA27628@ns203013.ovh.net> (raw)
Hi,
v2:
add an init for most initcall for SoC & machine
switch all the at91 boards and the arm vexpress
take from ARM Kernel
This patch serie start to add Machine struct description. The idea is
to do not call initall in boards and SoC but instead use this new
struct to allow multiple board and SoC support
This work on dt & non-dt
An other step will be to allow boot loader such as at91bootstrap to
pass the machine type on DT to barebox
The following changes since commit f9083f4e177e37f3adf0dac19b893de18fdfbd3c:
vexpress: fix smc911x in defconfig (2013-11-28 17:32:19 +0800)
are available in the git repository at:
git://git.jcrosoft.org/barebox.git delivery/mach_desc
for you to fetch changes up to 19cfb444c51d9d898e6f9ad54436a937d5833fde:
vexpress: switch to machine description (2013-11-28 17:32:47 +0800)
----------------------------------------------------------------
Jean-Christophe PLAGNIOL-VILLARD (6):
arm: gen-mach-types: add MAX_MACH_TYPE
ARM: introduce machine description
ARM: introduce SoC description
AT91: detect SoC earlier
AT91: switch to machine description
vexpress: switch to machine description
arch/arm/boards/animeo_ip/init.c | 25 +++++++++++-----------
arch/arm/boards/at91rm9200ek/init.c | 13 +++++++-----
arch/arm/boards/at91sam9260ek/init.c | 60 +++++++++++++++++++++++++++++++---------------------
arch/arm/boards/at91sam9261ek/init.c | 35 ++++++++++++++++++-------------
arch/arm/boards/at91sam9263ek/init.c | 16 +++++++-------
arch/arm/boards/at91sam9m10g45ek/init.c | 14 +++++++------
arch/arm/boards/at91sam9m10ihd/init.c | 22 +++++++++++---------
arch/arm/boards/at91sam9n12ek/init.c | 14 +++++++------
arch/arm/boards/at91sam9x5ek/init.c | 14 +++++++------
arch/arm/boards/dss11/init.c | 14 +++++++------
arch/arm/boards/mmccpu/init.c | 16 +++++++-------
arch/arm/boards/pm9261/init.c | 14 +++++++------
arch/arm/boards/pm9263/init.c | 16 +++++++-------
arch/arm/boards/pm9g45/init.c | 14 +++++++------
arch/arm/boards/qil-a926x/init.c | 52 +++++++++++++++++++++++++++-------------------
arch/arm/boards/sama5d3xek/init.c | 19 ++++++++++++-----
arch/arm/boards/telit-evk-pro3/init.c | 19 ++++++++++++-----
arch/arm/boards/tny-a926x/init.c | 50 +++++++++++++++++++++++++-------------------
arch/arm/boards/usb-a926x/init.c | 52 +++++++++++++++++++++++++++-------------------
arch/arm/boards/vexpress/init.c | 134 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------------------------------------------------
arch/arm/cpu/Makefile | 2 +-
arch/arm/cpu/dtb.c | 8 +++++--
arch/arm/cpu/machine.c | 194 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
arch/arm/include/asm/barebox-arm.h | 8 +++++++
arch/arm/include/asm/mach/arch.h | 85 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
arch/arm/lib/barebox.lds.S | 6 ++++++
arch/arm/mach-at91/clock.c | 10 ++-------
arch/arm/mach-at91/generic.h | 2 +-
arch/arm/mach-at91/include/mach/board.h | 2 +-
arch/arm/mach-at91/setup.c | 12 ++++++-----
arch/arm/tools/gen-mach-types | 8 ++++++-
31 files changed, 672 insertions(+), 278 deletions(-)
create mode 100644 arch/arm/cpu/machine.c
create mode 100644 arch/arm/include/asm/mach/arch.h
Best Regards,
J.
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next reply other threads:[~2013-11-28 18:03 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-28 18:05 Jean-Christophe PLAGNIOL-VILLARD [this message]
2013-11-28 18:06 ` [PATCH 1/6] arm: gen-mach-types: add MAX_MACH_TYPE Jean-Christophe PLAGNIOL-VILLARD
2013-11-28 18:06 ` [PATCH 2/6] ARM: introduce machine description Jean-Christophe PLAGNIOL-VILLARD
2013-11-28 18:19 ` Alexander Aring
2013-11-28 19:00 ` Jean-Christophe PLAGNIOL-VILLARD
2013-11-28 19:02 ` Alexander Aring
2013-12-02 9:01 ` Sascha Hauer
2013-12-02 11:04 ` Jean-Christophe PLAGNIOL-VILLARD
2013-12-02 11:54 ` Sascha Hauer
2013-11-28 18:06 ` [PATCH 3/6] ARM: introduce SoC description Jean-Christophe PLAGNIOL-VILLARD
2013-11-28 18:06 ` [PATCH 4/6] AT91: detect SoC earlier Jean-Christophe PLAGNIOL-VILLARD
2013-11-28 18:06 ` [PATCH 5/6] AT91: switch to machine description Jean-Christophe PLAGNIOL-VILLARD
2013-11-28 18:06 ` [PATCH 6/6] vexpress: " Jean-Christophe PLAGNIOL-VILLARD
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=20131128180526.GA27628@ns203013.ovh.net \
--to=plagnioj@jcrosoft.com \
--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