- 01 3月, 2013 13 次提交
-
-
由 Simon Glass 提交于
Use setenv_ulong(), setenv_hex() and setenv_addr() in common/ Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
We might as well use this common function instead of repeating the same code. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
Use a ulong for the command arguments, and only cast to an address when needed. This fixes warnings in sandbox where pointers are typically 64 bits long. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
If we get a Ctrl-C abort, we always print a newline. Move this repeated code out of the functions and into a single place in the caller. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
Some of the inner loops are not indented correctly. Fix this. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
The iteration code is the same for each version of the memory test, so pull it out into the common function. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
Half of the code is currently hidden behind an #ifdef. Move the two memory tests into their own functions and use the compiler to eliminate the unused code. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
Sandbox wants to support commands which use memory. The map_sysmen() call provides this feature, so use this in the memory commands. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
Sandbox doesn't actually provide U-Boot access to the machine's physical memory. Instead it provides a RAM buffer of configurable size, and all memory accesses are within that buffer. Sandbox memory starts at 0 and is CONFIG_DRAM_SIZE bytes in size. Allowing access outside this buffer might produce unpredictable results in the event of an error, and would expose the host machine's memory architecture to the sandbox U-Boot. Most U-Boot functions assume that they can just access memory at given address. For sandbox this is not true. Add a map_sysmem() call which converts a U-Boot address to a system address. In most cases this is a NOP, but for sandbox it returns a pointer to that memory inside the RAM buffer. To get a U-Boot feature to work correctly within sandbox, you should call map_sysmem() to get a pointer to the address, and then use that address for any U-Boot memory accesses. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Taylor Hutt 提交于
Implements the tstc() interface for the serial driver. Multiplexing the console between the serial port and a keyboard uses a polling method of checking if characters are available; this means that the serial console must be non-blocking when attempting to read characters. Signed-off-by: NTaylor Hutt <thutt@chromium.org> Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
The buffer cannot be changed by this function, so change the buffer pointer to a const. This allows callers with const pointer to use the function without a cast. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
There are two problems: 1. The argument count needs to be checked before argv is used 2. When verify is not enabled, we need to define a constant zero value Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Allen Martin 提交于
Add back return statement to fix compiler warning about control flow reaching end of non void function that was introduced with: e05e5de7 arm: move C runtime setup code in crt0.S Signed-off-by: NAllen Martin <amartin@nvidia.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
- 23 2月, 2013 5 次提交
-
-
由 Phil Sutter 提交于
Calculating the checksum of incompletely read data is useless. Signed-off-by: NPhil Sutter <phil.sutter@viprinet.com> [scottwood@freescale.com: minor formatting fix] Signed-off-by: NScott Wood <scottwood@freescale.com>
-
由 Phil Sutter 提交于
The single message is misleading, since there is no equivalent success note when reading the other copy succeeds. Instead, warn if one of the redundant copies could not be loaded and emphasise on the error when reading both fails. Signed-off-by: NPhil Sutter <phil.sutter@viprinet.com>
-
由 Joe Hershberger 提交于
If the NAND is locked tight, commands such as lock and unlock will not work, but the NAND chip may not report an error. Check the lock tight status before attempting such operations so that an error status can be reported if we know the operation will not succeed. Signed-off-by: NJoe Hershberger <joe.hershberger@ni.com>
-
由 Harvey Chapman 提交于
"nand read.part addr off size" would be treated as "nand read.raw addr off 1" It now fails as intended stating "Unknown nand command suffix '.part'" Signed-off-by: NHarvey Chapman <hchapman@3gfp.com>
-
由 Vipin Kumar 提交于
This patch adds support to list images in NAND flash through imls Signed-off-by: NVipin Kumar <vipin.kumar@st.com>
-
- 20 2月, 2013 12 次提交
-
-
由 Allen Martin 提交于
Add support for per architecture CROSS_COMPILE toolchain definitions via CROSS_COMPILE_ARCH where "ARCH" is any of the supported u-boot architectures. This allows building every supported u-boot board in a single pass of MAKEALL. Signed-off-by: NAllen Martin <amartin@nvidia.com> Acked-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NStephen Warren <swarren@wwwdotorg.org>
-
由 Piotr Wilczek 提交于
Currently, in gpt command, partion size is converted from string to unsigned long type using 'ustrtol' function. That type limits the partition size to 4GB. This patch changes the conversion function to 'ustrtoll' to return unsigned long long type. Signed-off-by: NPiotr Wilczek <p.wilczek@samsung.com> Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
-
The issue got introduced in a cleanup by Manjunath Hadli in commit 826e9913. The eth_getenv_enetaddr_by_index method will validate the MAC addr and if none is set in the environment 0 will be returned. Set the MAC from the eeprom if no valid address is found in environment. Signed-off-by: NHolger Hans Peter Freyther <holger@freyther.de>
-
u-boot is not consistent if state should be 0|1 or of the enum, the GPIO driver expects this to be one of the enum values. Update the caller. Signed-off-by: NHolger Hans Peter Freyther <holger@freyther.de>
-
The differences include the number of GPIOs and that one is not required to set the pinmux on request. Signed-off-by: NHolger Hans Peter Freyther <holger@freyther.de>
-
由 Reinhard Arlt 提交于
Fix broken bootvx command. Signed-off-by: NReinhard Arlt <reinhard.arlt@esd.eu>
-
由 Robert P. J. Day 提交于
Signed-off-by: NRobert P. J. Day <rpjday@crashcourse.ca>
-
由 Robert P. J. Day 提交于
Signed-off-by: NRobert P. J. Day <rpjday@crashcourse.ca>
-
由 Robert P. J. Day 提交于
Fix a comment in the fw_env.config file, no functional change. Signed-off-by: NRobert P. J. Day <rpjday@crashcourse.ca>
-
由 Piotr Wilczek 提交于
Add 'ustrtoull' function to convert size from string (ex: 1GiB) to unsigned long long type Signed-off-by: NPiotr Wilczek <p.wilczek@samsung.com> Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
-
由 Gabor Juhos 提交于
On architectures where manual relocation is needed, the 'malloc_bin_reloc' function must be called after 'mem_malloc_init'. Make the 'malloc_bin_reloc' function static and call it directly from 'mem_malloc_init' instead of calling that from board_init_{r,f} functions of the affected architectures. Signed-off-by: NGabor Juhos <juhosg@openwrt.org> Cc: Wolfgang Denk <wd@denx.de> Cc: Andreas Bießmann <andreas.devel@gmail.com> Cc: Jason Jin <Jason.jin@freescale.com> Cc: Macpaul Lin <macpaul@andestech.com> Cc: Daniel Hellstrom <daniel@gaisler.com> Cc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
-
由 Scott Wood 提交于
This saved 640 bytes on MPC8536DS (a board with two of the six ports defined). Signed-off-by: NScott Wood <scottwood@freescale.com>
-
- 18 2月, 2013 2 次提交
-
-
-
由 Simon Glass 提交于
This is available on other architectures, and nds32 will start to break without it as code starts to use error numbers more. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 16 2月, 2013 8 次提交
-
-
由 Holger Brunck 提交于
There is no need for a environment variable to configure the dtt bus. Signed-off-by: NHolger Brunck <holger.brunck@keymile.com>
-
由 Holger Brunck 提交于
Remove it from the processor specific headers. This is already defined in the common header km83xx.h. Signed-off-by: NHolger Brunck <holger.brunck@keymile.com>
-
由 Holger Brunck 提交于
This board is similar to TUXX1 but it has a different sized second FPGA. Therefore the configuration for the third chipselect is different. Signed-off-by: NHolger Brunck <holger.brunck@keymile.com>
-
由 Holger Brunck 提交于
This is a preparation for the upcoming kmopti2 board. This board has also a second fpga on board which is different to the tuxx1 target. But we want to use the same header file. So remove the config option KM_DISABLE_APP2 and simply use the board names to distinguish the features. Signed-off-by: NHolger Brunck <holger.brunck@keymile.com>
-
由 Holger Brunck 提交于
If CONFIG_NAND_ECC_BCH is chosen from in the board configuration we add an ecc mode to the kernel commandline. Signed-off-by: NHolger Brunck <holger.brunck@keymile.com>
-
由 Holger Brunck 提交于
Switch from 1-bit ecc to 4-bit ecc. Signed-off-by: NHolger Brunck <holger.brunck@keymile.com>
-
由 Holger Brunck 提交于
If CONFIG_NAND_ECC_BCH is set we use 4-bit error corretion code instead of the 1-bit error correction code on the NAND device within this driver. Signed-off-by: NHolger Brunck <holger.brunck@keymile.com> Acked-by: NScott Wood <scottwood@freescale.com>
-
由 Andreas Huber 提交于
Replace uImage with ${uimage}. If uimage is not set, default it to uImage. Signed-off-by: NAndreas Huber <andreas.huber@keymile.com> Signed-off-by: NHolger Brunck <holger.brunck@keymile.com>
-