summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeLines
* CMD: Remove CMD_LOG, it's unusedMarek Vasut2012-04-19-5/+0
| | | | | | | | | | | | $ git grep CMD_LOG include/configs/kilauea.h:#define CONFIG_CMD_LOG include/configs/lwmon5.h:#define CONFIG_CMD_LOG include/configs/makalu.h:#define CONFIG_CMD_LOG include/configs/quad100hd.h:#undef CONFIG_CMD_LOG include/configs/zeus.h:#define CONFIG_CMD_LOG Signed-off-by: Marek Vasut <marex@denx.de> Acked-by: Anatolij Gustschin <agust@denx.de>
* CMD: Fix typo KGBD -> KGDB on debris boardMarek Vasut2012-04-19-1/+1
| | | | | | Signed-off-by: Marek Vasut <marex@denx.de> Cc: dogoil@etinsys.com Acked-by: Anatolij Gustschin <agust@denx.de>
* CMD: Drop CONFIG_CMD_EMMC, it's not usedMarek Vasut2012-04-19-1/+0
| | | | | | | | | | | $ git grep CMD_EMMC include/configs/u8500_href.h:#define CONFIG_CMD_EMMC Signed-off-by: Marek Vasut <marex@denx.de> Cc: dirk.behme@googlemail.com Cc: helmut.raiger@hale.at Cc: john.rigby@linaro.org Cc: vapier@gentoo.org
* CMD: Drop CONFIG_CMD_DFL, it's not usedMarek Vasut2012-04-19-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | $ git grep CMD_DFL board/atc/ti113x.c:#define CMD_DFLT (PCI_COMMAND_IO|PCI_COMMAND_MEMORY| \ board/atc/ti113x.c: pci_writew (s, PCI_COMMAND, CMD_DFLT); board/cpc45/pd67290.c:#define CMD_DFLT (PCI_COMMAND_IO|PCI_COMMAND_MEMORY| \ board/cpc45/pd67290.c: pci_writew (s, PCI_COMMAND, CMD_DFLT); drivers/pcmcia/i82365.c:#define CMD_DFLT (PCI_COMMAND_IO|PCI_COMMAND_MEMORY| \ drivers/pcmcia/i82365.c: pci_writew (s, PCI_COMMAND, CMD_DFLT); include/configs/MBX.h:#define CONFIG_CMD_DFL include/configs/MigoR.h:#define CONFIG_CMD_DFL include/configs/digsy_mtc.h:#define CONFIG_CMD_DFL include/configs/ms7722se.h:#define CONFIG_CMD_DFL include/configs/ms7750se.h:#define CONFIG_CMD_DFL include/configs/r2dplus.h:#define CONFIG_CMD_DFL include/configs/sh7757lcr.h:#define CONFIG_CMD_DFL include/configs/sh7785lcr.h:#define CONFIG_CMD_DFL Signed-off-by: Marek Vasut <marex@denx.de> Cc: Pfister_Werner@intercontrol.de Cc: iwamatsu@nigauri.org Cc: nobuhiro.iwamatsu.yj@renesas.com Cc: vapier@gentoo.org Cc: wd@denx.de Cc: yoshihiro.shimoda.uh@renesas.com Acked-by: Anatolij Gustschin <agust@denx.de> Acked-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
* CMD: Drop CMD_DCR, it's not usedMarek Vasut2012-04-19-1/+0
| | | | | | | | $ git grep CMD_DCR include/configs/ep8260.h:#undef CONFIG_CMD_DCR Signed-off-by: Marek Vasut <marex@denx.de> Acked-by: Anatolij Gustschin <agust@denx.de>
* CMD: Drop CMD_CAN, it's not usedMarek Vasut2012-04-19-1/+0
| | | | | | | | $ git grep CMD_CAN include/configs/jadecpu.h:#define CONFIG_CMD_CAN Signed-off-by: Marek Vasut <marex@denx.de> Cc: Matthias Weisser <weisserm@arcor.de>
* CMD: Remove CMD_AUTOSCRIPT, it's not usedMarek Vasut2012-04-19-2/+0
| | | | | | | | | | | $ git grep AUTOSCRIPT include/configs/at91sam9m10g45ek.h:#undef CONFIG_CMD_AUTOSCRIPT include/configs/gplugd.h:#define CONFIG_CMD_AUTOSCRIPT Signed-off-by: Marek Vasut <marex@denx.de> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net> Cc: Prafulla Wadaskar <prafulla@marvell.com> Acked-by: Anatolij Gustschin <agust@denx.de>
* AT91: Drop AT91_SPIMUX command from cmd_allMarek Vasut2012-04-19-1/+0
| | | | | | | | | | | $ git grep AT91_SPIMUX include/config_cmd_all.h:#define CONFIG_CMD_AT91_SPIMUX /* AT91 MMC/SPI Mux Support */ It isn't used anywhere it seems. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net> Acked-by: Anatolij Gustschin <agust@denx.de>
* Prepare v2012.04-rc3Wolfgang Denk2012-04-18-1/+1
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* Merge branch 'master' of git://git.denx.de/u-boot-shWolfgang Denk2012-04-18-2/+2
|\ | | | | | | | | | | * 'master' of git://git.denx.de/u-boot-sh: sh: ecovec: Change macro from BOARD_LATE_INIT to CONFIG_BOARD_LATE_INIT sh: Fix rsk7264 pin setup for on-board ethernet
| * sh: ecovec: Change macro from BOARD_LATE_INIT to CONFIG_BOARD_LATE_INITNobuhiro Iwamatsu2012-04-18-1/+1
| | | | | | | | | | | | | | | | When calling board_late_init, we need to define CONFIG_BOARD_LATE_INIT. The latest ecovec config defines BOARD_LATE_INIT, board_late_init is not called. Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
| * sh: Fix rsk7264 pin setup for on-board ethernetPhil Edworthy2012-04-18-1/+1
| | | | | | | | | | | | | | This sets up the external ethernet IRQ pin. Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
* | i.MX6: arm2: Add AXI cache and Qos settingDirk Behme2012-04-17-0/+6
|/ | | | | | | | | | | | | | | Do the same AXI cache and Qos settings done already in the SabreLite imximage.cfg for the ARM2 board, too. It fixes a display flash issue caused by low priority of the display IDMA channel. Signed-off-by: Dirk Behme <dirk.behme@de.bosch.com> CC: Jason Chen <b02280@freescale.com> CC: Jason Liu <r64343@freescale.com> CC: Stefano Babic <sbabic@denx.de> CC: Fabio Estevam <festevam@gmail.com> Acked-by: Jason Liu <r64343@freescale.com>
* Prepare v2012.04-rc2; minor Coding Style cleanupWolfgang Denk2012-04-16-89/+87
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* Merge branch 'master' of git://git.denx.de/u-boot-armWolfgang Denk2012-04-16-364/+530
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 'master' of git://git.denx.de/u-boot-arm: ARM926EJS: Fix cache.c to comply with checkpatch.pl ARM926EJS: Make asm routines volatile in cache ops MX35: mx35pdk: wrong board revision ARM1136: MX35: Make asm routines volatile in cache ops ARM: add u-boot.imx as target for i.MX SOCs M28: Pull out CONFIG_APBH_DMA so it's always enabled DMA: Split the APBH DMA init into block and channel init imx: Return gpio_set_value in gpio_direction_output imx: Use GPIO_TO_PORT macro in the gpio driver instead of (gpio >> 5) imx: Add GPIO_TO_PORT macro in the mxc_gpio driver imx: Remove unneeded/repititive definitions from imx headers i.MX28: Allow coexistence of PIO and DMA mode for SD/MMC MX31: mx31pdk: drop enable_caches from board file i.MX28: Fix initial stack pointer position mx35: mx35pdk: fix when cache functions are linked mx35: flea3: fix when cache functions are linked ARM: 926ejs: use debug() for misaligned addresses ARM1136: add cache flush and invalidate operations mx6qsabrelite: Fix the serial console port mx6qsabrelite: Add boot switch setting information into the README i.MX6: mx6qsabrelite: add cache commands if cache is enabled i.MX6: implement enable_caches() i.MX6: define CACHELINE_SIZE MX53: DDR: Fix ZQHWCTRL field TZQ_CS mx28evk: Add a README file mx28: Split the README into a common part and a m28 specific part tricorder: Load kernel from ubifs tricorder: Add UBIFS cm-t35: fix Ethernet reset timing hawkboard: Add CONFIG_SPL_LIBGENERIC_SUPPORT BeagleBoard: Remove userbutton command and use gpio command instead OMAP: Move omap1510inn to Unmaintained / Orphaned
| * ARM926EJS: Fix cache.c to comply with checkpatch.plMarek Vasut2012-04-16-9/+8
| | | | | | | | | | | | Signed-off-by: Marek Vasut <marex@denx.de> Cc: Stefano Babic <sbabic@denx.de> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
| * ARM926EJS: Make asm routines volatile in cache opsMarek Vasut2012-04-16-1/+1
| | | | | | | | | | | | | | | | | | | | We certainly don't want the compiler to reorganise the code for dcache flushing. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Stefano Babic <sbabic@denx.de> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net> Acked-by: Mike Frysinger <vapier@gentoo.org> Acked-by: Stefano Babic <sbabic@denx.de>
| * MX35: mx35pdk: wrong board revisionStefano Babic2012-04-16-12/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The board revision is detected accessing to the pmic, that is not available before relocation (I2C). This generates the following error: CPU: Freescale i.MX35 rev 2.0 at 532 MHz. Reset cause: WDOG <reg num> = 7 is invalid. Should be less than 0 Board: MX35 PDK 1.0 The revision number is wrong, as a default value is printed (tested on a mx35pdk Rev. 2.0). Move the output in the board_late_init(), when pmic can be accessed. Signed-off-by: Stefano Babic <sbabic@denx.de>
| * ARM1136: MX35: Make asm routines volatile in cache opsStefano Babic2012-04-16-10/+12
| | | | | | | | | | | | | | | | | | | | As well as pushed for ARM926EJS, we certainly don't want the compiler to reorganise the code for dcache flushing Fix checkpatch warnings as well. Signed-off-by: Stefano Babic <sbabic@denx.de> CC: Marek Vasut <marex@denx.de> CC: Albert Aribaud <albert.u.boot@aribaud.net>
| * ARM: add u-boot.imx as target for i.MX SOCsStefano Babic2012-04-16-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Freescale SOCs require an header to u-boot.bin The patch adds u-boot.imx to the default targets if the imx file is set (IMX_CONFIG). Signed-off-by: Stefano Babic <sbabic@denx.de> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net> CC: Loïc Minier <loic.minier@linaro.org> CC: Mike Frysinger <vapier@gentoo.org> Acked-by: Mike Frysinger <vapier@gentoo.org> Acked-by: Dirk Behme <dirk.behme@de.bosch.com> Tested-by: Dirk Behme <dirk.behme@googlemail.com>
| * M28: Pull out CONFIG_APBH_DMA so it's always enabledMarek Vasut2012-04-16-1/+5
| | | | | | | | | | | | | | | | | | | | | | The ABPH DMA is now used also by the SD card. Therefore it has to be enabled even if NAND is disabled. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Stefano Babic <sbabic@denx.de> Cc: Wolfgang Denk <wd@denx.de> Cc: Detlev Zundel <dzu@denx.de> Cc: Fabio Estevam <fabio.estevam@freescale.com>
| * DMA: Split the APBH DMA init into block and channel initMarek Vasut2012-04-16-24/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the issue where mxs_dma_init() was called either twice or never, without introducing any new init hooks. The idea is to allow each and every device using the APBH DMA block to configure and request only the channels it uses, instead of making it call init for all the channels as is now. The common DMA block init part, which only configures the block, is then called from CPUs arch_cpu_init() call. NOTE: This patch depends on: http://patchwork.ozlabs.org/patch/150957/ Signed-off-by: Marek Vasut <marex@denx.de> Cc: Stefano Babic <sbabic@denx.de> Cc: Wolfgang Denk <wd@denx.de> Cc: Detlev Zundel <dzu@denx.de> Cc: Fabio Estevam <fabio.estevam@freescale.com> Tested-by: Fabio Estevam <fabio.estevam@freescale.com>
| * imx: Return gpio_set_value in gpio_direction_outputVikram Narayanan2012-04-16-2/+1
| | | | | | | | | | | | | | | | Return gpio_set_value in gpio_direction_output. Earlier it returned 0 and ignored gpio_set_value's return value. Signed-off-by: Vikram Narayanan <vikram186@gmail.com> Acked-by: Stefano Babic <sbabic@denx.de>
| * imx: Use GPIO_TO_PORT macro in the gpio driver instead of (gpio >> 5)Vikram Narayanan2012-04-16-4/+4
| | | | | | | | | | | | | | Use the defined GPIO_TO_PORT macro. Remove gpio >> 5 references. Signed-off-by: Vikram Narayanan <vikram186@gmail.com> Acked-by: Stefano Babic <sbabic@denx.de>
| * imx: Add GPIO_TO_PORT macro in the mxc_gpio driverVikram Narayanan2012-04-16-0/+1
| | | | | | | | | | | | | | Add GPIO_TO_PORT macro in the mxc_gpio.c driver Signed-off-by: Vikram Narayanan <vikram186@gmail.com> Acked-by: Stefano Babic <sbabic@denx.de>
| * imx: Remove unneeded/repititive definitions from imx headersVikram Narayanan2012-04-16-6/+0
| | | | | | | | | | | | | | Remove gpio related unused/repititive definitions from imx headers. Signed-off-by: Vikram Narayanan <vikram186@gmail.com> Acked-by: Stefano Babic <sbabic@denx.de>
| * i.MX28: Allow coexistence of PIO and DMA mode for SD/MMCMarek Vasut2012-04-16-1/+47
| | | | | | | | | | | | | | | | | | | | | | | | This SD DMA function of i.MX28 is still apparently too experimental to be enabled by default in 2012.04 release. Enable this feature only if the user plans to tinker with DCache or explicitly enables it. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Stefano Babic <sbabic@denx.de> Cc: Wolfgang Denk <wd@denx.de> Cc: Detlev Zundel <dzu@denx.de> Cc: Fabio Estevam <fabio.estevam@freescale.com>
| * MX31: mx31pdk: drop enable_caches from board fileStefano Babic2012-04-16-8/+0
| | | | | | | | | | | | | | | | | | enable_caches() is implemented now in cpu.c for ARM1136. Signed-off-by: Stefano Babic <sbabic@denx.de> CC: Fabio Estevam <fabio.estevam@freescale.com> Acked-by: Fabio Estevam <fabio.estevam@freescale.com>
| * i.MX28: Fix initial stack pointer positionMarek Vasut2012-04-16-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The patch: m28evk: Use GENERATED_GBL_DATA_SIZE commit 1084606c972ea5f1d89f69bdbd978b867d0ee521 introduced usage of GENERATED_GBL_DATA_SIZE and calculation of initial stack pointer position defived from that. Due to a small typo, the SP position moved to 0x21f80, which is past the SRAM area. This didn't manifest on the real hardware as the SRAM repeats there (address bits in the CPU being ignored). Though this was caught in QEMU, where it crashed the emulator. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Stefano Babic <sbabic@denx.de> Cc: Fabio Estevam <fabio.estevam@freescale.com> Tested-by: Fabio Estevam <fabio.estevam@freescale.com>
| * mx35: mx35pdk: fix when cache functions are linkedStefano Babic2012-04-16-0/+2
| | | | | | | | Signed-off-by: Stefano Babic <sbabic@denx.de>
| * mx35: flea3: fix when cache functions are linkedStefano Babic2012-04-16-0/+2
| | | | | | | | Signed-off-by: Stefano Babic <sbabic@denx.de>
| * ARM: 926ejs: use debug() for misaligned addressesStefano Babic2012-04-16-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Misaligned warnings are useful to debug faulty drivers. A misaligned warning is printed also when the driver is correct - use debug() instead of printf(). Signed-off-by: Stefano Babic <sbabic@denx.de> CC: Albert Aribaud <albert.u.boot@aribaud.net> CC: Mike Frysinger <vapier@gentoo.org> CC: Marek Vasut <marex@denx.de> Acked-by: Marek Vasut <marex@denx.de>
| * ARM1136: add cache flush and invalidate operationsAnatolij Gustschin2012-04-16-0/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 5c1ad3e6f8ae578bbe30e09652f1531e9bc22031 (net: fec_mxc: allow use with cache enabled) the FEC_MXC driver uses flush_dcache_range() and invalidate_dcache_range() functions. This driver is also configured for ARM1136 based 'flea3' and 'mx35pdk' boards which currently do not build as there are no ARM1136 specific flush_dcache_range() and invalidate_dcache_range() functions. Add various ARM1136 cache functions to fix building for 'flea3' and 'mx35pdk'. Signed-off-by: Anatolij Gustschin <agust@denx.de> Signed-off-by: Stefano Babic <sbabic@denx.de> Cc: Fabio Estevam <fabio.estevam@freescale.com> CC: Mike Frysinger <vapier@gentoo.org> CC: Marek Vasut <marex@denx.de> Acked-by: Marek Vasut <marex@denx.de>
| * mx6qsabrelite: Fix the serial console portFabio Estevam2012-04-16-1/+1
| | | | | | | | | | | | On mx6qsabrelite the console is ttymxc1. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
| * mx6qsabrelite: Add boot switch setting information into the READMEFabio Estevam2012-04-16-1/+2
| | | | | | | | | | | | Add boot switch setting information into the README Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
| * i.MX6: mx6qsabrelite: add cache commands if cache is enabledEric Nelson2012-04-16-0/+4
| | | | | | | | | | Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com> Acked-by: Marek Vasut <marex@denx.de>
| * i.MX6: implement enable_caches()Eric Nelson2012-04-16-0/+12
| | | | | | | | | | | | | | disabled by default until drivers are fixed Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com> Acked-by: Marek Vasut <marex@denx.de>
| * i.MX6: define CACHELINE_SIZEEric Nelson2012-04-16-0/+2
| | | | | | | | | | Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com> Acked-by: Marek Vasut <marex@denx.de>
| * MX53: DDR: Fix ZQHWCTRL field TZQ_CSTroy Kisky2012-04-16-4/+4
| | | | | | | | | | | | | | | | | | Currently, board files are setting this field to 0x01 which the manual says is a reserved value. Change to use the default of 0x02 - 128 cycles. Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com> Acked-by: Fabio Estevam <fabio.estevam@freescale.com>
| * mx28evk: Add a README fileFabio Estevam2012-04-16-0/+29
| | | | | | | | | | | | | | Add a README file for mx28evk board. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Acked-by: Marek Vasut <marex@denx.de>
| * mx28: Split the README into a common part and a m28 specific partFabio Estevam2012-04-16-215/+230
| | | | | | | | | | | | | | | | | | | | Split the README into a common part and a m28 specific part. This will make things easier when adding new README files for other mx28 based boards. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Acked-by: Marek Vasut <marex@denx.de>
| * tricorder: Load kernel from ubifsBernhard Walle2012-04-16-2/+7
| | | | | | | | Signed-off-by: Bernhard Walle <walle@corscience.de>
| * tricorder: Add UBIFSBernhard Walle2012-04-16-2/+4
| | | | | | | | | | | | | | | | | | | | Since kernel should be in a ubifs partition, we need UBIFS. The greater malloc size is needed for UBIFS. Signed-off-by: Bernhard Walle <walle@corscience.de> Squashed two commits (UBIFS enabled and malloc size increased) into one. Signed-off-by: Thomas Weber <weber@corscience.de>
| * cm-t35: fix Ethernet reset timingIgor Grinberg2012-04-16-5/+6
| | | | | | | | | | | | | | | | | | | | | | The reset_net_chip() function has wrong timings for the reset pulse. This appeared to work until: 0607e2b (ARMV7: OMAP: Write more than 1 byte at a time in i2c_write) Fix the Ethernet support by introducing right timings. Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
| * hawkboard: Add CONFIG_SPL_LIBGENERIC_SUPPORTTom Rini2012-04-16-0/+1
| | | | | | | | | | | | | | With older toolchains we need CONFIG_SPL_LIBGENERIC_SUPPORT in order for CONFIG_SPL_NAND_SUPPORT to link. Signed-off-by: Tom Rini <trini@ti.com>
| * BeagleBoard: Remove userbutton command and use gpio command insteadJoel Fernandes2012-04-16-57/+9
| | | | | | | | | | | | | | Remove userbutton command and do the detection in board config file using the gpio command Signed-off-by: Joel A Fernandes <agnel.joel@gmail.com> Signed-off-by: Jason Kridner <jkridner@beagleboard.org>
| * OMAP: Move omap1510inn to Unmaintained / OrphanedTom Rini2012-04-16-4/+3
| | | | | | | | | | | | | | | | | | | | After removing omap1610inn for not building, move omap1510inn to orphaned. Also update boards.cfg to note it's part of the 'omap' SoC to make sure the board is built more often and future breakage noticed quicker. Acked-by: Marek Vasut <marex@denx.de> Signed-off-by: Tom Rini <trini@ti.com>
* | drivers/mtd/spr_smi.c: Fix build warningAnatolij Gustschin2012-04-14-5/+0
| | | | | | | | | | | | | | | | | | | | Fix: spr_smi.c: In function 'smi_write': spr_smi.c:325:15: warning: variable 'WM' set but not used [-Wunused-but-set-variable] Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Vipin Kumar <vipin.kumar@st.com>
* | README: supported boards are in boards.cfg, not MakefileMichael Jones2012-04-11-5/+3
| | | | | | | | Signed-off-by: Michael Jones <michael.jones@matrix-vision.de>
* | mkenvimage: Fix compiler warningDirk Behme2012-04-10-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix the compiler warning mkenvimage.c: In function ‘main’: mkenvimage.c:218: warning: format ‘%ld’ expects type ‘long int’, but argument 3 has type ‘unsigned int’ mkenvimage.c:226: warning: format ‘%ld’ expects type ‘long int’, but argument 3 has type ‘unsigned int’ introduced with the commit mkenvimage: Use mmap() when reading from a regular file 6ee39f8055680654f9cc97b98dcce9588f1ab71e Signed-off-by: Dirk Behme <dirk.behme@googlemail.com> CC: David Wagner <david.wagner@free-electrons.com> CC: Anatolij Gustschin <agust@denx.de> CC: Mike Frysinger <vapier@gentoo.org> Acked-by: Mike Frysinger <vapier@gentoo.org> Acked-by: David Wagner <deubeuliou@gmail.com>