summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Release v2014.10.0v2014.10.0Sascha Hauer2014-10-021-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i2c: omap: fix dts property "clock-frequency" usageTeresa Gámez2014-10-021-10/+10
| | | | | | | | | Looking at the linux kernel the clock-frequency property of the device tree is used to set the bus speed and not the fclk_rate. Adapted this to be compliant with linux kernel. Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* commands: usb: drop help for force rescan optionWjatscheslaw Stoljarski2014-09-301-2/+1
| | | | | Signed-off-by: Wjatscheslaw Stoljarski <wjatscheslaw.stoljarski@kiwigrid.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* USB: gadget: dfu: Add max_speed to dfu_driverSascha Hauer2014-09-251-0/+1
| | | | | | | The MUSB driver checks for this field. If it doesn't contain something useful the driver bails out. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* USB: gadget: fastboot: Add missing includeSascha Hauer2014-09-251-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* read_file_2: Fix return valueTeresa Gámez2014-09-251-1/+3
| | | | | | | | Set return value correct in error case. This prevents barebox from crashing in some conditions. Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX: edmqmx6: free phy-reset gpio pinSilvio Fricke2014-09-221-2/+6
| | | | | | | | | | | | | Since 93a6c6a808("dts: update to v3.17-rc2") we have a correct gpio configuration. This results in a double gpio request what receipted in a error message like this one: gpiolib: _gpio_request: gpio-25 (phy-reset) status -16 Now with this patch the problem is gone. Signed-off-by: Silvio Fricke <silvio.fricke@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* efi: use objcopy with CROSS_COMPILE prefixMichael Olbrich2014-09-191-1/+1
| | | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net: Call edev->recv with correct eth_deviceSascha Hauer2014-09-171-1/+1
| | | | | | | | edev->recv has to be called with edev as argument, not eth_current. This fixes networking when multiple network devices are used and the current one is switched during runtime. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* commands: of_dump: Fix return valueTeresa Gámez2014-09-121-2/+2
| | | | | | | | In an error case the return value is set nicely but 0 is always beeing returned. Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* defaultenv: Reorder overlay append orderTeresa Gámez2014-09-111-2/+14
| | | | | | | | | | | | The defaultenv_add_base() functions adds the enviroment coming from CONFIG_DEFAULT_ENVIRONMENT_PATH. But this is not only for traditional enviroments, but also for external enviroments in e.g. build systems. The external enviroment should override the enviroment set in the board file and not the other way around. Made sure that external enviroment is always added last. Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net: dm9k: fix copy-paste typoAntony Pavlov2014-09-111-1/+1
| | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: AT91: Make gpio mux functions inlineSascha Hauer2014-09-092-24/+19
| | | | | | | Otherwise we get a unused function warning each time mach/gpio.h is included. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: AT91: Add missing includeSascha Hauer2014-09-091-0/+1
| | | | | | | the gpio mux functions were moved to mach/gpio.h. Add the missing include. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* pinctrl: at91: retrieve device id in non dtb probeRaphaël Poggi2014-09-091-3/+8
| | | | | | | We need to retrieve the device id in device tree/non device tree case. Signed-off-by: Raphaël Poggi <poggi.raph@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* pinctrl: at91: fix the pin_to_controller functionRaphaël Poggi2014-09-091-2/+2
| | | | | | | | Other functions use pin_to_controller to retrieve a at91_gpio_chip structure, so fix pin_to_controller to return the correct value. Signed-off-by: Raphaël Poggi <poggi.raph@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* pinctrl: at91: add driver dataRaphaël Poggi2014-09-091-0/+10
| | | | | | | This commit adds the driver data for the gpio-at91 driver. Signed-off-by: Raphaël Poggi <poggi.raph@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* dts:imx6:pfla02: Fix SPI NOR for phyFLEX-i.MX6Christian Hemp2014-09-081-0/+1
| | | | | | | Add chip-select property to pfla02 devicetree. Signed-off-by: Christian Hemp <c.hemp@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Documentation: davinci.rst: fix code-block formattingAntony Pavlov2014-09-081-0/+2
| | | | | | | | | | Wrong formatting leads to this error message during 'make docs': davinci.rst:35: ERROR: Error in "code-block" directive: maximum 1 argument(s) allowed, 4 supplied. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* serial: imx: Fix for non-devicetree boardsPhilipp Zabel2014-09-051-3/+5
| | | | | | | | | | | Commit 3843bfd0ab77eaf125ca617922927b61fc8ded74 "serial: imx: Determine device name from device tree" broke this driver for non-devicetree boards, since of_alias_get may not be called with a NULL pointer as first argument. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/misc'Sascha Hauer2014-09-052-5/+37
|\
| * commands: of_dump switch to get fixed devictreeJan Weitzel2014-09-011-2/+29
| | | | | | | | | | | | | | | | Add a switch to get the devicetree processed by the registered fixups. This is also whats the kernel gets. Signed-off-by: Jan Weitzel <j.weitzel@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ubi: add setting devnum to ubiattachMichael Grzeschik2014-09-011-3/+8
| | | | | | | | | | | | | | | | Sometimes we need to have a defined devicenumber for the ubi partitions. This patch adds the option to ubiattach. Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/marvell'Sascha Hauer2014-09-0511-0/+232
|\ \
| * | ARM: mvebu: Add Plat'home's Kirkwood Openblocks A6 board supportEzequiel Garcia2014-09-018-0/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds a new Marvell Kirkwood-based board, by following the currently supported boards. Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | nand: Add Marvell Orion NAND driverEzequiel Garcia2014-09-013-0/+168
| |/ | | | | | | | | | | | | | | | | This commit adds NAND support for the controller present in Kirkwood SoCs. Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Tested-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/dts'Sascha Hauer2014-09-05543-3154/+32721
|\ \
| * | dts: update to v3.17-rc2Sascha Hauer2014-09-0214-30/+132
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | dts: update to v3.17-rc1Sascha Hauer2014-09-02534-3430/+32217
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: dts: move imx6q-embedsky-e9.dtsi to arch/arm/dts/bootSascha Hauer2014-09-022-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | dts/ is for upstream dts files only. Move barebox specific file to arch/arm/dts/ so that it doesn't get removed by the next dts update. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: dts: Use local version of rk3188-clocks.dtsiSascha Hauer2014-09-023-3/+681
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As of 3.17-rc1 the upstream dts sources for the rockchip rk3188 use incompatible clock bindings. We currently do not have the resources to update the clock driver to this new binding, so we use local copies of the Linux 3.16 dtsi files. Due to the incompatible change the internal device tree won't work with kernels newer than 3.17-rc1. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/at91'Sascha Hauer2014-09-0518-373/+515
|\ \ \
| * | | pinctrl: at91: add pinctrl driverRaphaël Poggi2014-09-045-221/+242
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This driver is based on mach-at91/gpio.c and linux pinctrl driver. The driver contains the gpio and pinctrl parts (like in linux) because the two parts share some structures and logics. Signed-off-by: Raphaël Poggi <poggi.raph@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | arm: mach-at91: move gpio.h to include folderRaphaël Poggi2014-09-033-149/+150
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit add functions from mach-at91/gpio.h in include/mach/gpio.h. This allow to use these functions outside the mach-at91 folder. Signed-off-by: Raphaël Poggi <poggi.raph@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | mtd: atmel_nand: add support for device treeRaphaël Poggi2014-09-031-1/+110
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Raphaël Poggi <poggi.raph@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | mtd: atmel_nand: retrieve ecc_mode from pdataRaphaël Poggi2014-09-026-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By retrieving the ecc_mode from pdata we can use the same code for device tree and non device tree probing. Which was not possible before, because ecc_mode was arbitrarily set to NAND_ECC_SOFT. Signed-off-by: Raphaël Poggi <poggi.raph@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | mtd: nand: add has_pmecc memberRaphaël Poggi2014-09-026-1/+6
| |/ / | | | | | | | | | | | | | | | | | | By adding this structure member, we can retrieve the pmecc config, through the device tree. Signed-off-by: Raphaël Poggi <poggi.raph@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Release v2014.09.0v2014.09.0Sascha Hauer2014-09-041-1/+1
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Fix barebox metadataPhilipp Zabel2014-09-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Patch 97e81f2d78f3 (Add support for metadata in barebox images) writes the wrong length for the model tag in the barebox metadata. Fix this to use the correct value. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Documentation: .gitignore: ignore 'commands/' generated directoryAntony Pavlov2014-09-041-0/+1
| | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | EFI: add missing includeMichael Olbrich2014-09-031-0/+1
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise building produces these warnings: [...] arch/efi/efi/efi-image.c:48:2: warning: implicit declaration of function 'read_file' [-Wimplicit-function-declaration] arch/efi/efi/efi-image.c:48:6: warning: assignment makes pointer from integer without a cast [enabled by default] [...] And bootm fails for x86_64. The implicit declaration has an int as return value, so half of the returned address is lost. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | pinctrl: rockchip: add support for new DT bindingsBeniamino Galvani2014-09-012-36/+18
| | | | | | | | | | | | | | | | | | This patch modifies the Rockchip pinctrl driver to comply with the new DT bindings, which use two syscon nodes to specify the address of memory resources. Signed-off-by: Beniamino Galvani <b.galvani@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | mfd: syscon: add device tree supportBeniamino Galvani2014-09-011-0/+6
| | | | | | | | | | | | | | | | This patch defines a OF compatible property for the syscon driver to allow it to be probed from device tree. Signed-off-by: Beniamino Galvani <b.galvani@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | scripts: gitignore: update based on MakefileAndreas Pretzsch2014-09-012-12/+11
| | | | | | | | | | | | | | | | | | Create up-to-date list of hostprogs and targetprogs based on Makefile. Have this list sorted like the targets in the Makefile to ease maintenance. Also move some leftovers from root .gitignore over here. Signed-off-by: Andreas Pretzsch <apr@cn-eng.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | scripts: add bareboximd{,-target} to .gitignoreAntony Pavlov2014-09-011-0/+2
| | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | openrisc: add barebox.lds to .gitignoreAntony Pavlov2014-09-011-0/+1
| | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | arm: nitrogen6x: new memory setup from BD u-bootLucas Stach2014-09-018-105/+136
| | | | | | | | | | | | | | | | This fixes various stability issues seen on new boards with the old setup. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | arm: mach-imx: add MMDC and CCM register defines for use in DCDLucas Stach2014-09-014-0/+205
| | | | | | | | | | | | | | Makes .imxcfg files a lot more readable. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | scripts: imx-image: add input validation to mwLucas Stach2014-09-011-3/+18
| | | | | | | | | | | | | | | | | | | | Stop and print a helpful message if we encounter an illegal token while parsing the DCD config, instead of silently swallowing the error and pushing random stuff into the DCD. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Makefile.lib: imxcfg: fix include pathLucas Stach2014-09-011-1/+1
| | | | | | | | | | | | | | | | | | MACH is not defined in this context, also it's very unlikely that we will use the imximg tool with an other arch than IMX, so just hardcode the path. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>