[RFC] [PATCH 0/3] ARM: machine struct support

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Thu Nov 21 02:12:16 EST 2013


Hi,

	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 52ebed0283503b047b17c86b92db729f781b97ad:

  at91sam9x5: only register device if the driver is enabled (2013-11-20 20:21:58 +0800)

are available in the git repository at:

  git://git.jcrosoft.org/barebox.git delivery/arm_mach_struct

for you to fetch changes up to 9d2c7446f1f7798874b9c29bd2413676dad093e7:

  AT91: usb-a926x: switch to machine description (2013-11-21 08:06:01 +0800)

----------------------------------------------------------------
Jean-Christophe PLAGNIOL-VILLARD (3):
      ARM: introduce machine description
      at91: detect SoC earlier
      AT91: usb-a926x: switch to machine description

 arch/arm/boards/usb-a926x/init.c |  39 ++++++++++++++++++++++++++++++++-------
 arch/arm/cpu/Makefile            |   2 +-
 arch/arm/cpu/dtb.c               |   4 ++++
 arch/arm/cpu/machine.c           | 110 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 arch/arm/include/asm/mach/arch.h |  66 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 arch/arm/lib/barebox.lds.S       |   6 ++++++
 arch/arm/mach-at91/setup.c       |   2 +-
 7 files changed, 220 insertions(+), 9 deletions(-)
 create mode 100644 arch/arm/cpu/machine.c
 create mode 100644 arch/arm/include/asm/mach/arch.h

Best Regards,
J.



More information about the barebox mailing list