- Jul 24, 2013
-
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de> [trini: Fixup common/cmd_io.c] Signed-off-by:
Tom Rini <trini@ti.com>
-
- Jul 19, 2013
-
-
Fabio Estevam authored
Commit de1d786e (add support for Xilinx 1000BASE-X phy (GTX)) introduced the checking for ESTATUS_1000_XHALF, but it incorrectly sets the SUPPORTED_1000baseX_Full flag in this case. Set the SUPPORTED_1000baseX_Half flag instead. Acked-by:
Charles Coldwell <coldwell@gmail.com> Reviewed-By:
Sascha Silbe <t-uboot@infra-silbe.de> Reviewed-by:
Joe Hershberger <joe.hershberger@ni.com> Signed-off-by:
Fabio Estevam <fabio.estevam@freescale.com>
-
Sascha Silbe authored
de1d786e [add support for Xilinx 1000BASE-X phy (GTX)] introduced a check for the extended status register in order to support 1Gbps-capable PHYs that don't have the 1000BASE-T registers. Since Extended Status only indicates what the PHY (i.e. the local side) is capable of, this broke communication with non-1Gbps peers. Only check the extended status if the 1000BASE-T registers are actually missing so we don't end up setting speed to 1Gbps even though the previous test (for the combination of local and peer support for 1Gbps) already indicated we can't do 1Gbps with the current peer. Signed-off-by:
Sascha Silbe <t-uboot@infra-silbe.de> Tested-by:
Fabio Estevam <fabio.estevam@freescale.com> Reviewed-by:
Joe Hershberger <joe.hershberger@ni.com>
-
- Jul 16, 2013
-
-
Dirk Behme authored
Dealing with the sys ctrl register should touch only the relevant bits and not accidently the whole register. On i.MX6, the sys control register contains bits which shouldn't be reset to 0, e.g. SYS_CTRL[3-0] and IPP_RST_N (SYS_CTRL[23]). Do this by read/modify/write instead of just a 32bit write. Signed-off-by:
Dirk Behme <dirk.behme@de.bosch.com> Acked-by:
Stefano Babic <sbabic@denx.de> Signed-off-by:
Andy Fleming <afleming@freescale.com>
-
Alexey Brodkin authored
1. No contents of "asm/arch/clk.h" is used within "dw_mmc.c". 2. If arch doesn't have "asm/arch/clk.h" driver won't build. Without mentioned inclusion dw_mmc driver could be built for arches other than ARM. For ARM driver still builds without it. Signed-off-by:
Alexey Brodkin <abrodkin@synopsys.com> Cc: Mischa Jonker <mjonker@synopsys.com> Cc: Andy Fleming <afleming@gmail.com> Cc: Rajeshwari Shinde <rajeshwari.s@samsung.com> Cc: Amar <amarendra.xt@samsung.com> Cc: Minkyu Kang <mk7.kang@samsung.com> Cc: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by:
Andy Fleming <afleming@freescale.com>
-
Haijun.Zhang authored
Fill the right command type when using CMD12 to stop data transfer. Signed-off-by:
Haijun Zhang <Haijun.Zhang@freescale.com> CC: Fleming Andrew-AFLEMING <AFLEMING@freescale.com> CC: Scott Wood <scottwood@freescale.com> Signed-off-by:
Andy Fleming <afleming@freescale.com>
-
Dirk Eibach authored
Add support for Atmel TPM devices with two wire interface. Signed-off-by:
Dirk Eibach <dirk.eibach@gdsys.cc> Signed-off-by:
Reinhard Pfau <reinhard.pfau@gdsys.cc> Reviewed-by:
Simon Glass <sjg@chromium.org> Signed-off-by:
Andy Fleming <afleming@freescale.com>
-
Reinhard Pfau authored
if alen is 0: no longer start a write cycle before reading data. Signed-off-by:
Dirk Eibach <dirk.eibach@gdsys.cc> Signed-off-by:
Reinhard Pfau <reinhard.pfau@gdsys.cc> Acked-by:
Heiko Schocher <hs@denx.de> Signed-off-by:
Andy Fleming <afleming@freescale.com>
-
- Jul 12, 2013
-
-
Marek Vasut authored
The driver triggered a BUG() in nand_base.c:3214/nand_scan_tail() because the ecc.strength was not set in NAND_ECC_HW_SYNDROME ECC mode. Signed-off-by:
Marek Vasut <marex@denx.de> Cc: Benoit Thebaudeau <benoit.thebaudeau@advansee.com> Cc: Fabio Estevam <fabio.estevam@freescale.com> Cc: Scott Wood <scottwood@freescale.com> Cc: Stefano Babic <sbabic@denx.de>
-
Marek Vasut authored
The MX28 multi-layer AHB bus can be too slow and trigger the FEC DMA too early, before all the data hit the DRAM. This patch ensures the data are written in the RAM before the DMA starts. Please see the comment in the patch for full details. This patch was produced with an amazing help from Albert Aribaud, who pointed out it can possibly be such a bus synchronisation issue. Signed-off-by:
Marek Vasut <marex@denx.de> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net> Cc: Fabio Estevam <fabio.estevam@freescale.com> Cc: Stefano Babic <sbabic@denx.de> Tested-by:
Fabio Estevam <fabio.estevam@freescale.com> Tested-by:
Alexandre Pereira da Silva <aletes.xgr@gmail.com>
-
Marek Vasut authored
Remove incorrectly called and duplicate flush_dcache_range() call from fec_mxc driver. The call is not needed, since the caches are already flushed in fec_tbd_init(), moreover the second argument should be the ending address, not size. Signed-off-by:
Marek Vasut <marex@denx.de> Reported-by:
Albert Aribaud <albert.u.boot@aribaud.net> Cc: Stefano Babic <sbabic@denx.de> Cc: Tom Rini <trini@ti.com>
-
- Jul 11, 2013
-
-
Jim Lin authored
Tegra30 and Tegra114 are compatible except PLL parameters. Tested on Tegra30 Cardhu, and Tegra114 Dalmore platforms. All works well. Signed-off-by:
Jim Lin <jilin@nvidia.com> Signed-off-by:
Tom Warren <twarren@nvidia.com>
-
- Jul 10, 2013
-
-
Mike Dunn authored
Newer gcc versions warn about unused variables. This patch corrects a few of those warnings that popped up in a build for the palmtreo680 board. Signed-off-by:
Mike Dunn <mikedunn@newsguy.com>
-
Łukasz Majewski authored
The DFU's state machine original implementation author and copyright were missing. Signed-off-by:
Lukasz Majewski <l.majewski@samsung.com> Acked-by:
Stefan Schmidt <stefan@datenfreihafen.org>
-
Amar authored
This patch resolves the below mentioned compilation error of i2c driver for non-FDT case Compilation error: s3c24x0_i2c.c: In function 'board_i2c_init': s3c24x0_i2c.c:544:18: error: 'CONFIG_MAX_I2C_NUM' undeclared (first use in this function) s3c24x0_i2c.c:544:18: note: each undeclared identifier is reported only once for each function it appears in s3c24x0_i2c.c:545:3: warning: implicit declaration of function Signed-off-by:
Rajeshwari Shinde <rajeshwari.s@samsung.com> Signed-off-by:
Amar <amarendra.xt@samsung.com> Signed-off-by:
Minkyu Kang <mk7.kang@samsung.com>
-
- Jul 08, 2013
-
-
Anatolij Gustschin authored
Code for checking "splashpos" environment variable is duplicated in drivers, move it to the common function. Call this function also in the bmp display command to consider "splashpos" settings. Signed-off-by:
Anatolij Gustschin <agust@denx.de> Acked-by:
Otavio Salvador <otavio@ossystems.com.br>
-
- Jul 05, 2013
-
-
Łukasz Majewski authored
Add support for disabling battery charging with ctrl+C keyboard combination pressed. Moreover the battery update is done more frequently. Signed-off-by:
Lukasz Majewski <l.majewski@samsung.com> Cc: Tom Rini <trini@ti.com> Signed-off-by:
Minkyu Kang <mk7.kang@samsung.com>
-
- Jul 03, 2013
-
-
Łukasz Majewski authored
For the first eMMC read of data for upload, use the "large" dfu_buf (now configurable) instead of usb request buffer allocated at composite layer (which is 4KiB) [*]. For eMMC the whole file is read, which usually is larger than the buffer [*] provided with usb request. Signed-off-by:
Lukasz Majewski <l.majewski@samsung.com> Cc: Tom Rini <trini@ti.com> Cc: Pantelis Antoniou <panto@antoniou-consulting.com> Cc: Marek Vasut <marex@denx.de> Cc: Heiko Schocher <hs@denx.de>
-
Łukasz Majewski authored
In the following commit: "dfu: Support larger than memory transfers." SHA1: ea2453d5 The ext4{read|write} command formatting has been changed. It removed a write mandatory [sizebytes] parameter. It extents DFU_FS_EXT4 case at mmc_file_op to provide mandatory parameter for DFU write. Signed-off-by:
Lukasz Majewski <l.majewski@samsung.com> Cc: Tom Rini <trini@ti.com> Cc: Pantelis Antoniou <panto@antoniou-consulting.com> Cc: Marek Vasut <marex@denx.de> Cc: Heiko Schocher <hs@denx.de>
-
- Jul 02, 2013
-
-
Axel Lin authored
The omap_gpio driver is used by AM33XX, OMAP3/4, OMAP54XX and DRA7XX SoCs. These SoCs have different gpio count but currently omap_gpio driver uses hard coded 192 which is wrong. This patch fixes this issue by: 1. Move define of OMAP_MAX_GPIO to all arch/arm/include/asm/arch-omap*/gpio.h. 2. Update gpio bank settings and enable GPIO modules 7 & 8 clocks for OMAP5. Thanks for Lubomir Popov to provide valuable comments to fix this issue. Signed-off-by:
Axel Lin <axel.lin@ingics.com> Tested-by:
Lubomir Popov <lpopov@mm-sol.com> Acked-by:
Heiko Schocher <hs@denx.de>
-
Michael Trimarchi authored
This patch fix the omap access to the transceiver configuration registers using the ulpi bus. As reported by the documentation the bit31 is used only to check if the transaction is done or still running and the reading and writing operation have different offset and have different values. What we need to do at the end of a transaction is leave the bus in done state. Anyway an error using the ulpi omap register is not recoverable so any error give out the usage of this interface. Tested on a custom OMAP5430 board with a TUSB1210 ULPI PHY on USBB1. Signed-off-by:
Michael Trimarchi <michael@amarulasolutions.com> Acked-by:
Igor Grinberg <grinberg@compulab.co.il> Tested-by:
Lubomir Popov <lpopov@mm-sol.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Marek Vasut <marex@denx.de> Cc: Tom Rini <trini@ti.com>
-
- Jul 01, 2013
-
-
Robert Winkler authored
Create splash.c/h to put the function and any future common splash screen code in. Signed-off-by:
Robert Winkler <robert.winkler@boundarydevices.com> Acked-by:
Igor Grinberg <grinberg@compulab.co.il>
-
Piotr Wilczek authored
This patch change 'data_to_send' array to static to avoid unaligned access exeption on some platforms (ex Trats2). Signed-off-by:
Piotr Wilczek <p.wilczek@samsung.com> Signed-off-by:
Kyungmin Park <kyungmin.park@samsung.com> CC: Minkyu Kang <mk7.kang@samsung.com> CC: Anatolij Gustschin <agust@denx.de>
-
- Jun 30, 2013
-
-
Pierre Aubert authored
This trivial patch adds the definition of the vid/pid for the Ver C1 of the USB Ethernet adapter D-Link DUB-E100. Signed-off-by:
Pierre Aubert <p.aubert@staubli.com> CC: Marek Vasut <marex@denx.de>
-
Łukasz Majewski authored
This subtle change fix problem with too small amount of allocated memory to store DFU function pointers. One needs to allocate extra space for sentinel NULL pointer in this array of function pointers. With the previous code, the NULL value overwrites malloc internal data and afterwards free(f_dfu->function) crashes. Signed-off-by:
Lukasz Majewski <l.majewski@samsung.com> Signed-off-by:
Kyungmin Park <kyungmin.park@samsung.com> Cc: Marek Vasut <marex@denx.de>
-
Heiko Schocher authored
Signed-off-by:
Heiko Schocher <hs@denx.de> Cc: Marek Vasut <marek.vasut@gmail.com> Cc: Ilya Yanok <ilya.yanok@cogentembedded.com>
-
Heiko Schocher authored
add a weak dummy function g_dnl_fixup to add the possibility to update the device_desc board specific. Used on the upcoming siemens board support, where idVendor and idProduct is stored in an eeprom. Signed-off-by:
Heiko Schocher <hs@denx.de> Cc: Marek Vasut <marek.vasut@gmail.com> Cc: Lukasz Majewski <l.majewski@samsung.com> Cc: Kyungmin Park <kyungmin.park@samsung.com> Reviewed-by:
Lukasz Majewski <l.majewski@samsung.com>
-
Heiko Schocher authored
- set in to_dfu_mode() f_dfu->dfu_state = DFU_STATE_dfuIDLE as after every to_dfu_mode call this is done, so move this into to_dfu_mode - switch in dfu_bind() into dfu mode: This fixes wrong "dfu-util -l" output, when calling "dfu-util -l" after a board reset, without doing a download before. See also discussion here: http://lists.denx.de/pipermail/u-boot/2013-June/157272.html Signed-off-by:
Heiko Schocher <hs@denx.de> Cc: Lukasz Majewski <l.majewski@samsung.com> Cc: Pantelis Antoniou <panto@antoniou-consulting.com> Cc: Tom Rini <trini@ti.com> Cc: Kyungmin Park <kyungmin.park@samsung.com> Cc: Marek Vasut <marex@denx.de> Cc: Wolfgang Denk <wd@denx.de> Cc: Samuel Egli <samuel.egli@siemens.com> Acked-by:
Lukasz Majewski <l.majewski@samsung.com> Tested-by:
Lukasz Majewski <l.majewski@samsung.com>
-
Piotr Wilczek authored
This patch memcpy is used instead of an assignment to avoid unaligned access execption on some ARM platforms. Signed-off-by:
Piotr Wilczek <p.wilczek@samsung.com> Signed-off-by:
Kyungmin Park <kyungmin.park@samsung.com> CC: Lukasz Majewski <l.majewski@samsung.com> Tested-by:
Heiko Schocher <hs@denx.de> Acked-by:
Heiko Schocher <hs@denx.de>
-
Piotr Wilczek authored
This patch use get|put_unaligned_le16 to access structure data to avoid data abort on some ARM platforms. Signed-off-by:
Piotr Wilczek <p.wilczek@samsung.com> Signed-off-by:
Kyungmin Park <kyungmin.park@samsung.com> CC: Marek Vasut <marex@denx.de>
-
Heiko Schocher authored
Dfu transfer uses a buffer before writing data to the raw storage device. Make the size (in bytes) of this buffer configurable through environment variable "dfu_bufsiz". Defaut value is configurable through CONFIG_SYS_DFU_DATA_BUF_SIZE Signed-off-by:
Heiko Schocher <hs@denx.de> Cc: Pantelis Antoniou <panto@antoniou-consulting.com> Cc: Tom Rini <trini@ti.com> Cc: Lukasz Majewski <l.majewski@samsung.com> Cc: Kyungmin Park <kyungmin.park@samsung.com> Cc: Marek Vasut <marex@denx.de> Cc: Wolfgang Denk <wd@denx.de> Acked-by:
Tom Rini <trini@ti.com>
-
- Jun 28, 2013
-
-
Fabio Estevam authored
Currently we have the following on boot: CPU: Freescale i.MX28 rev1.2 at 454 MHz BOOT: SSP SD/MMC #0, 3V3 DRAM: 128 MiB MMC: MXS MMC: 0 Video: MXSFB: 'videomode' variable not set!In: serial Break the line of the warning message in order to have a better reading format. Signed-off-by:
Fabio Estevam <fabio.estevam@freescale.com>
-
- Jun 26, 2013
-
-
Mike Dunn authored
Newer gcc versions warn about unused variables. This patch corrects a few of those warnings that popped up in a build for the palmtreo680 board. Signed-off-by:
Mike Dunn <mikedunn@newsguy.com>
-
Eric Nelson authored
Signed-off-by:
Eric Nelson <eric.nelson@boundarydevices.com>
-
Axel Lin authored
Signed-off-by:
Axel Lin <axel.lin@ingics.com>
-
Axel Lin authored
Signed-off-by:
Axel Lin <axel.lin@ingics.com>
-
Axel Lin authored
Signed-off-by:
Axel Lin <axel.lin@ingics.com>
-
Axel Lin authored
Signed-off-by:
Axel Lin <axel.lin@ingics.com>
-
Sascha Silbe authored
With CONFIG_SYS_64BIT_LBA, lbaint_t gets defined as a 64-bit type, which is required to represent block numbers for storage devices that exceed 2TiB (the block size usually is 512B), e.g. recent hard drives. For some obscure reason, the current U-Boot code uses lbaint_t for the number of blocks to read (a rather optimistic estimation of how RAM sizes will evolve), but not for the starting address. Trying to access blocks beyond the 2TiB boundary will simply wrap around and read a block within the 0..2TiB range. We now use lbaint_t for block start addresses, too. This required changes to all block drivers as the signature of block_read(), block_write() and block_erase() in block_dev_desc_t changed. Signed-off-by:
Sascha Silbe <t-uboot@infra-silbe.de>
-
Dirk Behme authored
The spi clock divisor is of the form x * (2**y), or x << y, where x is 1 to 16, and y is 0 to 15. Note the similarity with floating point numbers. Convert the desired divisor to the smallest number which is >= desired divisor, and can be represented in this form. The previous algorithm chose a divisor which could be almost twice as large as needed. Signed-off-by:
Troy Kisky <troy.kisky@boundarydevices.com> Signed-off-by:
Dirk Behme <dirk.behme@gmail.com>
-