- Oct 26, 2011
-
-
Simon Glass authored
This is a better name for this protocol. Also remove the typedef to keep checkpatch happy, and move zeroing of NetBootFileXferSize a little earlier since TFTPPUT will need to change this. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
ICMP packets can tell you when there is no server at the other end. It is useful for tftp to figure this out, so that a quick error can be displayed, rather than pointlessly retrying. This adds an ICMP packet handler to the net interface. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
It seems we put numbers and addresses into environment variables a lot. We should have some functions to do this. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This function is generally useful and shouldn't hide away in hush. It has been moved as is. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Joachim Foerster authored
Signed-off-by:
Joachim Foerster <joachim.foerster@missinglinkelectronics.com>
-
- Oct 25, 2011
-
-
Anton staaf authored
Signed-off-by:
Anton Staaf <robotboy@chromium.org> Cc: Tom Warren <twarren.nvidia@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Mike Frysinger <vapier@gentoo.org> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net> Change-Id: I5c4bcfc0bfe59158ff249fe3be6640eec6d3cc76 Acked-by:
Mike Frysinger <vapier@gentoo.org>
-
Anton staaf authored
This macro is used to allocate cache line size aligned stack buffers for use with DMA hardware. Signed-off-by:
Anton Staaf <robotboy@chromium.org> Cc: Lukasz Majewski <l.majewski@samsung.com> Cc: Kyungmin Park <kyungmin.park@samsung.com> Cc: Mike Frysinger <vapier@gentoo.org> Cc: Aneesh V <aneesh@ti.com> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net> Cc: Wolfgang Denk <wd@denx.de>
-
- Oct 24, 2011
-
-
Wolfgang Denk authored
This reverts commit a2da6163. THis was applied by accident - a more recent version of this change was already present, see commit 9400f8fa 2011-10-05 22:03:11 +0200 km_arm: enable POST for these boards Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
- Oct 23, 2011
-
-
Stefano Babic authored
Some Davinci processors supports the Application Image Script (AIS) boot process. The patch adds the generation of the AIS image inside the mkimage tool to make possible to generate a bootable U-boot without external tools (TI Davinci AIS Generator). Signed-off-by:
Stefano Babic <sbabic@denx.de> CC: Wolfgang Denk <wd@denx.de>
-
Mike Frysinger authored
Only one board uses this driver (ns9750dev), but the board doesn't seem to have an entry to actually build it in the Makefile/boards.cfg, so just delete net support from its board config. Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
Simon Glass authored
This is not an uncommon operation in U-Boot, so let's put it in a common function. Signed-off-by:
Simon Glass <sjg@chromium.org> Acked-by:
Mike Frysinger <vapier@gentoo.org>
-
Michal Simek authored
Init RX/TX ping pong directly from board not in the driver. Signed-off-by:
Michal Simek <monstr@monstr.eu>
-
Michal Simek authored
Baseaddr should be unsigned long. Signed-off-by:
Michal Simek <monstr@monstr.eu>
-
Anton Staaf authored
ARCH_DMA_MINALIGN will be used to allocate DMA buffers that are aligned correctly. In all current cases this means that the DMA buffer will be aligned to at least the L1 data cache line size of the configured architecture. If the board configuration file does not specify the architecture L1 data cache line size then the maximum line size of the architecture is used to align DMA buffers. Signed-off-by:
Anton Staaf <robotboy@chromium.org> Cc: Mike Frysinger <vapier@gentoo.org> Cc: Lukasz Majewski <l.majewski@samsung.com> Cc: Wolfgang Denk <wd@denx.de> Cc: Stefano Babic <sbabic@denx.de> Cc: Ilya Yanok <yanok@emcraft.com> Cc: Laurence Withers <lwithers@guralp.com>
-
Simon Glass authored
This removes most checkpatch warnings from the ns16550 driver and its header. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
- Oct 21, 2011
-
-
Dirk Eibach authored
Our boards rely on dtt for initialization of fan hardware. dtt_init() was implemented to be called form board specific code. Signed-off-by:
Dirk Eibach <eibach@gdsys.de> Acked-by:
Heiko Schocher <hs@denx.de> Tested-by:
Heiko Schocher <hs@denx.de>
-
Joe Hershberger authored
Remove MK_STR from places that consume CONFIG_BOOTFILE to force all definitions to be string literals. Signed-off-by:
Joe Hershberger <joe.hershberger@ni.com> Cc: Joe Hershberger <joe.hershberger@gmail.com> Cc: Wolfgang Denk <wd@denx.de> Acked-by:
Mike Frysinger <vapier@gentoo.org>
-
Joe Hershberger authored
Remove MK_STR from places that consume CONFIG_ROOTPATH to force all definitions to be string literals. Signed-off-by:
Joe Hershberger <joe.hershberger@ni.com> Cc: Joe Hershberger <joe.hershberger@gmail.com> Cc: Wolfgang Denk <wd@denx.de> Acked-by:
Mike Frysinger <vapier@gentoo.org>
-
Anatolij Gustschin authored
There are several mdelay() definitions in the driver and board code. Remove them all and provide a common mdelay() in lib/time.c. Signed-off-by:
Anatolij Gustschin <agust@denx.de> Acked-by:
Mike Frysinger <vapier@gentoo.org>
-
Stephen Warren authored
This avoids the following checkpatch warning in later patches: ERROR: "(foo*)" should be "(foo *)" ERROR: space required before the open brace '{' ERROR: space prohibited before that close parenthesis ')' ERROR: spaces required around that '||' (ctx:WxV) WARNING: space prohibited between function name and open parenthesis '(' WARNING: line over 80 characters This fixes all the white-space warnings/errors in my subsequent patch, and within this current patch. A number of other checkpatch warnings and errors are still present in this patch itself, but are beyond simple whitespace fixes, so are not solved by this patch. v2: New patch Signed-off-by:
Stephen Warren <swarren@nvidia.com> Tested-by:
Simon Glass <sjg@chromium.org> Tested-by:
Simon Glass <sjg@chromium.org>
-
Tang Yuantian authored
Add the Silicon Image series PCI Express to Serial ATA controller support, including Sil3132, Sil3131 and Sil3124. The SATA controller can be used to load kernel. The features list: - Supports 1-lane 2.5 Gbit/s PCI Express - Supports one/two/four independent Serial ATA channels - Supports Serial ATA Generation 2 transfer rate of 3.0 Gbit/s - Supports LBA28 and LBA48 Signed-off-by:
Tang Yuantian <b29983@freescale.com> Signed-off-by:
Aaron Williams <Aaron.Williams@cavium.com> Tested-by:
Lan Chunhe <b25806@freescale.com>
-
Macpaul Lin authored
Add evaluation board "adp-ag101" configuration file adp-ag101.h. Add adp-ag101.c board config and related settings. Add board adp-ag101 into boards.cfg Signed-off-by:
Macpaul Lin <macpaul@andestech.com>
-
Macpaul Lin authored
Add support of NDS32 to common commands bdinfo, bootm, and image format. Signed-off-by:
Macpaul Lin <macpaul@andestech.com>
-
Macpaul Lin authored
Add NDS32 support into common header file. Signed-off-by:
Macpaul Lin <macpaul@andestech.com>
-
Dirk Eibach authored
Signed-off-by:
Dirk Eibach <eibach@gdsys.de>
-
Gerlando Falauto authored
Signed-off-by:
Gerlando Falauto <gerlando.falauto@keymile.com> Signed-off-by:
Holger Brunck <holger.brunck@keymile.com>
-
Andreas Huber authored
Calucations of PRAM needs to take into account the 'rootfssize'. Memory available to the linux kernel 'mem=' is in all cases set to the total memory size minus the pram size. Signed-off-by:
Andreas Huber <andreas.huber@keymile.com> Signed-off-by:
Holger Brunck <holger.brunck@keymile.com> cc: Wolfgang Denk <wd@denx.de>
-
Valentin Longchamp authored
The current km_arm boards have a Power-On test jumper. When this jumper is set, this triggers some Power-On tests on the board. This patch enables the support of this jumper for starting the memory_regions test when the jumper is set. Signed-off-by:
Valentin Longchamp <valentin.longchamp@keymile.com> Signed-off-by:
Holger Brunck <holger.brunck@keymile.com> Cc: Prafulla Wadaskar <prafulla@marvell.com>
-
- Oct 20, 2011
-
-
Timur Tabi authored
The work-around for P4080 erratum SERDES9 says that the SERDES receiver lanes should be reset after the XAUI starts tranmitting alignment signals. Signed-off-by:
Timur Tabi <timur@freescale.com> Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
- Oct 18, 2011
-
-
stany MARCEL authored
Signed-off-by:
Stany MARCEL <stany.marcel@novasys-ingenierie.com>
-
Shengzhou Liu authored
Add common function fdt_set_node_status() to assist in various locations that we set a nodes status. This function utilizes the status values that are part of the EPAPR spec (on power.org). fdt_set_status_by_alias() is based on fdt_set_node_status() but uses an alias string to identify the node to update. We also add some shortcut functions to help the common cases of setting "okay" and "disabled": fdt_status_okay() fdt_status_disabled() fdt_status_okay_by_alias() fdt_status_disabled_by_alias() Finally, we fixup the corenet_ds ethernet code which previously had a function by the same name that can be replaced with the new helpers. Signed-off-by:
Shengzhou Liu <Shengzhou.Liu@freescale.com> Signed-off-by:
Kumar Gala <galak@kernel.crashing.org> Acked-by:
Gerald Van Baren <vanbaren@cideas.com>
-
Kumar Gala authored
This patch is intended to initialize RMan LIODN related registers on P2041, P304S and P5020 SocS. It also adds the "rman@0" child node to qman-portal nodes, adds "fsl,liodn" property to RMan inbound block nodes. Signed-off-by:
Minghuan Lian <Minghuan.Lian@freescale.com> Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
- Oct 17, 2011
-
-
Simon Glass authored
There is a rather subtle build problem where the build time stamp is not updated for out-of-tree builds if there exists an in-tree build which has a valid timestamp file. So if you do an in-tree build, then an out-of-tree build your timestamp will not change. The correct timestamp_autogenerated.h lives in the object tree, but it is not always found there. The source still lives in the source tree and when compiling version.h, it includes timestamp_autogenerated.h. Since the current directory is always searched first, this will come from the source tree rather than the object tree if it exists there. This affects dependency generation also, which means that common/cmd_version.o will not even be rebuilt if you have ever done an in-tree build. A similar problem exists with the version file. This change moves both files into the 'generated' subdir, which is already used for asm-offsets.h. Then timestamp.h and version.h are updated to include the files from there. There are other places where these generated files are included, but I cannot see why these don't just use the timestamp.h and version.h headers. So this change also tidies that up. I have tested this with in- and out-of-tree builds, but not SPL. I have looked at various other options for fixing this, including sed on the dep files, -I- and -include flags to gcc, but I don't think they can be made to work. Comments welcome. Signed-off-by:
Simon Glass <sjg@chromium.org> Acked-by:
Mike Frysinger <vapier@gentoo.org>
-
Simon Glass authored
Since we want want to have a standard GPIO interface, this adds a definition for this into include/asm-generic/gpio.h. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This basic provides required features along with a basic command set. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
We want to keep all OS-dependent code in once place, with a simple interface to U-Boot. For now, this is that place. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
By default sections are 16-byte aligned on some architectures, but the command name structure (struct cmd_tbl_s) does not have padding to 16 bytes. This reduces the alignment to 4-bytes so that the command table can be accessed correctly on any architecture. (Note: this needs doing properly) Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This sets __WORDSIZE to 8 correctly on 64-bit machines. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
We won't actually load an image with this architecture, but we still need to define it. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This adds required header files for the sandbox architecture, and a basic description of what sandbox is (README.sandbox). Signed-off-by:
Simon Glass <sjg@chromium.org>
-