- Oct 24, 2011
-
-
Simon Glass authored
Commit dc8bbea0 removed a local variable that is used in most ARM boards. Since we want to avoid an 'unused variable' warning with later compilers, and the #ifdef logic of whether this variable is required is bit painful, this declares the variable local to the block of code that needs it. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Commit 1272592e introduced a warning since the variable 's' is no longer always used, depending on the CONFIG options. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
- Oct 23, 2011
-
-
Bernhard Kaindl authored
The call to run_post(POST_ROM) which can run the POST memory test is currently called too late when gd has already been copied to DRAM. This results in failure to boot Linux after a POST_ROM memory test tested all RAM while gd was already relocated to DRAM due to gd being overwritten by the POST_ROM memory test. Support this by moving the call to run_post(POST_ROM) to run earlier, before U-Boot has started to move data to DRAM (from late board_init_f to early board_init_f) where DRAM is initialized, but not used yet. This allows that an POST memory test can test the whole DRAM, including the area where the board info struct is located. Signed-off-by:
Bernhard Kaindl <bernhard.kaindl@thalesgroup.com> Cc: Pieter Voorthuijsen <pieter.voorthuijsen@prodrive.nl>
-
Simon Glass authored
This changes the board code to use the new getenv_ulong() function. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This changes the board code to use the new getenv_ulong() function. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This changes the board code to use the new getenv_ulong() function. Signed-off-by:
Simon Glass <sjg@chromium.org> Acked-by:
Stefan Roese <sr@denx.de>
-
Simon Glass authored
This changes the board code to use the new getenv_ulong() function. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This changes the board code to use the new getenv_ulong() function. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This changes the board code to use the new getenv_ulong() function. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This changes the board code to use the new getenv_ulong() function. Signed-off-by:
Simon Glass <sjg@chromium.org> Acked-by:
Mike Frysinger <vapier@gentoo.org>
-
Simon Glass authored
This changes the board code to use the new getenv_ulong() function. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This changes the board code to use the new getenv_ulong() function. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Anton Staaf authored
Signed-off-by:
Anton Staaf <robotboy@chromium.org> Cc: Mike Frysinger <vapier@gentoo.org> Cc: Lukasz Majewski <l.majewski@samsung.com> Cc: Graeme Russ <graeme.russ@gmail.com>
-
Anton Staaf authored
Signed-off-by:
Anton Staaf <robotboy@chromium.org> Cc: Mike Frysinger <vapier@gentoo.org> Cc: Lukasz Majewski <l.majewski@samsung.com> Cc: Shinya Kuribayashi <skuribay@pobox.com>
-
Anton Staaf authored
Signed-off-by:
Anton Staaf <robotboy@chromium.org> Cc: Mike Frysinger <vapier@gentoo.org> Cc: Lukasz Majewski <l.majewski@samsung.com> Cc: Michal Simek <monstr@monstr.eu>
-
Anton Staaf authored
Signed-off-by:
Anton Staaf <robotboy@chromium.org> Cc: Mike Frysinger <vapier@gentoo.org> Cc: Lukasz Majewski <l.majewski@samsung.com> Cc: Reinhard Meyer <u-boot@emk-elektronik.de>
-
Anton Staaf authored
Signed-off-by:
Anton Staaf <robotboy@chromium.org> Cc: Mike Frysinger <vapier@gentoo.org> Cc: Lukasz Majewski <l.majewski@samsung.com> Cc: Daniel Hellstrom <daniel@gaisler.com>
-
Anton Staaf authored
Signed-off-by:
Anton Staaf <robotboy@chromium.org> Cc: Mike Frysinger <vapier@gentoo.org> Cc: Lukasz Majewski <l.majewski@samsung.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
-
Anton Staaf authored
Signed-off-by:
Anton Staaf <robotboy@chromium.org> Acked-by:
Stefan Roese <sr@denx.de> Cc: Mike Frysinger <vapier@gentoo.org> Cc: Lukasz Majewski <l.majewski@samsung.com> Cc: Wolfgang Denk <wd@denx.de> Cc: Stefan Roese <sr@denx.de>
-
Anton Staaf authored
Signed-off-by:
Anton Staaf <robotboy@chromium.org> Cc: Mike Frysinger <vapier@gentoo.org> Cc: Lukasz Majewski <l.majewski@samsung.com> Cc: Scott McNutt <smcnutt@psyent.com>
-
Anton Staaf authored
Signed-off-by:
Anton Staaf <robotboy@chromium.org> Cc: Mike Frysinger <vapier@gentoo.org> Cc: Lukasz Majewski <l.majewski@samsung.com> Cc: Jason Jin <jason.jin@freescale.com>
-
Anton Staaf authored
Signed-off-by:
Anton Staaf <robotboy@chromium.org> Cc: Mike Frysinger <vapier@gentoo.org> Cc: Lukasz Majewski <l.majewski@samsung.com> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
-
- Oct 21, 2011
-
-
Mike Frysinger authored
Seems people fixed their files to use libfoo.o, but didn't actually update the creation targets to use $(cmd_link_o_target). Update the rest of the Makefile's found with grep. Signed-off-by:
Mike Frysinger <vapier@gentoo.org> Tested-by:
Simon Glass <sjg@chromium.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>
-
Macpaul Lin authored
Add Makefile, board.c, interrupts.c and bootm.c functions to nds32 architecture. Signed-off-by:
Macpaul Lin <macpaul@andestech.com>
-
Macpaul Lin authored
SoC ag101 is the first chip using NDS32 N1213 cpu core. Add header file of device offset support for SoC ag101. Add main function of SoC ag101 based on NDS32 n1213 core. Add lowlevel_init.S and other periphal related code. This version of lowlevel_init.S also replace hardcode value by MARCO defines from the GPL version andesboot for better code quality. Signed-off-by:
Macpaul Lin <macpaul@andestech.com>
-
Macpaul Lin authored
Add N1213 cpu core (N12 Core family) support for NDS32 arch. This patch includes start.S for the initialize procedure of N1213. Start procedure: start.S will start up the N1213 CPU core at first, then jump to SoC dependent "lowlevel_init.S" and "watchdog.S" to configure peripheral devices. Signed-off-by:
Macpaul Lin <macpaul@andestech.com> Signed-off-by:
Greentime Hu <greentime@andestech.com>
-
Macpaul Lin authored
Add generic header files support for nds32 architecture. Cache, ptregs, data type and other definitions are included. Signed-off-by:
Macpaul Lin <macpaul@andestech.com>
-
Kyle Moffett authored
To ease the implementation of other MPC85xx board ports, several common GPIO helpers are added to <asm/mpc85xx_gpio.h>. Since each of these compiles to no more than 4-5 instructions it would be very inefficient to call them out of line, therefore we put them entirely in the header file. The HWW-1U-1A board port which these were written for strongly prefers to set multiple GPIOs as a single batch operation, so the API is designed around that basis. To assist other board ports, a small set of wrappers are used which provides a standard gpio_request() interface around the MPC85xx-specific functions. This can be enabled with CONFIG_MPC85XX_GENERIC_GPIO Signed-off-by:
Kyle Moffett <Kyle.D.Moffett@boeing.com> Cc: Andy Fleming <afleming@gmail.com> Cc: Peter Tyser <ptyser@xes-inc.com> Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
- 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
Missing $(obj) prevented the build of ColdFire boards in a directory than sources Signed-off-by:
Stany MARCEL <stany.marcel@novasys-ingenierie.com>
-
Shengzhou Liu authored
For P3060 and P4080, USB pins are multiplexed with other functions. Update the device tree status for USB ports based on setting of RCW[EC1] & RCW[EC2] which describe if pins are muxed to usb. Signed-off-by:
Shengzhou Liu <Shengzhou.Liu@freescale.com> Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
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>
-
Kumar Gala authored
Update device tree handling for SRIO controller to support updated fsl,srio device tree binding. We handle disabling of individual ports, the whole controller, RMU, and RMAN. Additionally, we setup the SRIO related LIODNs in the device tree. Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Kumar Gala authored
Properly set the LIODN values associated with SRIO controller. On P4080/P3060 we have an LIODN per port and one for the RMU. On P2041/P3041/P5020 we have 2 LIODNs per port. Update the tables for all of these devices to properly handle both styles. 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
Add a main program so that we can run U-Boot. 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
These files are taken from the ARM board implementation and then reduced to remove unneeded cruft. Ideally we would work towards unifying arch/xxx/lib files, particularly board.c. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This is an initial implementation with all functions defined but not working. The lds file is very simple since we can mostly rely on the linker defaults. Signed-off-by:
Simon Glass <sjg@chromium.org>
-