[PATCH] Efika MX Smartbook support

Sascha Hauer s.hauer at pengutronix.de
Thu Dec 13 16:49:03 EST 2012


The following adds support for the Efika MX Smartbook. Support is
almost complete including

- USB
- SD card slots
- Internal PATA flash drive
- Internal SPI NOR flash
- LEDs

I have written some documentation for using barebox on the Smartbook
here:

http://wiki.barebox.org/doku.php?id=boards:efikasb

While the documentation is Smartbook specific it might be worth reading
for other board users aswell as it also gives an overview how to use
the new default environment.

The Efika MX Smartbook is, from a software view, quite similar to the
Efika MX Smarttop. This patch only supports the Smartbook, but has some
references to the Smarttop. However, I do not have a Smarttop, so I didn't
bother to try and add support for this.

I currently only tested booting from SD card. It should be possible to
start from the internal SPI NOR flash aswell. I haven't tried this yet
as up to now I wanted to have the U-Boot as a fallback environment.

You may notice that this series brings back the specify-mmc-device-names
patches. I originally wanted to come up with something better. I decided
against this, partly because I haven't been able yet to find a solution
that I like better, partly because I want to get this series done, and partly
because I've already written the documentation.

This series is based on the i.MX chipidea driver I posted earlier this day.

Sascha

----------------------------------------------------------------
Sascha Hauer (7):
      ata sff: set device pointer in ata port
      mci: Allow to specify device name
      mci i.MX esdhc: Allow to specify devicename from platformdata
      mfd mc13893: Add register defines
      ARM i.MX51: Add support for the Efika MX Smartbook
      ARM: Add defconfig for Efika MX smartbook
      USB ehci: Add powerup fixup for EfikaSB

 arch/arm/Makefile                                  |    1 +
 arch/arm/boards/efika-mx-smartbook/Makefile        |    3 +
 arch/arm/boards/efika-mx-smartbook/board.c         |  511 ++++++++++++++++++++
 arch/arm/boards/efika-mx-smartbook/config.h        |   24 +
 arch/arm/boards/efika-mx-smartbook/dcd-data.h      |   56 +++
 .../boards/efika-mx-smartbook/env/bin/lvds_init    |   22 +
 .../boards/efika-mx-smartbook/env/boot/hd-internal |   17 +
 .../boards/efika-mx-smartbook/env/boot/mmc-left    |   19 +
 arch/arm/boards/efika-mx-smartbook/env/config      |   29 ++
 .../boards/efika-mx-smartbook/env/init/automount   |   29 ++
 .../boards/efika-mx-smartbook/env/init/bootsource  |   10 +
 .../efika-mx-smartbook/env/init/config-board       |    9 +
 .../efika-mx-smartbook/env/network/eth0-discover   |    4 +
 arch/arm/boards/efika-mx-smartbook/flash_header.c  |   29 ++
 arch/arm/configs/efika-mx-smartbook_defconfig      |  108 +++++
 arch/arm/mach-imx/Kconfig                          |    8 +
 arch/arm/mach-imx/include/mach/esdhc.h             |    1 +
 defaultenv-2/base/boot/net                         |    4 +-
 drivers/ata/ide-sff.c                              |    1 +
 drivers/mci/imx-esdhc.c                            |    3 +
 drivers/mci/mci-core.c                             |   10 +-
 drivers/usb/core/usb.c                             |    8 +-
 drivers/usb/host/ehci-hcd.c                        |   27 ++
 drivers/usb/otg/ulpi.c                             |   33 +-
 include/mci.h                                      |    1 +
 include/mfd/mc13892.h                              |  217 +++++++++
 include/usb/ulpi.h                                 |   43 +-
 27 files changed, 1202 insertions(+), 25 deletions(-)
 create mode 100644 arch/arm/boards/efika-mx-smartbook/Makefile
 create mode 100644 arch/arm/boards/efika-mx-smartbook/board.c
 create mode 100644 arch/arm/boards/efika-mx-smartbook/config.h
 create mode 100644 arch/arm/boards/efika-mx-smartbook/dcd-data.h
 create mode 100644 arch/arm/boards/efika-mx-smartbook/env/bin/lvds_init
 create mode 100644 arch/arm/boards/efika-mx-smartbook/env/boot/hd-internal
 create mode 100644 arch/arm/boards/efika-mx-smartbook/env/boot/mmc-left
 create mode 100644 arch/arm/boards/efika-mx-smartbook/env/config
 create mode 100644 arch/arm/boards/efika-mx-smartbook/env/init/automount
 create mode 100644 arch/arm/boards/efika-mx-smartbook/env/init/bootsource
 create mode 100644 arch/arm/boards/efika-mx-smartbook/env/init/config-board
 create mode 100644 arch/arm/boards/efika-mx-smartbook/env/network/eth0-discover
 create mode 100644 arch/arm/boards/efika-mx-smartbook/flash_header.c
 create mode 100644 arch/arm/configs/efika-mx-smartbook_defconfig
 create mode 100644 include/mfd/mc13892.h



More information about the barebox mailing list