- Jun 26, 2008
-
-
Haavard Skinnemoen authored
When compile-testing on powerpc, I get errors like this: net/nfs.c:422: undefined reference to `__stack_chk_fail_local' This seems to be because -fstack-protector is on by default, so let's explicitly disable it on all architectures that support the option. The Ubuntu toolchain is affected by this problem, and according to Mike Frysinger, Gentoo has been running with SSP enabled for years. More and more distros are turning SSP on by default, so this problem is likely to get worse in the future. Also, powerpc just happens to be one of the arches I do compile-testing on. There may be other arches affected by this too. Signed-off-by:
Haavard Skinnemoen <hskinnemoen@atmel.com>
-
Jean-Christophe PLAGNIOL-VILLARD authored
Signed-off-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
Jean-Christophe PLAGNIOL-VILLARD authored
Signed-off-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
Jean-Christophe PLAGNIOL-VILLARD authored
Signed-off-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
- Jun 19, 2008
-
-
Wolfgang Grandegger authored
This patch is based on the following patch sent a few minutes ago: "NAND FSL UPM: driver re-write using the hwcontrol callback" It is untested, of course. Anton, could you please give it a try. Signed-off-by:
Wolfgang Grandegger <wg@grandegger.com> Acked-by:
Anton Vorontsov <avorontsov@ru.mvista.com>
-
Anatolij Gustschin authored
Building for 4xx doesn't work since commit 4dbdb768: In file included from 4xx_pcie.c:28: include/asm/processor.h:971: error: expected ')' before 'ver' make[1]: *** [4xx_pcie.o] Error 1 This patch fixes the problem. Signed-off-by:
Anatolij Gustschin <agust@denx.de> Acked-by:
Stefan Roese <sr@denx.de> Acked-by:
Kumar Gala <galak@kernel.crashing.org>
-
Stefan Roese authored
This patch simplifies flash_toggle() (AMD commandset), which is used to detect if a FLASH device is still busy with erase/program operations. On 800MHz Canyonlands/Glacier boards (460EX/GT) the current implementation did not detect the busy state reliably, resulting in non erased sectors etc. This patch now simplifies this function by "just" comparing the complete data-word instead of ANDing it with the command-word (0x40) before the compatison. It is done the same way in the Linux implementation chip_ready() in cfi_cmdset_0002.c. Signed-off-by:
Stefan Roese <sr@denx.de>
- Jun 16, 2008
-
-
Philip Balister authored
Signed-off-by:
Scott Wood <scottwood@freescale.com>
-
- Jun 12, 2008
-
-
Wolfgang Grandegger authored
Signed-off-by:
Wolfgang Grandegger <wg@grandegger.com> Acked-by:
Anton Vorontsov <avorontsov@ru.mvista.com> Signed-off-by:
Scott Wood <scottwood@freescale.com>
-
Stefan Roese authored
This patch disables the square wave output of the M41T62 RTC used on Canyonlands & Glacier. Here the explanation: The serial real-time clock part used in the design is an STMicro M41T62. This part has a full-time 32KHz square wave output that is connected to the TmrClk input to the processor. The default state for this square wave output is enabled so the output runs continuously when the board is powered normally and also from the battery. The TmrClk input to the processor goes to ground when the power is removed from the board/processor, and therefore the running square wave output is driving ground which drains the battery quickly. Signed-off-by:
Stefan Roese <sr@denx.de>
-
Andy Fleming authored
This commit: commit 338cc038 Author: Wolfgang Denk <wd@denx.de> Date: Fri Jun 6 14:28:14 2008 +0200 tools/mkimage: fix compiler warnings on some systems. Broke building on some systems, because the host's string.h was interfering with u-boot's linux/string.h. It doesn't look like we need the u-boot one if we're building for the host, so now we only include when building inside u-boot. Signed-off-by:
Andy Fleming <afleming@freescale.com>
-
Becky Bruce authored
This patch changes the return type of initdram() from long int to phys_size_t. This is required for a couple of reasons: long int limits the amount of dram to 2GB, and u-boot in general is moving over to phys_size_t to represent the size of physical memory. phys_size_t is defined as an unsigned long on almost all current platforms. This patch *only* changes the return type of the initdram function (in include/common.h, as well as in each board's implementation of initdram). It does not actually modify the code inside the function on any of the platforms; platforms which wish to support more than 2GB of DRAM will need to modify their initdram() function code. Build tested with MAKEALL for ppc, arm, mips, mips-el. Booted on powerpc MPC8641HPCN. Signed-off-by:
Becky Bruce <becky.bruce@freescale.com>
-
- Jun 11, 2008
-
-
Becky Bruce authored
This updates the lmb code to use phys_size_t and phys_addr_t instead of unsigned long. Other code which interacts with this code, like getenv_bootm_size() is also updated. Booted on MPC8641HPCN, build-tested ppc, arm, mips. Signed-off-by:
Becky Bruce <becky.bruce@freescale.com>
-
Becky Bruce authored
Signed-off-by:
Becky Bruce <becky.bruce@freescale.com>
-
Becky Bruce authored
Currently, both are defined as an unsigned long, but should be phys_size_t. This should result in no real change, since phys_size_t is currently an unsigned long for all the default configs. Also add print_lnum to cmd_bdinfo to deal with the potentially wider memsize. Signed-off-by:
Becky Bruce <becky.bruce@freescale.com>
-
git://www.denx.de/git/u-boot-mpc85xxWolfgang Denk authored
Conflicts: include/asm-ppc/fsl_lbc.h Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
Kumar Gala authored
LAWs have the concept of priority so its useful to be able to allocate the lowest (highest number) priority. We will end up using this with the new DDR code. Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Kumar Gala authored
With the new LAW interface (set_next_law) we can move to letting the system allocate which LAWs are used for what purpose. This makes life a bit easier going forward with the new DDR code. Signed-off-by:
Kumar Gala <galak@kernel.crashing.org> Signed-off-by:
Andy Fleming <afleming@freescale.com> Acked-by:
Jon Loeliger <jdl@freescale.com> Acked-by:
Becky Bruce <becky.bruce@freescale.com>
-
Kumar Gala authored
Make it so we keep track of which LAWs have allocated and provide a function (set_next_law) which can allocate a LAW for us if one is free. In the future we will move to doing more "dynamic" LAW allocation since the majority of users dont really care about what LAW number they are at. Also, add CONFIG_MPC8540 or CONFIG_MPC8560 to those boards which needed them Signed-off-by:
Kumar Gala <galak@kernel.crashing.org> Signed-off-by:
Andy Fleming <afleming@freescale.com>
-
Kumar Gala authored
A number of board ports have empty version of board_early_init_f for no reason since we control its via CONFIG_BOARD_EARLY_INIT_F. Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Kumar Gala authored
* Enable flash progress * remove CLEAR_LAW0 since we dont really use it Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Kumar Gala authored
Remove unused and unconfigured DDR test code from FSL 85xx boards. Besides, other common code exists. Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Sergei Poselenov authored
Signed-off-by:
Sergei Poselenov <sposelenov@emcraft.com>
-
Sergei Poselenov authored
Signed-off-by:
Sergei Poselenov <sposelenov@emcraft.com>
-
Sergei Poselenov authored
Signed-off-by:
Sergei Poselenov <sposelenov@emcraft.com>
-
Sergei Poselenov authored
Signed-of-by:
Sergei Poselenov <sposelenov@emcraft.com>
-
Sergei Poselenov authored
Signed-off-by:
Sergei Poselenov <sposelenov@emcraft.com>
-
Sergei Poselenov authored
Signed-off-by:
Sergei Poselenov <sposelenov@emcraft.com> Signed-off-by:
Andy Fleming <afleming@freescale.com>
-