mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Marek Vasut <marex@denx.de>
Subject: MXS initialization support
Date: Tue,  9 Dec 2014 20:03:23 +0100	[thread overview]
Message-ID: <1418151816-24593-1-git-send-email-s.hauer@pengutronix.de> (raw)

The following adds initialization support for Freescale MXS SoCs.
With this the imfamous Freescale Bootlets can finally be replaced.
The initialization code is based on the corresponding U-Boot code,
thank you Marek for making this possible.

Sascha

----------------------------------------------------------------
Sascha Hauer (13):
      scripts: add mxsimage tool
      scripts: Add mxsboot tool
      scripts: Add mxs-usb-loader tool
      drivers: remove unnecessary mach/imx-regs.h include
      ARM: MXS: remove unnecessary mach/imx-regs.h include
      ARM: Add U-Boot specific io functions
      ARM: mxs: Add lowlevel setup from U-Boot
      ARM: Add get_sp() and get_lr() functions
      ARM: MXS: Add more base address defines
      ARM: MXS: Enable iomux support for pbl
      ARM: MXS: Add multiimage support
      ARM: MXS: Update Karo TX28 board support
      Documentation: Add documentation for booting Freescale MXS SoCs

 Documentation/boards/mxs.rst                       |  119 +
 Documentation/boards/mxs/KaRo-TX28.rst             |   19 +-
 arch/arm/boards/karo-tx28/env/config               |   41 -
 arch/arm/boards/karo-tx28/lowlevel.c               |   58 +-
 arch/arm/configs/tx28stk5_defconfig                |   84 +-
 arch/arm/include/asm/common.h                      |   26 +
 arch/arm/include/asm/io.h                          |   57 +
 arch/arm/mach-mxs/Kconfig                          |    9 +
 arch/arm/mach-mxs/Makefile                         |    2 +
 arch/arm/mach-mxs/clocksource-imx23.c              |    2 +-
 arch/arm/mach-mxs/clocksource-imx28.c              |    2 +-
 arch/arm/mach-mxs/include/mach/imx23-regs.h        |    3 +
 arch/arm/mach-mxs/include/mach/imx28-regs.h        |    3 +
 arch/arm/mach-mxs/include/mach/init.h              |   30 +
 arch/arm/mach-mxs/include/mach/regs-clkctrl-mx23.h |  208 ++
 arch/arm/mach-mxs/include/mach/regs-clkctrl-mx28.h |  283 +++
 arch/arm/mach-mxs/include/mach/regs-common.h       |   69 +
 arch/arm/mach-mxs/include/mach/regs-lradc.h        |  387 +++
 arch/arm/mach-mxs/include/mach/regs-power-mx28.h   |  408 ++++
 arch/arm/mach-mxs/include/mach/regs-rtc.h          |  134 +
 arch/arm/mach-mxs/lradc-init.c                     |   70 +
 arch/arm/mach-mxs/mem-init.c                       |  292 +++
 arch/arm/mach-mxs/ocotp.c                          |    1 -
 arch/arm/mach-mxs/power-init.c                     | 1274 ++++++++++
 arch/arm/mach-mxs/soc-imx23.c                      |    2 +-
 arch/arm/mach-mxs/soc-imx28.c                      |    2 +-
 arch/arm/mach-mxs/usb-imx23.c                      |    2 +-
 arch/arm/mach-mxs/usb-imx28.c                      |    2 +-
 drivers/clk/mxs/clk-imx23.c                        |    2 +-
 drivers/clk/mxs/clk-imx28.c                        |    2 +-
 drivers/mci/mxs.c                                  |    1 -
 drivers/serial/serial_auart.c                      |    1 -
 drivers/serial/stm-serial.c                        |    1 -
 drivers/spi/mxs_spi.c                              |    1 -
 drivers/video/stm.c                                |    1 -
 images/.gitignore                                  |    2 +
 images/Makefile                                    |    3 +-
 images/Makefile.mxs                                |   38 +
 scripts/.gitignore                                 |    1 +
 scripts/Makefile                                   |    5 +
 scripts/mxs-usb-loader.c                           |  236 ++
 scripts/mxsimage.c                                 | 2561 ++++++++++++++++++++
 42 files changed, 6346 insertions(+), 98 deletions(-)
 create mode 100644 Documentation/boards/mxs.rst
 delete mode 100644 arch/arm/boards/karo-tx28/env/config
 create mode 100644 arch/arm/mach-mxs/include/mach/init.h
 create mode 100644 arch/arm/mach-mxs/include/mach/regs-clkctrl-mx23.h
 create mode 100644 arch/arm/mach-mxs/include/mach/regs-clkctrl-mx28.h
 create mode 100644 arch/arm/mach-mxs/include/mach/regs-common.h
 create mode 100644 arch/arm/mach-mxs/include/mach/regs-lradc.h
 create mode 100644 arch/arm/mach-mxs/include/mach/regs-power-mx28.h
 create mode 100644 arch/arm/mach-mxs/include/mach/regs-rtc.h
 create mode 100644 arch/arm/mach-mxs/lradc-init.c
 create mode 100644 arch/arm/mach-mxs/mem-init.c
 create mode 100644 arch/arm/mach-mxs/power-init.c
 create mode 100644 images/Makefile.mxs
 create mode 100644 scripts/mxs-usb-loader.c
 create mode 100644 scripts/mxsimage.c

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

             reply	other threads:[~2014-12-09 19:04 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-09 19:03 Sascha Hauer [this message]
2014-12-09 19:03 ` [PATCH 01/13] scripts: add mxsimage tool Sascha Hauer
2014-12-09 19:03 ` [PATCH 02/13] scripts: Add mxsboot tool Sascha Hauer
2014-12-10  7:01   ` Sascha Hauer
2014-12-09 19:03 ` [PATCH 03/13] scripts: Add mxs-usb-loader tool Sascha Hauer
2014-12-09 19:03 ` [PATCH 04/13] drivers: remove unnecessary mach/imx-regs.h include Sascha Hauer
2014-12-09 19:03 ` [PATCH 05/13] ARM: MXS: " Sascha Hauer
2014-12-09 19:03 ` [PATCH 06/13] ARM: Add U-Boot specific io functions Sascha Hauer
2014-12-09 19:03 ` [PATCH 07/13] ARM: mxs: Add lowlevel setup from U-Boot Sascha Hauer
2014-12-09 19:03 ` [PATCH 08/13] ARM: Add get_sp() and get_lr() functions Sascha Hauer
2014-12-09 19:03 ` [PATCH 09/13] ARM: MXS: Add more base address defines Sascha Hauer
2014-12-09 19:03 ` [PATCH 10/13] ARM: MXS: Enable iomux support for pbl Sascha Hauer
2014-12-09 19:03 ` [PATCH 11/13] ARM: MXS: Add multiimage support Sascha Hauer
2014-12-09 19:03 ` [PATCH 12/13] ARM: MXS: Update Karo TX28 board support Sascha Hauer
2014-12-09 19:03 ` [PATCH 13/13] Documentation: Add documentation for booting Freescale MXS SoCs Sascha Hauer
2014-12-10 12:28 ` MXS initialization support Marek Vasut

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=1418151816-24593-1-git-send-email-s.hauer@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=marex@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