Sascha Hauer
88107f6e12
Merge branch 'for-next/randconfig'
2012-08-01 17:49:27 +02:00
Sascha Hauer
ae98200133
Merge branch 'for-next/pcm038'
2012-08-01 17:49:27 +02:00
Sascha Hauer
b1a4e722c3
Merge branch 'for-next/onfi'
2012-08-01 17:49:27 +02:00
Sascha Hauer
7db4b8a16a
Merge branch 'for-next/omap'
2012-08-01 17:49:27 +02:00
Sascha Hauer
fd0543ca25
Merge branch 'for-next/mkublheader'
2012-08-01 17:49:27 +02:00
Sascha Hauer
9204bf87d6
Merge branch 'for-next/misc'
2012-08-01 17:49:27 +02:00
Sascha Hauer
a8dbc3f762
Merge branch 'for-next/mips'
2012-08-01 17:49:27 +02:00
Sascha Hauer
b9a5de3605
Merge branch 'for-next/m25p80'
2012-08-01 17:49:27 +02:00
Sascha Hauer
14977019fc
Merge branch 'for-next/imx-misc'
2012-08-01 17:49:27 +02:00
Sascha Hauer
24e9538b9c
Merge branch 'for-next/imx-keypad'
2012-08-01 17:49:27 +02:00
Sascha Hauer
f56247dbda
Merge branch 'for-next/i2c'
2012-08-01 17:49:27 +02:00
Sascha Hauer
2b3bf599b3
Merge branch 'for-next/friendlyarm'
2012-08-01 17:49:27 +02:00
Sascha Hauer
6bd25d7528
Merge branch 'for-next/depend'
2012-08-01 17:49:27 +02:00
Sascha Hauer
bff2e86495
Merge branch 'for-next/defenv-2'
2012-08-01 17:49:27 +02:00
Sascha Hauer
e986897cd0
Merge branch 'for-next/compressed-prepare'
2012-08-01 17:49:27 +02:00
Sascha Hauer
363a134369
Merge branch 'for-next/cfa-10036'
2012-08-01 17:49:27 +02:00
Sascha Hauer
80fb825db2
Release v2012.08.0
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-08-01 08:59:32 +02:00
Sascha Hauer
239fa8cc9b
mem md: make md -s /dev/something work again
...
Since
|commit d22b85a203
|Author: Sascha Hauer <s.hauer@pengutronix.de>
|Date: Wed Jul 4 23:41:13 2012 +0200
|
| mem md: bail out without arguments
|
| Without arguments the 'md' command defaults to show address 0 which
| likely results in a NULL pointer exception, so only three keystrokes
| are necessary to crash barebox. Show usage instead if 'md' is invoked
| without arguments, so that it at least requires an address to be given
| to crash barebox. This increases the stability of barebox by 66%. Hurray!
barebox does not crash any longer when a plain 'md' without additional arguments
is exectuted. However, doing a 'md -s /dev/nor0' was a standard usecase which now
does not work anymore.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-08-01 08:36:39 +02:00
Sascha Hauer
8895e7512e
nor m25p80: implement fast read
...
The fast read command is needed for spi speeds > 25MHz, so use it for
higher speeds.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-07-31 16:31:17 +02:00
Sascha Hauer
85bdbb1c52
nor m25p80: optimize erase
...
The driver currently erases blocks in 4kb chunks if 4kb support is
available. This patch uses bigger blocks for suitable areas to speed
up erasing areas.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-07-31 15:53:11 +02:00
Sascha Hauer
048d4b8158
nor m25p80: align start and end to erase blocks
...
The erase command normally makes sure that the selected area is erased,
therefore align the parameters to eraseblock boundaries.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-07-31 15:52:10 +02:00
Sascha Hauer
e401f1dad2
nor m25p80: refactor chip erase
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-07-31 15:51:51 +02:00
Sascha Hauer
066fba5736
nor m25p80: remove unused variables
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-07-31 15:51:51 +02:00
Sascha Hauer
348da750c2
nor m25p80: remove progression bar
...
Drivers should not print a progression bar.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-07-31 15:51:32 +02:00
Marc Reilly
d136e780f4
i2c: add platform_data for i2c_board_info
...
Signed-off-by: Marc Reilly <marc@cpdesign.com.au>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-07-30 11:41:03 +02:00
Marc Reilly
e40b05cfc2
imx35: mmc clock has 6 bit divider, not 3_3
...
Signed-off-by: Marc Reilly <marc@cpdesign.com.au>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-07-30 10:48:23 +02:00
Jean-Christophe PLAGNIOL-VILLARD
991e1caf2f
decompress_unlzo: define decompress_unlzo as decompress
...
so we can use decompress in the decompressor
this will simplify multi decompress support
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-07-30 10:04:23 +02:00
Jean-Christophe PLAGNIOL-VILLARD
7ff489627a
kbuild: Init all relevant variables used in kbuild files
...
import from linux 3.5-rc5
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-07-30 10:04:03 +02:00
Antony Pavlov
bd6cc52de5
MIPS: add initial exceptions handling
...
Checking exception handling:
$ make qemu-malta_defconfig
$ make
...
$ qemu-system-mips -nodefaults -M malta -m 256 \
-nographic -serial stdio -bios ./barebox.bin
...
barebox:/ md -l 0x03
Ooops, address error on load or ifetch!
EPC = 0xa082783c
CP0_STATUS = 0x00000006
CP0_CAUSE = 0x00000410
CP0_CONFIG = 0x80008482
### ERROR ### Please RESET the board ###
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-07-27 09:54:13 +02:00
Teresa Gámez
63b3a39309
defaultenv-2: Add bootargs for booting from disk
...
Add support in defaultenv-2 for booting from disk (SD-Card, USB-Stick).
Signed-off-by: Teresa Gámez <t.gamez@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-07-26 12:43:29 +02:00
Uwe Kleine-König
e8bbacab05
i2c: fix printf format specifier
...
Use %u instead of %d for an u32 variable
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-07-26 12:41:55 +02:00
Jean-Christophe PLAGNIOL-VILLARD
d6a50c915f
stddev: make it selectable via Kconfig
...
enable is by default for simple and hush
we do not need to NO_SHELL
this allow to save 1KiB
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-07-25 10:06:30 +02:00
Jean-Christophe PLAGNIOL-VILLARD
14c8c60ac6
command: add missing EXPORT_SYMBOL for find_cmd
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-07-25 09:50:00 +02:00
Jean-Christophe PLAGNIOL-VILLARD
e7abb188f5
version: add missing EXPORT_SYMBOL for version_string
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-07-25 09:50:00 +02:00
Jean-Christophe PLAGNIOL-VILLARD
8bc0b0a008
complete: add missing EXPORT_SYMBOL for {command, device, empty, command}_var_complete
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-07-25 09:50:00 +02:00
Jean-Christophe PLAGNIOL-VILLARD
3890f77ebe
vsprintf: fix EXPORT_SYMBOL typo on simple_strtoull
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-07-25 09:50:00 +02:00
Marc Kleine-Budde
0d98114eb2
usb: gadget: enable for MXS
...
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-07-25 09:27:28 +02:00
Sascha Hauer
babb73da91
UBI: select crc32 support
...
UBI needs this.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-07-25 09:27:28 +02:00
Sascha Hauer
ea0dc13e8f
mtd: scan_write_bbt is only needed with mtd write support
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-07-25 09:27:28 +02:00
Sascha Hauer
f97a4b0c53
I2C i.MX: disable driver for i.MX1
...
Although the driver could work on this hardware, i.MX1 support
currently lacks the necessary clocks resulting in linker errors.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-07-25 09:27:28 +02:00
Sascha Hauer
0daaf9e4c4
uimage: select uncompress and crc32 support
...
uImage support needs both.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-07-25 09:27:28 +02:00
Sascha Hauer
55a618ede4
ARM at91: fix typo in define
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-07-25 09:27:28 +02:00
Sascha Hauer
bc1932b201
ARM at91: remove const
...
Although the spi chipselects should really be const, there is no
good way to fix the compiler warning, so remove the const.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-07-25 09:27:28 +02:00
Sascha Hauer
2f1d3b49d1
mtd omap: add prefix to omap specific decode_bch function
...
So that it does not collide with our generic decode_bch function.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-07-25 09:27:28 +02:00
Sascha Hauer
1145c2fb1e
mtd: remove dead disk-on-chip support
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-07-25 09:27:28 +02:00
Sascha Hauer
aeab2daaee
ARM i.MX: No external NAND boot on i.MX1
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-07-25 09:27:28 +02:00
Sascha Hauer
1c01f8c273
ARM i.MX: rename internal-nand-boot.c to external-nand-boot.c
...
Because that's what it is.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-07-25 09:27:28 +02:00
Sascha Hauer
1240a7b0f6
usb gadget: Enable gadget support only when a driver is available
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-07-25 09:27:27 +02:00
Sascha Hauer
73801faf43
usb gadget at91: Use correct include
...
include gpio.h instead of mach/gpio.h
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-07-25 09:27:27 +02:00
Sascha Hauer
f4cbb7fe17
ARM: remove mx1ads leftovers
...
We have no mx1ads support in the tree, so remove the remaining bits from
Kconfig.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-07-25 09:27:27 +02:00