summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
...
* | | ata: split ide sff suport to separate fileSascha Hauer2012-12-071-1/+41
|/ / | | | | | | | | | | | | | | | | | | Currently we only support oldschool IDE SFF devices. This is done by registering a register layout struct and everything else is done by the generic IDE SFF driver. Since modern ATA devices still use ATA, but not the SFF interface anymore, split out the IDE SFF support to a separate file to allow for other types of ata interfaces. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* / m25p80: re-import it againt mtd_add_hostJean-Christophe PLAGNIOL-VILLARD2012-11-201-0/+65
|/ | | | | | | | | | | | so we now create the cdev via mtd This will also simplify sync with linux to avoid the m25p8000 or m25p00 the cdev is still named name m25p and the drivers m25p80 Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/ymodem'Sascha Hauer2012-11-162-109/+25
|\
| * commands: remove old Y-Modem implementationRobert Jarzmik2012-11-121-109/+0
| | | | | | | | | | | | | | | | | | | | | | | | As a new implementation of Y-Modem protocol is available, switch from old implementation to the new one : - remove old xyzModem* files - remove old command loady2 - rename command loady2 to loady Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Tested-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * commands: change Y-Modem implementationRobert Jarzmik2012-11-121-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current Y-Modem implementation has some limitations: - Y-Modem/G protocol is not supported - Multiple files (aka. batch) transfers are not supported - Transfer speed over fast lines (USB console) is slow - Code is not trivial to maintain (personnal opinion) This implementation tries to address all these points by introducing loady2 command. The effects are : - transfer speed for Y-Modem over USB jumps from 2kBytes/s to 180kBytes/s - transfer speed for Y-Modem/G jumps to 200kBytes/s - multiple file transfers are possible This command was tested on a USB console and UART 9600bps serial line : - NAKs (and retransmissions) were tested for faulty serial lines - multiple file transfers were tested - Y-Modem, Y-Modem/G and X-Modem transfers were tested Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Tested-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/spi'Sascha Hauer2012-11-161-0/+2
|\ \
| * | spi: introduce spi_get_masterJean-Christophe PLAGNIOL-VILLARD2012-11-121-0/+2
| |/ | | | | | | | | | | | | so we can request a master usefull for the spi command Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/of'Sascha Hauer2012-11-162-1/+10
|\ \ | | | | | | | | | | | | | | | Conflicts: drivers/of/base.c include/of.h
| * | of: Add function to get the model nameSascha Hauer2012-10-091-0/+9
| | | | | | | | | | | | | | | | | | This is useful for printing it during startup. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | memory: return error in barebox_add_memory_bankSascha Hauer2012-10-081-1/+1
| |/ | | | | | | | | | | | | | | When a memory bank is already registered, return an error code instead of throwing a bug. This can happen if a board has registered a memory bank and the same bank is then probed from the devicetree. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/net'Sascha Hauer2012-11-162-0/+9
|\ \
| * | net smc911x: add support for external PHYAndreas Pretzsch2012-11-121-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On LAN9115/LAN9117/LAN9215/LAN9217, external PHYs are supported. Switch to external PHY based on hardware strap pin and/or override flags. Also add a mask to platform data selecting external PHY address to be used. Code based on linux/drivers/net/ethernet/smsc/smsc911x.c (fd9abb3d, d23f028a). Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | net:designware: allow to pass the phy interfaceJean-Christophe PLAGNIOL-VILLARD2012-10-151-0/+3
| |/ | | | | | | | | | | | | If none set use NA (0) as before. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/mtd'Sascha Hauer2012-11-162-2/+4
|\ \ | | | | | | | | | | | | Conflicts: arch/arm/configs/at91sam9x5ek_defconfig
| * | mtd: introduce mtd_block_isbadJean-Christophe PLAGNIOL-VILLARD2012-11-031-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | this allow to do not provide block_isbad at mtd driver level as example spi flash Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | mtd: add parent supportJean-Christophe PLAGNIOL-VILLARD2012-10-171-1/+1
| | | | | | | | | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | mtd: add dataflash supportJean-Christophe PLAGNIOL-VILLARD2012-10-151-1/+1
| | | | | | | | | | | | | | | | | | from linux 3.6 Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* | | Merge branch 'for-next/misc'Sascha Hauer2012-11-163-12/+25
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: commands/Makefile Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | driver: add support for requesting resource by nameJean-Christophe PLAGNIOL-VILLARD2012-10-301-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | this will allow to avoid issue with resource order Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | environment variables: use linux listSascha Hauer2012-10-301-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This switches environment variables to use linux list. This is easier to read. An additional plus is that the environment variables no longer need an initcall, so malloc is the only requirement for them. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | parameter: support removing named parametersJan Luebbe2012-10-121-0/+4
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | parameter: remove unused function global_add_parameterJan Luebbe2012-10-121-7/+0
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | Merge branch 'for-next/mfd'Sascha Hauer2012-11-161-0/+8
|\ \ \ \
| * | | | twl6030: add debug infoVicente2012-10-081-0/+8
| | |_|/ | |/| | | | | | | | | | | | | | Signed-off-by: Vicente <vicencb@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | Merge branch 'for-next/imx'Sascha Hauer2012-11-163-0/+57
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: arch/arm/boards/guf-neso/lowlevel.c arch/arm/boards/pcm038/lowlevel.c commands/Makefile
| * | | | Add in-system barebox update infrastructureSascha Hauer2012-10-171-0/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently in-system update means to write an arbitrary file to an arbitrary device. There is no sanity check if the flashed image is of the right type or will fit onto the device. Furthermore some SoCs need a special preparation step for their images before flashing them. This adds a barebox in-system update infrastructure. Boards can register update handlers which know how to make the board bootable. The available handlers can be listed to be able to select one, different force levels give the user the chance to know it better. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | Merge branch 'for-next/clk' into for-next/imxSascha Hauer2012-10-171-0/+2
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: drivers/net/fec_imx.c
| | * | | | clk: Add clk gate supportSascha Hauer2012-10-101-0/+2
| | |/ / / | | | | | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | Merge branch 'for-next/imx-watchdog' into for-next/imxSascha Hauer2012-10-171-0/+6
| |\ \ \ \ | | |/ / / | |/| | |
| | * | | reset_source: provide static inline function if disabledSascha Hauer2012-10-081-0/+6
| | |/ / | | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | Merge branch 'for-next/gpio'Sascha Hauer2012-11-161-0/+11
|\ \ \ \
| * | | | gpio: move gpio_is_valid to gpio.hJean-Christophe PLAGNIOL-VILLARD2012-10-301-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gpio < 0 means invalid too Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | | Merge branch 'for-next/filetype-command'Sascha Hauer2012-11-161-0/+2
|\ \ \ \ \
| * | | | | filetype: add shortnamesSascha Hauer2012-10-301-0/+2
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | The filetype strings are not really suitable for shell scripts, so add a shortname array of filetypes usable for shell scripts. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | | Merge branch 'for-next/console'Sascha Hauer2012-11-162-1/+7
|\ \ \ \ \
| * | | | | debug_ll: use const char* for PUTS_LLJean-Christophe PLAGNIOL-VILLARD2012-10-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | | console/of: evaluate linux,stdout-path propertySascha Hauer2012-10-091-0/+6
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a linux,stdout-path property is given in the devicetree activate the corresponding console. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | | Merge branch 'for-next/bcm2835'Sascha Hauer2012-11-163-0/+23
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: arch/arm/configs/versatilepb_defconfig
| * | | | | clkdev: add helper function to register one clock lookup for a struct clkCarlo Caione2012-10-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Carlo Caione <carlo.caione@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | | Merge branch 'for-next/gpio' into for-next/bcm2835Sascha Hauer2012-10-212-0/+22
| |\ \ \ \ \ | | |/ / / / | |/| / / / | | |/ / /
| | * | | gpio: add ARM Primcell pl061 supportJean-Christophe PLAGNIOL-VILLARD2012-10-051-0/+12
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| | * | | gpio: provide generic gpio headerJean-Christophe PLAGNIOL-VILLARD2012-10-051-0/+10
| | |/ / | | | | | | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* | | | Merge branch 'for-next/at91'Sascha Hauer2012-11-1611-1/+574
|\ \ \ \
| * | | | w1: introduce helper to generate mac address from 1-wire idJean-Christophe PLAGNIOL-VILLARD2012-11-151-0/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | use the first 3 byte of the id of a 1-wire or 6 if no OUI provided device to provide an Ethernet address Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | Merge branch 'for-next/i2c' into for-next/at91Sascha Hauer2012-11-157-1/+465
| |\ \ \ \
| | * | | | eeprom: add at24 supportJean-Christophe PLAGNIOL-VILLARD2012-11-151-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This driver to get read/write support to most I2C EEPROMs, after you configure the driver to know about each EEPROM on your target board. Use these generic chip names, instead of vendor-specific ones like at24c64 or 24lc02: 24c00, 24c01, 24c02, spd (readonly 24c02), 24c04, 24c08, 24c16, 24c32, 24c64, 24c128, 24c256, 24c512, 24c1024 Unless you like data loss puzzles, always be sure that any chip you configure as a 24c32 (32 kbit) or larger is NOT really a 24c16 (16 kbit) or smaller, and vice versa. Marking the chip as read-only won't help recover from this. Also, if your chip has any software write-protect mechanism you may want to review the code to make sure this driver won't turn it on by accident. Based on linux 3.6 Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| | * | | | Merge commit 'a8a9542' into HEADSascha Hauer2012-11-151-0/+121
| | |\ \ \ \ | | | | |_|/ | | | |/| |
| | | * | | import include/linux/math64.hJean-Christophe PLAGNIOL-VILLARD2012-10-151-0/+121
| | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | need by mtd_dataflash Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| | * | | add roundup and rounddown supportJean-Christophe PLAGNIOL-VILLARD2012-11-151-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| | * | | import log2 support from linuxJean-Christophe PLAGNIOL-VILLARD2012-11-151-0/+190
| | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>