Jean-Christophe PLAGNIOL-VILLARD
30298c0f3c
mdio_bus: fix match
...
on barebox we have the weird way the return 0 true on bus match
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-20 09:38:26 +01:00
Jean-Christophe PLAGNIOL-VILLARD
9ea956db77
phylib: fix generic phy driver probe
...
the generic phy driver is used if no driver are found
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-20 09:38:26 +01:00
Jean-Christophe PLAGNIOL-VILLARD
f777b3b13f
driver: introduce device_probe to manully probe a device
...
This will expect a driver to be specified
This is needed by the phylib the probe the generic phy if not driver found
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-20 09:38:25 +01:00
Christian Hemp
cb85fb8214
ARM pcm043, cupid: Fix macro name
...
Since commit dc9d70e2
the define CCM_PDR4 is called MX35_CCM_PDR4.
sha: Added the same for cupid
Signed-off-by: Christian Hemp <c.hemp@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-20 09:32:13 +01:00
Robert P. J. Day
b33114aad1
mach-imx: Add/correct help info in mach-imx/Kconfig
...
Update help info, it's slightly out of date, and a grammatical fix.
No functional change.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-20 09:00:56 +01:00
Juergen Kilb
f4af6690e4
nand-bb: Fix remove of nand-bb device.
...
Fixed possible crashs if nand-bb device is removed
and the list entry was not deleted from the list.
Signed-off-by: Juergen Kilb <J.Kilb@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-20 08:24:59 +01:00
Antony Pavlov
227f19b747
ARM: start-pbl.c: unifify path to lib/decompress_*.c
...
It's three levels up, not four.
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-20 08:22:57 +01:00
Jean-Christophe PLAGNIOL-VILLARD
c2e568d19c
bus: add bus device
...
automatically add it as parent of any bus device if none already specified
we have now a nice output per bus
barebox@Atmel at91sam9x5-ek:/
devices:
`---- platform
`---- atmel_usart0
`---- cs0
`---- atmel_usart1
`---- cs1
`---- mem0
`---- 0x00000000-0x07ffffff: /dev/ram0
`---- mem1
`---- 0x00000000-0x00007fff: /dev/sram0
`---- mem2
`---- 0x00000000-0x000037bf: /dev/defaultenv
`---- mem3
`---- 0x00000000-0xfffffffe: /dev/mem
`---- cs2
`---- w1-gpio
`---- w1_bus0
`---- w1-2d-0
`---- 0x00000000-0x0000007f: /dev/ds24310
`---- w1-2d-1
`---- 0x00000000-0x0000007f: /dev/ds24311
`---- w1-23-0
`---- 0x00000000-0x000001ff: /dev/ds24330
`---- at91sam9x5cm
`---- at91sam9x5ek
`---- at91sam9x5dm
`---- atmel_nand0
`---- nand0
`---- 0x00000000-0x1fffffff: /dev/nand0
`---- 0x00000000-0x0003ffff: /dev/at91bootstrap_raw
`---- 0x00040000-0x0009ffff: /dev/self_raw
`---- 0x000a0000-0x000bffff: /dev/env_raw
`---- 0x000c0000-0x000dffff: /dev/env_raw1
`---- 0x00000000-0x0003ffff: /dev/nand0.at91bootstrap
`---- 0x00040000-0x0009ffff: /dev/nand0.barebox
`---- 0x000a0000-0x000bffff: /dev/nand0.bareboxenv
`---- 0x000c0000-0x000dffff: /dev/nand0.bareboxenv2
`---- 0x000e0000-0x000fffff: /dev/nand0.oftree
`---- 0x00100000-0x001fffff: /dev/nand0.free
`---- 0x00200000-0x007fffff: /dev/nand0.kernel
`---- 0x00800000-0x07ffffff: /dev/nand0.rootfs
`---- 0x08000000-0x1fffffff: /dev/nand0.data
`---- macb0
`---- miibus0
`---- eth0
`---- atmel_spi0
`---- mtd_dataflash0
`---- dataflash0
`---- 0x00000000-0x0041ffff: /dev/dataflash0
`---- atmel_mci0
`---- mci0
`---- 0x00000000-0x1d9bfffff: /dev/disk0
`---- 0x00100000-0x064fffff: /dev/disk0.0
`---- 0x06500000-0x1d9bfffff: /dev/disk0.1
`---- i2c-gpio0
`---- i2c0
`---- qt10700
`---- cs3
`---- mdio_bus
`---- spi
`---- i2c
`---- w1_bus
`---- fs
`---- ramfs0
`---- devfs0
`---- net
`---- global
drivers:
atmel_usart
ramfs
devfs
fat
macb
Generic PHY
atmel_nand
mtd_dataflash
m25p80
atmel_spi
i2c-gpio
mci
atmel_mci
qt1070
w1-gpio
ds2431
ds2433
mem
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-19 11:36:33 +01:00
Jean-Christophe PLAGNIOL-VILLARD
7ce8a13c26
bus_for_each_device/bus_for_each_driver: add () to allow use &bus
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-19 11:35:31 +01:00
Vicente
543cf11ad4
ARM: use arm_setup_stack function on archosg9
...
Signed-off-by: Vicente <vicencb@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-19 11:33:23 +01:00
Antony Pavlov
1cfcd044f7
ARM: start-pbl.c: make errorfn() static
...
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-19 11:31:02 +01:00
Antony Pavlov
fa4cde54b1
ARM: pbl: remove zbarebox.map during 'make clean'
...
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-19 11:26:57 +01:00
Jean-Christophe PLAGNIOL-VILLARD
06e641353e
led-gpio: add bicolor led support
...
those led can have 2 colors but one at a time otherwise they are black
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-19 11:25:55 +01:00
Christoph Fritz
cc37eb4a4d
i.MX25 & 35 usb config bits : fix host power bit
...
This patch sets HPM (Host power mask bit) to bit 16 according to i.MX
Reference Manual. Falsely it was set to bit 8, but this controls pull-up
Impedance.
Reported-by: Michael Burkey <mdburkey@gmail.com>
Signed-off-by: Christoph Fritz <chf.fritz@googlemail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-19 11:08:14 +01:00
Jean-Christophe PLAGNIOL-VILLARD
c811546712
macb/ether: split flags for drivers and phylib
...
as in the kernel use is_rmii
flags for pinctrl
phy_flags for phylib flags
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-19 10:19:08 +01:00
Jean-Christophe PLAGNIOL-VILLARD
d1662f9db3
phylib: introduction of forced 100Mbps
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-19 10:19:07 +01:00
Jean-Christophe PLAGNIOL-VILLARD
e7d143f036
phylib: export phy_id via param
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-19 10:19:07 +01:00
Antony Pavlov
e26d312039
MIPS: main_entry.c: fix typo
...
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-19 10:16:50 +01:00
Robert P. J. Day
7c72c5df63
bareboxenv.c: simple grammatical fix
...
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-19 10:16:21 +01:00
Robert P. J. Day
a0a6262c91
arm lib: Remove redundant boot usage info from boot[uz].c
...
There is no need to add the command name to the "usage" info when
defining a command.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-19 10:14:11 +01:00
Robert P. J. Day
1b6041a662
mach-imx: Comment typo fix, "enviroment" -> "environment"
...
A couple trivial spelling fixes.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-19 10:14:11 +01:00
Jean-Christophe PLAGNIOL-VILLARD
272a5d738a
at91rm9200ek: add spi support
...
as the support atmel mci drivers does not work on rm9200 and we have the
possibility to use it as spi use it
Originally on rm9200 when the interface mci is in SPI mode we use a DataFlash Card
so allow it but if no dataflash card option is enable use as mmc spi.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-16 15:33:50 +01:00
Jean-Christophe PLAGNIOL-VILLARD
c9a3e431a6
tny-a9g20: add mmc spi support
...
on the 9g20 low power version we have a mmc spi as microSD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-16 15:33:11 +01:00
Jean-Christophe PLAGNIOL-VILLARD
ffd78d22c1
usb-a9g20: add mmc spi support
...
on the 9g20 low power version we have a mmc spi as microSD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-16 15:33:11 +01:00
Jean-Christophe PLAGNIOL-VILLARD
7fd15d219f
at91sam9: add detection of low power sdram
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-16 15:33:10 +01:00
Vicente
aac938482f
Add support for Archos G9 tablet
...
Signed-off-by: Vicente <vicencb@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-16 15:32:31 +01:00
Vicente
1dc9cbade4
omap4: add support for loading second stage from usb
...
Signed-off-by: Vicente <vicencb@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-16 15:32:31 +01:00
Vicente
64254636af
omap4: add filesystem support over usb boot
...
Signed-off-by: Vicente <vicencb@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-16 15:32:31 +01:00
Vicente
ea43a5e296
omap4: add serial communications over usb boot
...
Signed-off-by: Vicente <vicencb@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-16 15:32:31 +01:00
Vicente
6b4dc4d4f1
omap4: add support for booting cpu from usb
...
Signed-off-by: Vicente <vicencb@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-16 15:32:31 +01:00
Vicente
7b8a200154
uimage: improve transfer speed
...
Signed-off-by: Vicente <vicencb@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-16 15:32:27 +01:00
Vicente
beff13a41c
omap4: add rename definitions to match datasheet
...
Signed-off-by: Vicente <vicencb@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-16 15:31:51 +01:00
Vicente
9a6fd89480
omap4: add usb boot source
...
Signed-off-by: Vicente <vicencb@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-16 15:31:32 +01:00
Sascha Hauer
b474168b90
Merge branch 'for-next/ymodem'
2012-11-16 14:02:49 +01:00
Sascha Hauer
bc1d965248
Merge branch 'for-next/usb'
2012-11-16 14:02:49 +01:00
Sascha Hauer
0bf6b41cfa
Merge branch 'for-next/spi'
2012-11-16 14:02:49 +01:00
Sascha Hauer
8d094bcab0
Merge branch 'for-next/readline'
2012-11-16 14:02:49 +01:00
Sascha Hauer
1bfbbcca51
Merge branch 'for-next/phylib'
2012-11-16 14:02:49 +01:00
Sascha Hauer
24e85d1d20
Merge branch 'for-next/openrisc'
2012-11-16 14:02:49 +01:00
Sascha Hauer
154496f736
Merge branch 'for-next/omap'
2012-11-16 14:02:49 +01:00
Sascha Hauer
05d251f15f
Merge branch 'for-next/of'
...
Conflicts:
drivers/of/base.c
include/of.h
2012-11-16 14:02:44 +01:00
Sascha Hauer
61c7155c4b
Merge branch 'for-next/nios2'
2012-11-16 14:02:37 +01:00
Sascha Hauer
6584c1f801
Merge branch 'for-next/net'
2012-11-16 14:02:37 +01:00
Sascha Hauer
8134a15b0d
Merge branch 'for-next/nand-test'
2012-11-16 14:02:36 +01:00
Sascha Hauer
4339f4c4de
Merge branch 'for-next/named-resources'
2012-11-16 14:02:36 +01:00
Sascha Hauer
3ff1015d24
Merge branch 'for-next/mxs'
2012-11-16 14:02:36 +01:00
Sascha Hauer
9749c2f16f
Merge branch 'for-next/mtd'
...
Conflicts:
arch/arm/configs/at91sam9x5ek_defconfig
2012-11-16 14:02:32 +01:00
Sascha Hauer
856f60dbd1
Merge branch 'for-next/misc'
...
Conflicts:
commands/Makefile
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-16 14:01:34 +01:00
Sascha Hauer
ec78bea331
Merge branch 'for-next/mfd'
2012-11-16 14:01:12 +01:00
Sascha Hauer
813c3bd3a2
Merge branch 'for-next/mci'
2012-11-16 14:01:11 +01:00