Commit graph

4567 commits

Author SHA1 Message Date
Jean-Christophe PLAGNIOL-VILLARD
9080a35160 clock: Introduce clock framework from Linux
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-08-06 19:08:55 +02:00
Jean-Christophe PLAGNIOL-VILLARD
bee575c9f2 initcall: add postconsole_initcall
this will allow us to print information as soon as the console will be enable

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-08-06 19:07:49 +02:00
Baruch Siach
5114582e52 imx25: fix UID endianess
Apparently, the UID is little-endian. Reverse endianess, and add a note in
comment.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-08-04 10:17:27 +02:00
Baruch Siach
cada1c41bd mx25 3ds: set CPU UID
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-08-04 09:28:16 +02:00
Baruch Siach
8d657541aa imx25: add support for UID read from eFuse
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-08-04 09:28:15 +02:00
Baruch Siach
e74f2160e7 arm: add support for the serial ATAG
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-08-04 09:28:15 +02:00
Michael Grzeschik
72ba847b32 omap clock: bugfix remove silicon offset sil_index
In omap3_clock_core.S we have just clock values for the ES2
revision, so we should not set any silicon index.

Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-08-03 22:26:06 +02:00
Michael Grzeschik
3b2d5e78e9 beagle: add missing nand headerfile
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-08-03 22:26:06 +02:00
Sascha Hauer
139ec08127 Merge branch 'next' 2010-08-03 09:31:38 +02:00
Sascha Hauer
68d0d31d41 Release v2010.08.0
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-08-03 09:30:32 +02:00
Sascha Hauer
f90299bd95 pcm043: update defconfig
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-08-03 09:29:14 +02:00
Sascha Hauer
1af4eceb70 pcm038: update defconfig
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-08-03 09:29:02 +02:00
Sascha Hauer
660367d738 pcm037: update defconfig
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-08-03 09:28:49 +02:00
Sascha Hauer
4dd3154744 pca100: update defconfig
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-08-03 09:28:35 +02:00
Jean-Christophe PLAGNIOL-VILLARD
6f354bc067 drivers/usb: regorganisation
move to linux usb driver organisation

as following

drivers/usb/core
drivers/usb/gadget
drivers/usb/host
drivers/usb/otg

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-08-02 15:16:31 +02:00
Eric Bénard
404e6d553a eukrea_cpuimx25: update default config
NAND now requires CONFIG_MTD=y to be enabled

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-08-02 15:15:53 +02:00
Eric Bénard
21135a2dd6 eukrea_cpuimx35: fix board support
- updated mDDR init sequence
- LCD fixes
- default configuration update

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-08-02 15:15:53 +02:00
Baruch Siach
edf1301d82 fs: add basic sanity check before accessing the files array
This patch adds some basic file descriptor sanity checks to the file access
routines. Check whether the given file descriptor is in the files array range,
and whether the file entry is valid.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-07-28 08:21:46 +02:00
Sascha Hauer
b8063f72f0 atmel_nand: fix comment where this code is derived from
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-07-23 08:37:47 +02:00
Jean-Christophe PLAGNIOL-VILLARD
d8c86961b3 move boards to arch/<architecure>/boards
this will allow each arch to handle the boards more simply and depending on
there need

the env var BOARD will refer to the current board dirent

for sandbox as we have only one board the board dirent is arch/sandbox/board

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-07-23 08:35:25 +02:00
Jean-Christophe PLAGNIOL-VILLARD
d879de38e8 barebox_default_env: fix out of tree build
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-07-22 15:49:02 +02:00
Baruch Siach
6c1c56744a bootz: give a proper error on open() failure
Currently when running bootz on a nonexistent file, barebox just got stuck. Fix
this.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-07-22 15:37:48 +02:00
Baruch Siach
cc10a6e6b4 nand_imx: fix "used uninitialized" warning on mx25
drivers/nand/nand_imx.c: In function 'imx_nand_load_image':
drivers/nand/nand_imx.c:1074: warning: 'host' is used uninitialized in this function

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-07-16 09:04:06 +02:00
Sascha Hauer
6ffe2ec8cd Merge remote branch 'origin/omap' into next 2010-07-12 08:22:03 +02:00
Sascha Hauer
a2f567095b Merge remote branch 'origin/guf-neso' into next 2010-07-12 08:21:52 +02:00
Sascha Hauer
1af56abc0c Add UBI commands: ubiattach, ubidetach, ubimkvol, ubirmvol
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-07-05 15:07:51 +02:00
Sascha Hauer
e0677920d6 barebox ubi changes
This adds the layer between barebox and UBI.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-07-05 15:07:14 +02:00
Sascha Hauer
8dbed40da9 add ubi support from u-boot. Just enough to compile and scan
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-07-05 15:07:14 +02:00
Sascha Hauer
595a1fd3d5 include stuff missing for ubi
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-07-05 15:07:13 +02:00
Sascha Hauer
9ae9ef472e devfs: only check for ioctl function when needed
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-07-05 15:07:13 +02:00
Sascha Hauer
8196b9e2cc cfi_flash: Add mtd partition support for UBI
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-07-05 15:07:09 +02:00
Sascha Hauer
b6b76c4ee2 cfi_flash: Do not print debug info while erasing
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-07-05 13:00:02 +02:00
Sascha Hauer
497445d51e cfi_flash: Do not typedef struct flash_info
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-07-05 13:00:02 +02:00
Sascha Hauer
acc46ca4f0 add partition mtd support
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-07-05 13:00:02 +02:00
Sascha Hauer
a33bc77bdd add rbtree support (needed for ubi)
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-07-05 13:00:01 +02:00
Sascha Hauer
b332d8565d move drivers/nand to drivers/mtd/nand
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-07-05 13:00:01 +02:00
Sascha Hauer
1b5de4c0fe crc32: activate crc32_no_comp (needed for jffs2 and UBI)
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-07-05 13:00:01 +02:00
Sascha Hauer
e66ded8fa3 Add Garz+Fricke Neso defconfig
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-07-05 12:53:48 +02:00
Sascha Hauer
75f99628fc Add Garz+Fricke Neso support
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-07-05 12:53:44 +02:00
Sascha Hauer
0be6fd0bf6 beagle: Whitespace cleanup
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-07-05 12:43:50 +02:00
Sascha Hauer
ac234173cc omap nand: cleanup
- Move oob layout to driver
- make hwecc support nonoptional but selectable by the board.
- let the boards decide which buswidth / ecc type to use. They know
  better than the user which gets confused by too many kconfig options.
- Let the boards explicitly register the nand device.

I tried to seperate this further, but failed because of too many dependencies
in the code.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-07-05 12:43:03 +02:00
Sascha Hauer
cb0d50e1a2 omap: remove unused defines and corresponding kconfig options
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-07-05 11:45:46 +02:00
Uwe Kleine-König
a398a920b6 trivial: fix typos concerning "instead"
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-07-05 08:27:28 +02:00
Uwe Kleine-König
839f900ca2 trivial: fix typos concerning "hierarchy"
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-07-05 08:27:27 +02:00
Sascha Hauer
6d1d9e8d8b Merge branch 'next' 2010-07-03 10:26:21 +02:00
Sascha Hauer
0db4be97f2 v2010.07.0
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-07-03 10:13:42 +02:00
Eric Bénard
7f5644fad1 imx-ipu-fb: do not enable framebuffer on startup
The board code or startup script should enable it when
it actually wants to.

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-30 09:10:40 +02:00
Eric Bénard
c26f09b2c1 imx-ipu-fb: Add board specific hook to enable display
Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-30 09:10:35 +02:00
Baruch Siach
9ad1fe64ab byteorder: add missing {BIG,LITTLE}_ENDIAN defines
This fixes build warnings when testing __BYTE_ORDER of the other kind.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-30 09:06:11 +02:00
Wolfram Sang
a0e68122e6 nor: don't use sector for ERASE_START
Similar to ac2d4d71ba, copy the behaviour
from Linux which does:

cfi_send_gen_cmd(0x80, cfi->addr_unlock1, chip->start, map, cfi, cfi->device_type, NULL);

Notice the third parameter which is simply chip->start. Needed for some
SST-flashes.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-29 08:28:14 +02:00