summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Release v2014.07.0v2014.07.0Sascha Hauer2014-07-041-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX6 Phytec phyFLEX: Add watchdog reset workaroundSascha Hauer2014-07-042-1/+35
| | | | | | | | | | | | | phyFLEX boards beginning with 1362.2 have a workaround for this i.MX6 bug: ERR006282 ROM code uses nonreset PFDs to generate clocks, which may lead to random boot failures On these boards the SD4_DAT3 pin os connected to the CMIC. The CMIC will reset the board after 10s when the pin isn't toggled. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mtd: delete partition erase size initialisationRenaud Barbier2014-07-031-1/+0
| | | | | | | Delete the partition erase size initialisation to let the code that follows determine the biggest partition erase size. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* automount: check for recursive automountSascha Hauer2014-07-031-1/+9
| | | | | | | | | | | | | automount_mount calls run_command which may trigger an automount again. This results in an endless loop. A simple way to trigger this is: mkdir /x; automount /x false; cd /x; something Use a static variable to detect if we are currently in automount_mount() and bail out if we are. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* menutree: let it select GLOB and GLOB_SORTHolger Schurig2014-07-021-2/+6
| | | | | | | | | | | | | | The menutree doesn't select CONFIG_GLOB, but it depends on it. Without it will just hang. So let it select it automatically. Also remove the dependency of CONFIG_GLOB on CONFIG_HUSH, because glob() will run with the simple shell as well. Also let CONFIG_MENUTREE select on CONFIG_GLOB_SORT. While is not strictly needed, many people use menu/00-foo menu/10-bar menu/20-barf to sort their menu entries. So select it out of convenience. Signed-off-by: Holger Schurig <holgerschurig@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* imx6:phyFLEX: Fix ENTRY_FUNCTIONChristian Hemp2014-06-261-9/+3
| | | | | | | | For some phyFLEX-i.MX6 modules the call __barebox_arm_head() was not removed. With this function the barebox does not start. Signed-off-by: Christian Hemp <christian.hemp@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* commands: include missing headerHolger Schurig2014-06-261-0/+1
| | | | | | | | When compiled for ARCH=sandbox, we get a compiler warning if we don't include the needed header file as well. Signed-off-by: Holger Schurig <holgerschurig@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* kernel-install: fix return value check for getlineSascha Hauer2014-06-261-1/+1
| | | | | | | getline returns the number of characters read, so check for ret < 0 instead of ret. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ifup: Add comment why xxx-discover files have to be skippedSascha Hauer2014-06-231-0/+5
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX efika-sb: switch otg port to utmi modeSascha Hauer2014-06-231-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: imx_v7_defconfig: updateSascha Hauer2014-06-231-41/+43
| | | | | | Enable blspec and menutree support which was lost. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net: ifup: skip *-discover files for ifup -aSascha Hauer2014-06-231-0/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* boot: Fix boot -mSascha Hauer2014-06-191-1/+1
| | | | | | We have to continue when bootentries_collect succeeds, not when it fails. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* commands: gpio_direction_output: add missed VALUE parameter to help messageAntony Pavlov2014-06-171-1/+1
| | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: AM335x: Beaglebone: Fix memory setup for Beaglebone blackPhilipp Zabel2014-06-172-5/+17
| | | | | | | | | | | | | | | | Commit 0d6392de4ad824a6553c0e3e3e18edef689a7c85 introduced a stripped down device tree used for both white and black Beaglebone variants that included the 256 MiB memory node from am335x-bone-common.dtsi. This leads to the following error in the MLO: mmu: Critical Error: Can't request SDRAM region for ttb at 9fff4000 This patch removes the (for the Beaglebone black) invalid memory size from the common device tree and instead registers the memory bank manually in the board file. Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mtd: use long long dev param for sizeHerve Codina2014-06-131-1/+1
| | | | | Signed-off-by: Herve Codina <Herve.CODINA@celad.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* param: Add support for long long read only dev paramHerve Codina2014-06-132-0/+35
| | | | | Signed-off-by: Herve Codina <Herve.CODINA@celad.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: Phytec-phyCARD-imx27: Add missing compatible checkSascha Hauer2014-06-121-10/+6
| | | | | | | Only run pca100 code when it's actually a pca100. While at it consolidate two initcalls. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'pu/mii-tool'Sascha Hauer2014-06-111-4/+4
|\
| * mii-tool: Fix gigabit advertise / link partner ability mixupSascha Hauer2014-06-111-2/+2
| | | | | | | | | | | | | | bmcr2 contains the gigabit advertise bits and lpa2 contains the gigabit link partner ability bits, not the other way round. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * mii-tool: Fix gigabit link testSascha Hauer2014-06-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | media_list tests for gigabit phys like this: if (mask & BMCR_SPEED1000) mask does not contain the value of the BMCR register though, so the test is completely bogus. Test for mask2 instead which is only nonzero when the phy has gigabit capabilities. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * mii-tool: Fix string lengthSascha Hauer2014-06-111-1/+1
| | | | | | | | | | | | | | | | media_list writes into a static string. Worst case length of this string is 125 bytes, but the function only allocates 100 bytes. Use 256 bytes which is long enough for some extensions. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | mips: Fix dtb build rulesSascha Hauer2014-06-112-6/+4
|/ | | | | | | | Add intermediate .S files to .SECONDARY. Otherwise make deletes them and regenerates them each build. Also remove KBUILD_DTBS since the make system descends in dts/ anyway. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* treewide: remove address of the Free Software FoundationAntony Pavlov2014-06-1156-220/+0
| | | | | | | | | | | | | | | | | | The FSF address has changed; The FSF site says that address is Free Software Foundation 51 Franklin Street, Fifth Floor Boston, MA 02110-1301 USA (see http://www.fsf.org/about/contact/) Instead of updating it each time the address changes, just drop it completely treewide. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mtd: partition: implement lock/unlockSascha Hauer2014-06-101-0/+28
| | | | | | | CFI Nor flashes need lock/unlock which is not implemented for partitions. Fix this. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mtd: partition: Fix multi eraseregion chipsSascha Hauer2014-06-101-17/+24
| | | | | | | | | | | | | The current code counts the eraseregions a new partition spans and sets the partitions number of eraseregions accordingly, but the code forgets to allocate and fill in the eraseregions for the partition mtd device. This makes the erase operation crash with a NULL pointer exception. This patch fixes this with the same approach the kernel uses: Set the number of eraseregions to 1 unconditionally and the eraseregion size to the maximum of the eraseregions found in the partition. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MIPS: dts: add .gitignore for generated filesAntony Pavlov2014-06-101-0/+1
| | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* make .gitignore files visible to gitAntony Pavlov2014-06-101-0/+5
| | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mtd: fix mtd erasesizeHerve Codina2014-06-101-1/+10
| | | | | | | Set mtd erasize using max erasesize from erase regions Signed-off-by: Herve Codina <Herve.CODINA@celad.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mtd: Fix writesize parameter valueHerve Codina2014-06-101-1/+1
| | | | | Signed-off-by: Herve Codina <Herve.CODINA@celad.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'pu/warnings'Sascha Hauer2014-06-0613-35/+32
|\
| * mips: Add builtin dtb to dtb-ySascha Hauer2014-06-051-2/+4
| | | | | | | | | | | | Otherwise a rebuild of the dtb file is triggered each build. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * gui: IMAGE_RENDERER does not depend on VIDEOSascha Hauer2014-06-051-1/+0
| | | | | | | | | | | | | | | | | | Image renderer may not be particularly useful without framebuffer support, but technically it does not depend on VIDEO. Fixes: warning: (CMD_SPLASH) selects IMAGE_RENDERER which has unmet direct dependencies (VIDEO) Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * commands: drvinfo: Make locally used function staticSascha Hauer2014-06-051-1/+1
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * PPC: FSL DDR: Fix compiler warningSascha Hauer2014-06-051-1/+1
| | | | | | | | | | | | | | | | | | Fixes: arch/ppc/boards/freescale-p1022ds/ddr.c: In function 'fsl_ddr_board_info': arch/ppc/boards/freescale-p1022ds/ddr.c:39:21: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * mips: ar9331: Add missing #address-cells/#size-cells propertiesSascha Hauer2014-06-051-0/+2
| | | | | | | | | | | | | | | | | | | | | | SPI nodes need valid #address-cells/#size-cells properties. Fixes: Warning (reg_format): "reg" property in /soc/spi@bf000000/m25p80@0 has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1) Warning (avoid_default_addr_size): Relying on default #address-cells value for /soc/spi@bf000000/m25p80@0 Warning (avoid_default_addr_size): Relying on default #size-cells value for /soc/spi@bf000000/m25p80@0 Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * mips: dlink-dir-320: refresh defconfigSascha Hauer2014-06-051-4/+0
| | | | | | | | | | | | | | | | | | | | | | Fixes: arch/mips/configs/dlink-dir-320_defconfig:52:warning: override: reassigning to symbol CMD_DHCP arch/mips/configs/dlink-dir-320_defconfig:54:warning: override: reassigning to symbol CMD_PING arch/mips/configs/dlink-dir-320_defconfig:55:warning: override: reassigning to symbol CMD_TFTP arch/mips/configs/dlink-dir-320_defconfig:64:warning: override: reassigning to symbol FS_TFTP Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: friendlyarm_mini2440: refresh defconfigSascha Hauer2014-06-051-17/+14
| | | | | | | | | | | | | | | | | | Fixes: arch/arm/configs/friendlyarm_mini2440_defconfig:38:warning: override: reassigning to symbol CMD_TFTP arch/arm/configs/friendlyarm_mini2440_defconfig:46:warning: override: reassigning to symbol FS_TFTP Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: MXS: Remove unused variablesSascha Hauer2014-06-053-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: arch/arm/boards/crystalfontz-cfa10036/cfa10036.c: In function 'cfa10036_devices_init': arch/arm/boards/crystalfontz-cfa10036/cfa10036.c:119:9: warning: unused variable 'ret' [-Wunused-variable] arch/arm/boards/chumby_falconwing/falconwing.c: In function 'falconwing_devices_init': arch/arm/boards/chumby_falconwing/falconwing.c:287:9: warning: unused variable 'rc' [-Wunused-variable] arch/arm/boards/imx233-olinuxino/imx23-olinuxino.c: In function 'imx23_olinuxino_devices_init': arch/arm/boards/imx233-olinuxino/imx23-olinuxino.c:118:9: warning: unused variable 'rc' [-Wunused-variable] Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * fix format specifiersSascha Hauer2014-06-053-5/+7
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: dts: Remove orphaned i.MX27 DT templateAlexander Shiyan2014-06-061-11/+0
| | | | | | | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | 2048: Reset score on startupAlexander Shiyan2014-06-061-0/+2
| | | | | | | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: AM335x: Beaglebone: Use stripped down devicetree for MLOSascha Hauer2014-06-053-6/+16
| | | | | | | | | | | | | | | | | | The beaglebone white and black have different devicetrees. Both get linked into the MLO which makes it too big. Use a devicetree generated from am335x-bone-common.dtsi which both board variants can share. This reduces the binary size by about 30k. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | tegra: refresh defconfigLucas Stach2014-06-051-9/+13
| | | | | | | | | | | | | | | | Mainly for Jetson TK1 support, but -next moved some stuff around. Also enable some filesystems. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | tegra: add NVIDIA Jetson-TK1 board supportLucas Stach2014-06-059-1/+3180
| | | | | | | | | | Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | images: add Tegra124 image build rulesLucas Stach2014-06-053-1/+12
| | | | | | | | | | | | | | | | Allows to build persistent images for the Tegra124 line of SoCs. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | tegra: pmc: add Tegra124 compatibleLucas Stach2014-06-051-0/+2
| | | | | | | | | | Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | mci: tegra: add Tegra124 compatibleLucas Stach2014-06-051-0/+2
| | | | | | | | | | | | | | | | | | The controller is similar enough to the ones found on earlier generation SoCs to not need any additional changes. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | clk: tegra: add Tegra124 driverLucas Stach2014-06-052-0/+350
| | | | | | | | | | Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | clk: tegra: don't bug out on zero PLL postdivLucas Stach2014-06-051-2/+0
| | | | | | | | | | | | | | | | As the real value is 2^p a input value of 0 is actually valid. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>