- 10 11月, 2013 8 次提交
-
-
由 Paul Burton 提交于
On a real Malta the Super I/O needs to be configured before we are able to access the UARTs. This patch performs that configuration, setting up the UARTs in the same way that YAMON would. Signed-off-by: NPaul Burton <paul.burton@imgtec.com>
-
由 Paul Burton 提交于
This is in preparation for adapting this board to function correctly on a physical MIPS Malta board. The board is moved into an "imgtec" vendor directory at the same time in order to ready us for any other boards supported by Imagination in the future. Signed-off-by: NPaul Burton <paul.burton@imgtec.com>
-
由 Paul Burton 提交于
This patch simply #ifdef's out the C-specific parts of pci.h when it is included by an assembly file. This will allow the macros it contains to be used from assembly source as will be done in a followup commit adding support for more modern MIPS Malta boards. Signed-off-by: NPaul Burton <paul.burton@imgtec.com>
-
由 Paul Burton 提交于
On relatively slow boards (such as the MIPS Malta with an FPGA core card) it can be extremely common for transmits to underflow - to the point where it appears they simply do not work at all. Setting the NOUFLO bit causes the ethernet controller to not begin transmission on the wire until a transmit start point is reached. Setting that transmit start point to the full packet will cause the controller to only transmit the packet once it has buffered it entirely thus preventing any transmit underflows from occuring and allowing the controller to function on slower boards. Signed-off-by: NPaul Burton <paul.burton@imgtec.com>
-
由 Paul Burton 提交于
Ensure that the view of memory from the CPU & the ethernet controller is coherent at the various points where they exchange data. This prevents stale data from being transmitted or received, and prevents the driver from getting stuck waiting for the ethernet controller to update descriptors when in reality it has but the old values are being read from cache. Signed-off-by: NPaul Burton <paul.burton@imgtec.com>
-
由 Paul Burton 提交于
This should cause no change to the generated code, but is semantically correct. Signed-off-by: NPaul Burton <paul.burton@imgtec.com>
-
由 Paul Burton 提交于
Fix up the code to match Documentation/CodingStyle. This is mostly removing extraneous spaces. No functional change is intended. Signed-off-by: NPaul Burton <paul.burton@imgtec.com>
-
由 Paul Burton 提交于
For boards such as the MIPS Malta with an FPGA core card it is desirable to be able to detect the L1 cache sizes at runtime, since they are not dependant upon the board but on the FPGA bitstream in use. This patch performs that detection when the CONFIG_SYS_[DI]CACHE_SIZE macros are not defined by the board configuration. In cases where the sizes are detected this patch also removes the restriction that the I-cache & D-cache line sizes must be the same, as this is not necessarily true. If the cache sizes are defined by a configuration then they will be hardcoded as before, so this patch will not add overhead to such boards. Signed-off-by: NPaul Burton <paul.burton@imgtec.com>
-
- 09 11月, 2013 31 次提交
-
-
-
由 Rob Herring 提交于
Convert sandbox to use common time functions. Signed-off-by: NRob Herring <rob.herring@calxeda.com>
-
由 Rob Herring 提交于
A weak annotation is needed in order to prevent link errors when get_ticks is overridden. This fixes sandbox build. Signed-off-by: NRob Herring <rob.herring@calxeda.com>
-
由 Suriyan Ramasami 提交于
Netconsole loses the second character when used as input by either setenv stdin nc or setenv stdin serial,nc if using CONSOLE_CONSOLE_MUX Before a nc_send_packet() to echo the input, a check is done to see if nc_ether is valid. If its not, it waits for an arp request and then sends the packet (which contains the first character of line to be displayed as output). As part of reaping the arp request, the second character is consumed. We protect this by making the call to NetLoop(NETCONS) between input_recursion. Signed-off-by: NSuriyan Ramasami <suriyan.r@gmail.com> Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
-
由 Axel Lin 提交于
Staticize local functions in s5p serial driver. Signed-off-by: NAxel Lin <axel.lin@ingics.com> Acked-by: NMinkyu Kang <mk7.kang@samsung.com>
-
由 Pierre Aubert 提交于
The env export command doesn't export the first variable of the list since commit 5a31ea04 "env grep" - reimplement command using hexport_r() Signed-off-by: NPierre Aubert <p.aubert@staubli.com>
-
由 Mark Langsdorf 提交于
Let highbank users break into the autoboot script with ctrl-c. Signed-off-by: NMark Langsdorf <mark.langsdorf@calxeda.com>
-
由 Mark Langsdorf 提交于
As originally implemented, setting the AUTOBOOT_KEYED config option will prevent users from breaking into the autoboot script with ctrl-c. Restore that option with a new config symbol. Signed-off-by: NMark Langsdorf <mark.langsdorf@calxeda.com>
-
由 Axel Lin 提交于
Staticize local functions in xuartlite driver. Signed-off-by: NAxel Lin <axel.lin@ingics.com> Acked-by: NStefan Roese <sr@denx.de> Tested-by: NMichal Simek <monstr@monstr.eu>
-
由 Axel Lin 提交于
Staticize local functions in mxs_auart driver. Signed-off-by: NAxel Lin <axel.lin@ingics.com> Acked-by: NMarek Vasut <marex@denx.de>
-
由 Piotr Wilczek 提交于
Curently memcpy copies string without null terminating char because function strlen returns only number of characters excluding null terminating character. Replace memcpy with strcpy. Signed-off-by: NPiotr Wilczek <p.wilczek@samsung.com> Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com> CC: Tom Rini <trini@ti.com>
-
由 Luka Perkov 提交于
Signed-off-by: NLuka Perkov <luka@openwrt.org>
-
由 Luka Perkov 提交于
Signed-off-by: NLuka Perkov <luka@openwrt.org>
-
由 Tim Harvey 提交于
Signed-off-by: NTim Harvey <tharvey@gateworks.com>
-
由 Masahiro Yamada 提交于
Linux Kernel abolished include/linux/config.h long time ago. (around version v2.6.18..v2.6.19) We don't need to provide Linux copatibility any more. This commit deletes include/linux/config.h and fixes source files not to include this. Signed-off-by: NMasahiro Yamada <yamada.m@jp.panasonic.com>
-
由 Egbert Eich 提交于
Signed-off-by: NEgbert Eich <eich@suse.com>
-
由 Egbert Eich 提交于
Signed-off-by: NEgbert Eich <eich@suse.com>
-
由 Egbert Eich 提交于
The gpt command was only implemented for mmc devices. There is no reason why this command should not be generalized and be applied all other storage device classes. This change both simplifies the implementation and eliminates a build failure for systems that don't support mmcs. Signed-off-by: NEgbert Eich <eich@suse.com> Tested-by: NPiotr Wilczek <p.wilczek@samsung.com> [trini: Change coding style slightly] Signed-off-by: NTom Rini <trini@ti.com>
-
由 Masahiro Yamada 提交于
This commit omits non-existing drivers/net/netarm_eth.c from the list. This driver is deleted by commit b411eb30. Signed-off-by: NMasahiro Yamada <yamada.m@jp.panasonic.com>
-
由 Masahiro Yamada 提交于
The following serial drivers do not exist any more. - ns9750_serial.c: deleted by commit 4cfc611b - s3c4510b_uart.c: deleted by commit afad4029 - serial_clps7111.c: deleted by commit f2e08015 - serial_netarm.c: deleted by commit b411eb30 This commit cleans up UDM-serial.txt. Signed-off-by: NMasahiro Yamada <yamada.m@jp.panasonic.com>
-
由 Masahiro Yamada 提交于
Everytime a dead driver is removed from the list, we must re-number. This is a painful task. Try git show e5323225 -- doc/driver-model/UDM-serial.txt git show 6f62f420 -- doc/driver-model/UDM-serial.txt git show b9f4bc34 -- doc/driver-model/UDM-serial.txt to see what I mean. Signed-off-by: NMasahiro Yamada <yamada.m@jp.panasonic.com>
-
由 Bo Shen 提交于
Nowhere pass a value to len, which always 0, make no transfer which cause uploading failed. This patch make nand upload working. However it needs enough malloc buffer to store read data, that means the buffer at least equal to the upload partition size, or else it doesn't work. Signed-off-by: NBo Shen <voice.shen@atmel.com>
-
由 Heiko Schocher 提交于
add the possibility to set the iSerialNumber board specific. Default value for iSerialNumber is 0x0. This value can changed board specific through the new function g_dnl_set_serialnumber() which must be called from the board specific function g_dnl_bind_fixup(). Signed-off-by: NHeiko 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> Tested-by: NLukasz Majewski <l.majewski@samsung.com>
-
由 Bo Shen 提交于
After dfu buffer is initialized, the buffer should be all available, while not 0. Initialize its value to min(dfu_buf_size, dfu->r_left). Signed-off-by: NBo Shen <voice.shen@atmel.com> Tested-by: NLukasz Majewski <l.majewski@samsung.com> Acked-by: NLukasz Majewski <l.majewski@samsung.com>
-
由 Bo Shen 提交于
The value of dfu->r_left need decrease along with the transfer Signed-off-by: NBo Shen <voice.shen@atmel.com>
-
由 Mateusz Kulikowski 提交于
submit_common_msg should report amount of data passed from/to device. Instead, it always returned size requested by Host. Signed-off-by: NMateusz Kulikowski <mateusz.kulikowski@gmail.com>
-
由 Przemyslaw Marczak 提交于
This patch allows exiting from UMS mode to u-boot prompt by detaching usb cable or by pressing ctrl+c. Add new config: CONFIG_USB_CABLE_CHECK. If defined then board file should provide function: usb_cable_connected() (include/usb.h) that return 1 if cable is connected and 0 otherwise. Changes v2: - add a note to the README Signed-off-by: NPrzemyslaw Marczak <p.marczak@samsung.com> Cc: Marek Vasut <marex@denx.de>
-
由 Przemyslaw Marczak 提交于
UMS init was implemented in trats board file but mostly it comprises common code. Due to that it has been moved to common/ums.c to avoid code duplication in the future. Changes: - move ums initialization code from trats to common/ums.c - remove unused CONFIG_USB_GADGET_MASS_STORAGE from trats.h Changes v2: - move this patch at the top of code cleanups patches Signed-off-by: NPrzemyslaw Marczak <p.marczak@samsung.com> Cc: Marek Vasut <marex@denx.de> Cc: Minkyu Kang <mk7.kang@samsung.com>
-
由 Przemyslaw Marczak 提交于
This patch prevents: - ums disk capacity miscalculation because of integer overflow Changes v2: - Prevents passing zero size disk capacity to ums gadget driver - Change function ums_get_capacity() to ums_disk_init() and do ums disk initialization before gadget init - Remove unnecessary code from mass storage driver Signed-off-by: NPrzemyslaw Marczak <p.marczak@samsung.com> Cc: Marek Vasut <marex@denx.de>
-
由 Przemyslaw Marczak 提交于
Before this change ums command only allowed use of mmc 0. Now this argument can be set. Changes: - remove mmc device number checking because it is always positive number - remove printing "no such device" - it is done by find_mmc_device() Change-Id: I767e45151ad515c7bef19e6c13087374f5e23c11 Signed-off-by: NPrzemyslaw Marczak <p.marczak@samsung.com> Cc: Marek Vasut <marex@denx.de>
-
由 Przemyslaw Marczak 提交于
This patch introduces some cleanups to ums code. Changes: ums common: - introduce UMS_START_SECTOR and UMS_NUM_SECTORS as defined in usb_mass_storage.h both default values as 0 if board config doesn't define them common cleanup changes: - change name of struct "ums_board_info" to "ums" - "ums_device" fields are moved to struct ums and "dev_num" is removed - change function name: board_ums_init to ums_init - remove "extern" prefixes from usb_mass_storage.h cmd_usb_mass_storage: - change error() to printf() if need to print info message - change return values to command_ret_t type at ums command code - add command usage string Changes v2: ums common: - always returns number of read/write sectors - coding style clean-up ums gadget: - calculate amount of read/write from device returned value. Signed-off-by: NPrzemyslaw Marczak <p.marczak@samsung.com> Cc: Marek Vasut <marek.vasut@gmail.com>
-
- 08 11月, 2013 1 次提交
-
-
由 Igor Grinberg 提交于
There is no CONFIG_PCA953X_INFO symbol. U-Boot uses CONFIG_CMD_PCA953X_INFO instead, which is described in "Monitor Functions" section and thus no need to be repeated in the "GPIO Support" section. Remove the whole line. Signed-off-by: NIgor Grinberg <grinberg@compulab.co.il>
-