- Oct 21, 2011
-
-
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>
-
Jason Hobbs authored
Signed-off-by:
Jason Hobbs <jason.hobbs@calxeda.com> Cc: Matt Waddel <matt.waddel@linaro.org>
-
Jason Hobbs authored
Signed-off-by:
Jason Hobbs <jason.hobbs@calxeda.com> Cc: Matt Waddel <matt.waddel@linaro.org>
-
Jason Hobbs authored
Signed-off-by:
Jason Hobbs <jason.hobbs@calxeda.com> Cc: Matt Waddel <matt.waddel@linaro.org>
-
Jason Hobbs authored
Add pxe command, which is intended to mimic PXELINUX functionality. 'pxe get' uses tftp to retrieve a file based on UUID, MAC address or IP address. 'pxe boot' interprets the contents of PXELINUX config like file to boot using a specific initrd, kernel and kernel command line. This patch also adds a README.pxe file - see it for more details on the pxe command. Signed-off-by:
Jason Hobbs <jason.hobbs@calxeda.com>
-
Jason Hobbs authored
Signed-off-by:
Jason Hobbs <jason.hobbs@calxeda.com>
-
Jason Hobbs authored
Existing ctype checks are implemented using a 256 byte lookup table, allowing each character to be in any of 8 character classes. Since there are 8 existing character classes without the blank class, I implemented isblank without using the lookup table. Since there are only two blank characters - tab and space - this is a more reasonable approach than doubling the size of the lookup table to accommodate one more class. Signed-off-by:
Jason Hobbs <jason.hobbs@calxeda.com>
-
Jason Hobbs authored
Signed-off-by:
Jason Hobbs <jason.hobbs@calxeda.com> Cc: Mike Frysinger <vapier@gentoo.org> Acked-by:
Mike Frysinger <vapier@gentoo.org>
-
Jason Hobbs authored
Signed-off-by:
Jason Hobbs <jason.hobbs@calxeda.com>
-
Jason Hobbs authored
This will be used first by the pxe code, but is intended to be generic and reusable for other jobs in U-boot. Signed-off-by:
Jason Hobbs <jason.hobbs@calxeda.com>
-
Helmut Raiger authored
mx3fb.c was based on CONFIG_LCD and is moved by this patch to CONFIG_VIDEO, which has greater freedom in selecting videomodes even at runtime. This renders the accumulating list of display defines (CONFIG_DISPLAY_VBEST..., CONFIG_DISPLAY_C057...) obsolete as these may be setup through env variables: uboot> setenv mydisplay 'video=ctfb:x:240,y:320,depth:16,mode:0,pclk:185925, le:9,ri:17,up:7,lo:10,hs:1,vs:1,sync:100663296,vmode:0' uboot> setenv videomode ${mydisplay} This commit also fixes the board config files for qong and imx31_phycore boards as needed. The videomode settings of previously supported displays are added to CONFIG_EXTRA_ENV_SETTINGS now. CONFIG_SYS_MALLOC_LEN for imx31_phycore board is increased to make the frame buffer allocation working with the changed driver. Signed-off-by:
Helmut Raiger <helmut.raiger@hale.at> Signed-off-by:
Anatolij Gustschin <agust@denx.de> Cc: Stefano Babic <sbabic@denx.de>
-
Marek Vasut authored
Signed-off-by:
Marek Vasut <marek.vasut@gmail.com> Signed-off-by:
Stefano Babic <sbabic@denx.de> Tested-by:
Stefano Babic <sbabic@denx.de> Signed-off-by:
Anatolij Gustschin <agust@denx.de>
-
Stefano Babic authored
Pixel format defines must be available for boards to set up the right display. Move them and export in a new file. Signed-off-by:
Stefano Babic <sbabic@denx.de> CC: Anatolij Gustschin <agust@denx.de> CC: Marek Vasut <marek.vasut@gmail.com> Tested-by:
Stefano Babic <sbabic@denx.de> Signed-off-by:
Anatolij Gustschin <agust@denx.de>
-
Stefano Babic authored
The framebuffer driver for MX5 is based on CONFIG_LCD. In the current implementation, there is a serious bug because the required memory is allocated before relocation, but the driver knows only later which is the resolution of the display. The patch switches the driver to CONFIG_VIDEO and the memory is allocated by the driver itself. We also need to switch the vision2 board code and config file in the same commit so that this commit will be bisectable. Signed-off-by:
Stefano Babic <sbabic@denx.de> CC: Anatolij Gustschin <agust@denx.de> Tested-by:
Stefano Babic <sbabic@denx.de> Signed-off-by:
Anatolij Gustschin <agust@denx.de>
-
Mike Frysinger authored
In the recent dropping of !NET_MULTI code (commit e2a53458), I misread the logic in include/net.h. Some of it was used by NET_MULTI code as glue between the multi/non-multi worlds for cpm2 boards. Rather than restore the block of code, push the logic to the board config headers where it all belongs. Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
- Oct 15, 2011
-
-
Mike Frysinger authored
No code defines or calls this, so drop the prototype. Signed-off-by:
Mike Frysinger <vapier@gentoo.org> Acked-by:
Simon Glass <sjg@chromium.org>
-
Anatolij Gustschin authored
A delay of approximately 250 ms after PCI bus reset in pci_mpc5xxx_init() is needed to recognize the Coral-PA controller on the graphic extention board. Signed-off-by:
Anatolij Gustschin <agust@denx.de> Acked-by:
Detlev Zundel <dzu@denx.de>
-
Michal Simek authored
Add axi_ethernet driver for little-endian Microblaze. RX/TX BDs and rxframe buffer are shared among all axi_ethernet MACs. Only one MAC can work in one time. Signed-off-by:
Michal Simek <monstr@monstr.eu> Acked-by:
Mike Frysinger <vapier@gentoo.org>
-
Timur Tabi authored
fdt_create_phandle() was ignoring errors from fdt_set_phandle(). If an error occurs, print an error message and return 0, which is an invalid phandle. We also need to change the return type for fdt_create_phandle() to indicate that it cannot return an error code. Signed-off-by:
Timur Tabi <timur@freescale.com>
-
Chunhe Lan authored
The do_fixup_by_path_string() will set the specified node's property to the value contained in "status". It would just be an inline wrapper for do_fixup_by_path() that calls strlen on the argument. Signed-off-by:
Chunhe Lan <Chunhe.Lan@freescale.com>
-
- Oct 14, 2011
-
-
Kumar Gala authored
With older compilers (gcc-4.2.x) we run into issues that resulting image is too large. We can save a bunch of space by removing the video support. In general video support on these boards is a nice to have since it requires a PCIe add-on card. Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
chenhui zhao authored
Signed-off-by:
Zhao Chenhui <chenhui.zhao@freescale.com> Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
chenhui zhao authored
- Rework tlb and law tables. - PCI2 is not available on MPC8548CDS, so remove it. - Move the memory map to the board config file. - Rewrite the board info according to the manual. - Remove unnecessary macros and redefine some macros to align with other boards. - Fix some typos. Signed-off-by:
Zhao Chenhui <chenhui.zhao@freescale.com> Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
- Oct 13, 2011
-
-
Helmut Raiger authored
mx3fb.c was based on CONFIG_LCD and is moved by this patch to CONFIG_VIDEO, which has greater freedom in selecting videomodes even at runtime. This renders the accumulating list of display defines (CONFIG_DISPLAY_VBEST..., CONFIG_DISPLAY_C057...) obsolete as these may be setup through env variables: uboot> setenv mydisplay 'video=ctfb:x:240,y:320,depth:16,mode:0,pclk:185925, le:9,ri:17,up:7,lo:10,hs:1,vs:1,sync:100663296,vmode:0' uboot> setenv videomode ${mydisplay} This commit also fixes the board config files for qong and imx31_phycore boards as needed. The videomode settings of previously supported displays are added to CONFIG_EXTRA_ENV_SETTINGS now. CONFIG_SYS_MALLOC_LEN for imx31_phycore board is increased to make the frame buffer allocation working with the changed driver. Signed-off-by:
Helmut Raiger <helmut.raiger@hale.at> Signed-off-by:
Anatolij Gustschin <agust@denx.de> Cc: Stefano Babic <sbabic@denx.de>
-
Marek Vasut authored
Signed-off-by:
Marek Vasut <marek.vasut@gmail.com> Signed-off-by:
Stefano Babic <sbabic@denx.de> Tested-by:
Stefano Babic <sbabic@denx.de> Signed-off-by:
Anatolij Gustschin <agust@denx.de>
-