9
0
Fork 0
Commit Graph

4971 Commits

Author SHA1 Message Date
Robert Schwebel 507480dd0a doc: add missing commands
This patch adds command entries for all commands available in barebox.
However, as there is no documentation for all of these commands, 'make
docs' will now spit out warnings.

Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
2010-11-15 09:57:26 +01:00
Robert Schwebel 944ab68ab7 doc: sort list alphabetically
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
2010-11-15 09:57:26 +01:00
Marek Belisko b960023b46 pcm037: Fix compilation warning.
This patch fix following compilation warning:
../devices-imx31.h: In function 'imx31_add_fb':
../devices-imx31.h:34: warning: passing argument 2 of 'imx_add_ipufb'
from incompatible pointer type

Signed-off-by: Marek Belisko <marek.belisko@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-11-15 09:20:47 +01:00
Sascha Hauer a3da178176 Merge branch 'master' into next 2010-11-12 08:08:13 +01:00
Sascha Hauer f99b1d38ee ARM i.MX51: Add nand device
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-11-12 08:08:02 +01:00
Sascha Hauer ce15c024c1 imx nand: Add v3 (i.MX51) support
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-11-12 08:08:02 +01:00
Sascha Hauer 691bff0062 imx nand: introduce overwritable check_int function
needed for v3 support later.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-11-12 08:08:02 +01:00
Sascha Hauer 5fcca46544 imx nand: move initialization to preset function
This has two purposes. First we need to factor out initialization
to be able to do something different on v3 type controllers,
second with this patch we are independent of preinitialized register
values.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-11-12 08:08:02 +01:00
Sascha Hauer da1ad19c4c mxc_nand: fix correct_data function
The v2 controller has a totally different mechanism to check
whether the data we read had ecc errors or not. Implement this.
The mechanism in the v2 controller happens to be identical to
the v3 controller.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-11-12 08:08:02 +01:00
Sascha Hauer 87ccd2d109 imx nand: add V1_V2 namespace to registers
This prepares the driver for v3 support. The v3 controller
has a completely different register layout, so add a V1_V2_
namespace to the register defines to avoid confusion with
the v3 regs.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-11-12 08:08:02 +01:00
Sascha Hauer 22180f96b1 imx nand: do not read-modify-write SPAS register
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-11-12 08:08:01 +01:00
Sascha Hauer a0fc5252a7 imx_nand: make some internally used functions overwriteable
This patch prepares the driver to add v3 controller support
later. The v3 controller is basically the same controller as v1
and v2, but with a completely different register layout.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-11-12 08:08:01 +01:00
Sascha Hauer 2cb2a68b92 imx nand: remove unnecessary register write
NFC_SP_EN is cleared in probe and never set again, so we do not
need to clear it in other functions again.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-11-12 08:08:01 +01:00
Sascha Hauer bb81ff75d4 imx_nand: rework get_dev_status
We save/restore the value in the buffer anyway, so it makes
no difference whether we use main_area0 or main_area1. So,
we can use main_area0 and remove main_area1 from the driver
which is otherwise unused. Also, clean up the comments in
get_dev_status.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-11-12 08:08:01 +01:00
Sascha Hauer dd62a0c2d1 imx_nand: remove 0xe00 offset from registers
Add the offset to the register base instead. This is done
in preparation for v3 controller support.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-11-12 08:08:01 +01:00
Sascha Hauer 31ecd16695 NAND: reset chips before usage like the kernel does
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-11-12 08:08:01 +01:00
Sascha Hauer f38bfd20e7 fb: set id for framebuffer device correctly
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-11-12 08:07:16 +01:00
Jean-Christophe PLAGNIOL-VILLARD b35fbfc237 at91: add Ronetix pm9g45 support
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: Ilko Iliev <iliev@ronetix.at>
2010-11-11 20:43:21 +08:00
Jean-Christophe PLAGNIOL-VILLARD 6b503c2324 at91: Support for at91sam9g10: core chip & board support
Here are the modification to at91sam9261 files dedicated to the support of
at91sam9g10. This direction has been adopted to minimize code duplication.

All at91sam9261 drivers are enabled in _devices and board files. Modificaton
to peripherals that support at91sam9g10 will be added in future patches.

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2010-11-11 20:43:19 +08:00
Jean-Christophe PLAGNIOL-VILLARD ba685b2a8c at91sam9260/at91sam9263: use the same id as in the kernel for the uart devices
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2010-11-11 20:43:17 +08:00
Jean-Christophe PLAGNIOL-VILLARD ae19fe26cc at91: Support for at91sam9g45 and at91sam9m10 series: core chip & board support
Here are the at91 specific files dedicated to the at91sam9g45 series. They
mimic the traditional at91 way of managing chips & boards.

The first board that embeds at91sam9g45 chip is the AT91SAM9M10G45-EK. In
the future, we will add the m10 and other boards revisions

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
2010-11-11 20:43:16 +08:00
Jean-Christophe PLAGNIOL-VILLARD 7a5cb50f08 at91: add Ronetix pm9261 board support
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: Ilko Iliev <iliev@ronetix.at>
2010-11-10 19:45:15 +08:00
Jean-Christophe PLAGNIOL-VILLARD d923f0dedb at91: Introduction of at91sam9261 SOC.
AT91sam9261 series is an ARM 926ej-s SOC family clocked at 190/100MHz.

The first board that embeds at91sam9261 chip is the AT91SAM9261-EK.
http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3820

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Patrice Vilchez <patrice.vilchez@atmel.com>
2010-11-10 19:45:15 +08:00
Sascha Hauer 6a84a019ab i.MX device macros: Fix typo
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-11-10 10:46:03 +01:00
Marek Belisko 85b3963adb Add basic support for mini2440 dev board.
This work is mainly based on a9m2440 board implementation
from Juergen Beisert <jbe@pengutronix.de>. Functionality
was tested only running barebox from ram. Loading to flash
and booting will not work because missing lowlevel_init
functionality (lack of jtag debugger on my side ;)).

Signed-off-by: Marek Belisko <marek.belisko@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-11-04 08:25:14 +01:00
Eric Bénard 68b2938ac3 eukrea_cpuimx35: fix flash header
commit f0e62e69a5 broke the header.

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-11-03 20:03:13 +01:00
Sascha Hauer 56ac9ea539 ARM eukrea cpuimx25: Use device functions
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-11-02 18:12:41 +01:00
Sascha Hauer 27dc9b28d2 ARM eukrea cpuimx27: Use device functions
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-11-02 18:12:12 +01:00
Sascha Hauer 0564e6082a ARM eukrea cpuimx35: Use device functions
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-11-02 18:12:10 +01:00
Sascha Hauer 266d0fabbe ARM mx25 3ds: Use device functions
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-11-02 18:11:09 +01:00
Sascha Hauer 112b1bad91 ARM mx35 3ds: Use device functions
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-11-02 18:11:08 +01:00
Sascha Hauer 1db1dec52b ARM neso: Use device functions
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-11-02 18:11:08 +01:00
Sascha Hauer 9a139cd653 ARM mx51 babbage: Use device functions
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-11-02 18:11:08 +01:00
Sascha Hauer d974c69eae ARM imx21ads: Use device functions
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-11-02 18:11:08 +01:00
Sascha Hauer 6f3e7b6529 ARM imx27ads: Use device functions
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-11-02 18:11:08 +01:00
Sascha Hauer 5e8b64017e ARM pcm037: Use device functions
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-11-02 18:11:08 +01:00
Sascha Hauer 6a600d47e1 ARM pcm038: Use device functions
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-11-02 18:11:08 +01:00
Sascha Hauer cf852cde74 ARM pca100: Use device functions
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-11-02 18:11:08 +01:00
Sascha Hauer 6ab90017ae ARM pcm043: Use device functions
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-11-02 18:11:08 +01:00
Sascha Hauer 20d03fd82a ARM i.MX35: Add IPU base address
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-11-02 18:11:08 +01:00
Sascha Hauer 27925ee7fb ARM i.MX: Add header protection
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-11-02 18:11:07 +01:00
Sascha Hauer e4aaf7f27f ARM i.MX: Add device convenience functions
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-11-02 18:11:03 +01:00
Sascha Hauer aaf125fa81 ARM i.MX51: Add SPBA0 base addresses
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-11-02 18:11:03 +01:00
Sascha Hauer 3d4f24ef0b Merge branch 'next' 2010-11-02 18:05:32 +01:00
Sascha Hauer d1209136e3 Release v2010.11.0
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-11-02 17:55:58 +01:00
Sascha Hauer 4bfc616111 ARM i.MX27: remove duplicated defines
The esdctl regs are now in a seperate header file, so remove the
duplicates from imx27-regs.h

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-11-02 17:55:17 +01:00
Robert Schwebel 41fe718f75 doc: put cupid into the right chapter
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
2010-11-02 17:55:17 +01:00
Robert Schwebel dfc4422c89 doc: put babage board into the right chapter
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
2010-11-02 17:55:17 +01:00
Robert Schwebel 63ac02eacc doc: put CPUIMX35 into the right chapter
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
2010-11-02 17:55:17 +01:00
Robert Schwebel edfe5e8429 doc: unify documentation for 'linux16'
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
2010-11-02 17:55:17 +01:00