9
0
Fork 0
Commit Graph

6037 Commits

Author SHA1 Message Date
Sascha Hauer 78c596252b Merge branch 'pu/fixes' 2011-12-09 10:44:12 +01:00
Antony Pavlov f17b9efcf7 fix "no previous prototype for 'sbrk'" warning
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-12-09 10:43:25 +01:00
Michael Grzeschik e72399a62e at91sam9260_devices: change flag ETX{2,3} to what was intended
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-12-09 09:08:32 +01:00
Sascha Hauer 14cce713b9 ARM: pass -msoft-float
This is necessary to prevent NEON instructions from leaking into
the binary.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-12-08 13:46:41 +01:00
Sascha Hauer 0e43141403 time command: Fix needed string length
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-12-08 13:46:36 +01:00
Sascha Hauer 4bc6ff2f65 uncompress: fix uncompress_buf usage
uncompress_buf is used each time uncompress is called, so
make sure it is initialized correctly so that we do not
call free() on an already free pointer.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-12-08 13:46:32 +01:00
Sascha Hauer 1275e364f9 ARM: pass -msoft-float
This is necessary to prevent NEON instructions from leaking into
the binary.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-12-08 11:17:36 +01:00
Sascha Hauer a0bd56c0de time command: Fix needed string length
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-12-08 10:44:47 +01:00
Sascha Hauer 9f0c582950 uncompress: fix uncompress_buf usage
uncompress_buf is used each time uncompress is called, so
make sure it is initialized correctly so that we do not
call free() on an already free pointer.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-12-08 10:44:41 +01:00
Sascha Hauer 3180d4b3e3 bootm: factor out initrd code from option parser
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-12-07 17:47:43 +01:00
Sascha Hauer 083b3bd52a make dos partition support default yes if we have disk partition support
DOS partitions are the only partitions we handle at the moment
and without it most MMC/SD enabled configs are useless, so make
it default yes. Also, use 'depends on' instead of 'if'

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Juergen Beisert <jbe@pengutronix.de>
2011-12-07 17:46:17 +01:00
Sascha Hauer 377577f3bf x86: Fix linker script for magic vars
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-12-07 13:49:01 +01:00
Sascha Hauer ca00ea938e arm at91sam9260: Add missing AT91SAM_ETX2_ETX3_ALTERNATIVE define
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-12-07 13:39:47 +01:00
Sascha Hauer 6ae6f51f56 arm eukrea boards: fix breakage after mach-types update
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-12-07 13:39:44 +01:00
Sascha Hauer 9792a4302b ft_build: temporarily disable bootm oftree support
We do not have any command line parser support for bootm anymore.
Disable it for now to at least be able to compile it.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-12-07 13:07:46 +01:00
Sascha Hauer 3c9135a2b5 pxa: add type to Kconfig choice
To avoid Kconfig warning as long we do not have any board
support for pxa.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-12-07 13:06:46 +01:00
Sascha Hauer 37b5fef49d net macb: remove unused variable
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-12-07 13:06:10 +01:00
Sascha Hauer 4430b1a6fc console_simple: fix compiler warning
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-12-07 13:05:54 +01:00
Sascha Hauer e629a53a14 fix underscore count in bss_start/bss_stop
As done in the Linux Kernel

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-12-07 13:05:25 +01:00
Sascha Hauer 8145c67ff8 remove unused Kconfig variable HAS_CFI
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-12-07 13:04:54 +01:00
Sascha Hauer 7e3a33198a memory: do not try to reserve iomem on sandbox
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-12-07 13:04:25 +01:00
Sascha Hauer 249a1ba06e mci s3c: remove unused code
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-12-07 13:03:19 +01:00
Sascha Hauer 0ee6847f7b Merge branch 'next' 2011-12-07 12:03:13 +01:00
Sascha Hauer 61b62f6d33 Release v2011.12.0
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-12-07 12:00:42 +01:00
Sascha Hauer a2792b03ff fprintf: remove unused variable
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-12-07 11:44:37 +01:00
Sascha Hauer 3fd9020731 ppc mpc5200: remove unused variable
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-12-07 11:43:30 +01:00
Sascha Hauer 6b1d8ea9fa blackfin: remove contents of page.h to make barebox compilable again
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-12-07 11:26:20 +01:00
Sascha Hauer ab6dc1d297 console_simple: Fix compilation
Since fprintf and console_puts now return the number of
character written the prototypes have changes. We forgot
to fix console_simple which now fails to compile with:

common/console_simple.c:48:6: error: conflicting types for 'fprintf'
include/stdio.h:57:5: note: previous declaration of 'fprintf' was here
common/console_simple.c:67:6: error: conflicting types for 'console_puts'
include/stdio.h:20:5: note: previous declaration of 'console_puts' was here

Fix this by returning the proper numbers of characters written.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-12-07 10:55:19 +01:00
Sascha Hauer 8b3d10265d mci Kconfig: select DISK_WRITE instead of ATA_WRITE
ATA_WRITE does not exist anymore. DISK_WRITE is the successor
for it.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-12-07 10:40:56 +01:00
Jean-Christophe PLAGNIOL-VILLARD 1e06aef681 sanbox: add linux_execve and linux_exec command
this will allow to execute a program of the host from barebox

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-12-07 10:35:01 +01:00
Antony Pavlov c0213869a2 MIPS: provide __bss_stop in linker script
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-12-07 09:52:28 +01:00
Michael Grzeschik 901aad7d73 dss11: add defconfig
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-12-07 09:39:57 +01:00
Michael Grzeschik b81c695e6f platform: add support for aizo dSS11
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-12-07 09:39:57 +01:00
Michael Grzeschik ffec9ea1c7 arm: update mach-types
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-12-07 09:39:12 +01:00
Michael Grzeschik 1a46f8b6d4 at91sam9260_devices: add flag to change ETX{2,3} pincfg on add_device_eth
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-12-07 09:39:12 +01:00
Michael Grzeschik 0cbda4e76a at91sam9260_devices: properly set slot id
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-12-07 09:39:12 +01:00
Michael Grzeschik f60f6c58e2 atmel_mci: check for device id we use to address the right slot
We have to check which sd card slot we use. The registered mmc_id is the
the correct parameter for this.

Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-12-07 09:39:12 +01:00
Michael Grzeschik 35c0475a6d storage/usb.c: fix test_unit_ready
This is needed for the ohci-at91 to work.

In u-boot this function was transmitting a cmdlen of 12, by the initial
commit. There are similar functions like usb_request_sense,
usb_read_capacity nearby which also transmit 12 byte per default on
u-boot, which probably also need a fix.

Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-12-07 09:39:12 +01:00
Jean-Christophe PLAGNIOL-VILLARD 3bb6ee8dd5 mci: add the probe parameter if any error happened during the probe
as example today if the timeout happened we can not probe the SD card again

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-12-05 22:05:09 +01:00
Robert Jarzmik 699a4a1eca usb/gadget: make serial gadget resistant to cable unplug
As USB can have its cable plugged out anytime, make the
serial gadget reliable in case of unplugging :
 - unregister the gadget_serial provided console
 - don't stay forever in the read loop if connection was cut

This behaviour relies on correct implementation of
usb_gadget_poll(), which should return an error if the USB
cable was removed.

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-12-05 17:59:02 +01:00
Robert Jarzmik 8173427d8d usb/gadget: add USB serial connect and disconnect
The serial gadget can only work if the serial function is
properly connected on USB trigger (ie. on SET_CONFIGURATION
or SET_INTERFACE USB message triggering set_alt() in
composite.c).

Make this connection and handle also the disconnection in
f_serial.

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-12-05 17:59:02 +01:00
Robert Jarzmik 34e5b6029f usb/gadget: use generic usb_gadget_poll() in u_serial
Use the generic gadget polling function instead of the
specific fsl function. This is a fix from a leftover in
gadget development.

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-12-05 17:59:02 +01:00
Robert Jarzmik 75139ca334 usb/gadget: add pxa27x_udc driver
Adapt mainline kernel pxa27x_udc driver to barebox :
 - remove function header comments as they are in mainline
 - test it with serial gadget

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-12-05 17:59:02 +01:00
Robert Jarzmik ea8314d19f console: add console unregistering
Some console are transient, like the USB connected serial
console which should be removed when the USB connection is
severed.

Enable console removal for such devices.

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-12-05 17:59:02 +01:00
Jean-Christophe PLAGNIOL-VILLARD 2504dcd332 imx: add mx53 SMD board support
with:

 - uarts
 - sd and emmc
 - fec

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-12-05 17:57:38 +01:00
Jean-Christophe PLAGNIOL-VILLARD 3555e9794e mx53 loco: update sd support
update to use card detect
add sd3 card support

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-12-05 17:57:38 +01:00
Jean-Christophe PLAGNIOL-VILLARD 521c8ff41e imx-esdhc: add support of card detect
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-12-05 17:57:38 +01:00
Jean-Christophe PLAGNIOL-VILLARD 133788546c mx53: fix devid for imx53_add_mmc1/2
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-12-05 17:57:38 +01:00
Sascha Hauer 39e783d4e0 Merge branch 'pu/cramfs-fix' into next 2011-12-05 17:54:58 +01:00
Sascha Hauer 6cd0c4a358 Merge branch 'pu/resources' into next 2011-12-05 17:54:37 +01:00