summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Release v2014.04.0v2014.04.0Sascha Hauer2014-04-041-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX53 QSB: Remove wrong returnSascha Hauer2014-04-041-1/+0
| | | | | | | For a version 1.0 board the rest of loco_late_init should be executed to completely configure the board. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX6 Sabrelite: Fix ethernetSascha Hauer2014-04-031-16/+48
| | | | | | | | | | The board code does a phy reset. This implicitly requests the phy reset gpio. This gpio is also registered in the devicetree as phy reset gpio, so the fec driver probe can't request the gpio and bails out with -EBUSY. Fix this by freeing the phy reset gpio in the board code. While at it use gpio_request_array for the gpios. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: Panda: Fix board selection in panda defconfig filesSascha Hauer2014-03-312-4/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* netconsole: bail out when no connection is openedSascha Hauer2014-03-311-0/+6
| | | | | | | | | When no connection is opened we should not call into the networking stack. Otherwise it can happen that we delay further execution until the network stack detected a link (or timed out bringing the link up). Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* string.c: Fix includeSascha Hauer2014-03-291-1/+1
| | | | | | | | string.c needs string.h, otherwise we get: lib/string.c:730: warning: no previous prototype for 'memdup' Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* environment: Fix unitiliazed variableSascha Hauer2014-03-291-5/+5
| | | | | | | | | | | | | | | | | | | | envfs_load_data needs a pointer to the envfs_super, otherwise it works on an unitialized struct when detecting the envfs version. This is broken since: | commit 0a2a8f7059e6cb11e5d4eb882538b37f99d09ee3 | Author: Sascha Hauer <s.hauer@pengutronix.de> | Date: Thu Feb 20 08:16:01 2014 +0100 | | environment: Add function to load envfs from buffer | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Grmpf. Most compilers do not issue a warning, only the blackfin gcc 4.3.5 warns about this. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* input: gpio-keys; dt probing needs CONFIG_OF_GPIOSascha Hauer2014-03-291-1/+1
| | | | | | Otherwise of_get_named_gpio_flags is not available. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MIPS: mach-xburst: fix DEBUG_LL=n build errorAntony Pavlov2014-03-281-0/+2
| | | | | | | | | | | | | | | | | Here is my error log: CC common/startup.o In file included from arch/mips/mach-xburst/include/mach/debug_ll.h:25, from include/debug_ll.h:31, from common/startup.c:36: arch/mips/include/asm/debug_ll_ns16550.h: In function 'PUTC_LL': arch/mips/include/asm/debug_ll_ns16550.h:62: error: 'DEBUG_LL_UART_ADDR' undeclared (first use in this function) arch/mips/include/asm/debug_ll_ns16550.h:62: error: (Each undeclared identifier is reported only once arch/mips/include/asm/debug_ll_ns16550.h:62: error: for each function it appears in.) make[1]: *** [common/startup.o] Error 1 Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* defaultenv-2: Fix menu files selectionSascha Hauer2014-03-281-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mtd: ubi: avoid NULL pointer dereference in ubi_get_devicePhilipp Zabel2014-03-231-0/+2
| | | | | | | | | | If the ubidetach command is given a number that passes the range check in ubi_detach_mtd_dev, but at which index the ubi_devices array contains a NULL pointer, ubi_get_device tries to dereference this NULL pointer to increment the ubi device reference count. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* led: trigger: Add missing LED_TRIGGER_DEFAULT_ON stringSascha Hauer2014-03-211-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* usb: gadget: propagate error code from usb_composite_registerSascha Hauer2014-03-191-1/+3
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* usb: gadget: set composite to NULL when usb_gadget_register_driver failsSascha Hauer2014-03-191-1/+8
| | | | | | So that it can be tried later again. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX6Q: Fix IOMUXC GPR1 defines for ENET_CLK_SEL and IPU1/2_MUXPhilipp Zabel2014-03-191-8/+8
| | | | | Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: MMU: Fix memory reaching to the end of address spaceSascha Hauer2014-03-181-1/+1
| | | | | | | | | For memory reaching the end of the address space phys + bank->size overflows to 0. Fix this by right shifting phys and bank->size before adding them. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Tested-by: Sean Cross <xobs@kosagi.com>
* mci: core: Typo fix in printk specifierAlexander Shiyan2014-03-171-1/+1
| | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: MMU: Add some debugging aids and hintsSascha Hauer2014-03-171-2/+55
| | | | | | | | | | | | | - If we have no memory registered in mmu_init() it's a critical bug. panic in this case. - If we do not have a ttb when dma_alloc_coherent or remap_range is called it's also a critical bug. Panic in this case. - if find_pte is called with an address outside our memory banks dump the memory banks and the address to give more clue what went wrong. Also add some hints what might went wrong to the code. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* splash: Print error message when no renderer is foundSascha Hauer2014-03-171-0/+2
| | | | | | | the splash command silently fails when no renderer is found for an image type. Print an error message in this case. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ifup: set serverip to provided value when doing dhcpSascha Hauer2014-03-141-0/+3
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: socfpga: socrates: fix ENTRY_FUNCTIONSteffen Trumtrar2014-03-121-2/+0
| | | | | | | | | | | The commit ARM: Make ENTRY_FUNCTION more robust changed the behaviour of the ENTRY_FUNCTION. For the Socrates the call to __barebox_arm_head() was not removed. Do so now otherwise the Socrates will not be able to boot barebox. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/ubi'Sascha Hauer2014-03-079-38/+64
|\ | | | | | | | | Conflicts: drivers/mtd/ubi/cdev.c
| * fs: ubifs: rework loggingSascha Hauer2014-02-283-16/+27
| | | | | | | | | | | | | | | | By default UBIFS is very verbose. Decrease the verbosity, turn printf messages into ubifs_ messages and add device parameters for the values which are not printed anymore. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * mtd: ubi: rework loggingSascha Hauer2014-02-284-20/+33
| | | | | | | | | | | | | | | | By default UBI is very verbose. Decrease the verbosity, turn printf messages into ubi_ messages and add device parameters for the values which are not printed anymore. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * fs: ubifs: Fix unused function warningSascha Hauer2014-02-281-0/+2
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * param: dev_add_param_fixed: constify argumentSascha Hauer2014-02-282-2/+2
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/tegra'Sascha Hauer2014-03-0714-21/+256
|\ \
| * | tegra: add Tegra3 startupLucas Stach2014-02-273-1/+91
| | | | | | | | | | | | | | | | | | | | | | | | Sets up MSELECT to let main CPUs talk to peripheral devices and starts high performance A9 CPU cluster. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | tegra: set AHB clock rate earlyLucas Stach2014-02-272-0/+7
| | | | | | | | | | | | | | | | | | | | | Avoids glitches in later starup phases. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | tegra: add lowlevel DVCLucas Stach2014-02-273-1/+86
| | | | | | | | | | | | | | | | | | | | | Allows to talk to external PMIC devices to bring up CPU rail. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | tegra: add Tegra3 to relevant lowlevel functionsLucas Stach2014-02-271-2/+5
| | | | | | | | | | | | | | | Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | tegra: add lowlevel delay functionLucas Stach2014-02-192-0/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | For proper startup we need to give clocks and IO signals some time to stabilize. Tegra2 got away without them, but Tegra3 seems to be a bit pickier. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | tegra: lowlevel: switch to __always_inline macroLucas Stach2014-02-191-8/+9
| | | | | | | | | | | | | | | Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | tegra: add -fno-jump-tables to lowlevel codeLucas Stach2014-02-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Lowlevel code runs when not relocated yet, so we have to make extra sure not to emit jump-tables with absolute adresses when evaluating switch statements. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | tegra: rename board directory for Colibri T20Lucas Stach2014-02-177-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For computer modules the naming standard is to have a single board directory named after the module and have all the baseboard support beneath it. Also change the CONFIG name, as we may want to build all the baseboards at once. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/spi'Sascha Hauer2014-03-0710-91/+99
|\ \ \
| * | | spi: imx: Use device idsSascha Hauer2014-02-1010-41/+83
| | | | | | | | | | | | | | | | | | | | | | | | To let the driver work on all SoCs without the use of cpu_is_*() Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | spi: imx: Use IS_ENABLED to drop ifdefsSascha Hauer2014-02-091-21/+8
| | | | | | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | spi: imx: drop use of enumSascha Hauer2014-02-091-45/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | enum imx_spi_devtype is used as index into an array of controller types. This makes the controller type handling unnecessarily complicated. Just drop the enum and instead of an array use different statically initialized structs and referene them by name. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | Merge branch 'for-next/pwm'Sascha Hauer2014-03-0716-50/+525
|\ \ \ \
| * | | | led: Add default-on triggerSascha Hauer2014-03-033-0/+5
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | led: Add pwm-led driverSascha Hauer2014-03-033-0/+98
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | led: move led_of_parse_trigger to coreSascha Hauer2014-03-033-35/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | So that other LED drivers can use it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | PWM: Implement devicetree supportSascha Hauer2014-02-282-7/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This implements of_pwm_request() for PWM client drivers. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | PWM: Add functions for getting/setting period/duty cycleSascha Hauer2014-02-282-0/+25
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | PWM: Add i.MX PWM driverSascha Hauer2014-02-143-1/+270
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Kernel driver from Linux-3.13 with some adjustments for barebox. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | ARM: dts: i.MX6: Add pwm aliasesSascha Hauer2014-02-141-0/+4
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | ARM: i.MX6: Add PWM clk lookupsSascha Hauer2014-02-141-0/+4
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | PWM: pxa: use pwmx as devnameSascha Hauer2014-02-142-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As this changes the name of the pwm we also have to adjust it in pwm_request. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | PWM: Use a separate device for PWMsSascha Hauer2014-02-131-5/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of directly using the hardware devicet for PWMs register a logical PWM device so that the user operates on pwmx devices rather than pxa-pwmx. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>