- 09 12月, 2010 4 次提交
-
-
由 Andreas Bießmann 提交于
In case we are still at relocation target address before relocation we do not need to load the registers needed for relocation. We should instead skip the whole relocation part and jump over to clear_bss immediately. Signed-off-by: NAndreas Bießmann <andreas.devel@googlemail.com>
-
由 Andreas Bießmann 提交于
This patch uses r1 as scratch register for copy_loop(). Therefore we do not longer need r7 for the storage of relocate_code()'s 'addr_moni' (the destination address of relocation). Therefore r7 can be used later on for other purposes. Signed-off-by: NAndreas Bießmann <andreas.devel@googlemail.com>
-
由 Heiko Schocher 提交于
suggested from Daniel Hobi<daniel.hobi@schmid-telecom.ch> Tested on following boards: arm1136: qong armv7: omap3_beagle arm926ejs: magnesium, tx25 Signed-off-by: NHeiko Schocher <hs@denx.de> cc: Daniel Hobi <daniel.hobi@schmid-telecom.ch> cc: Albert ARIBAUD <albert.aribaud@free.fr>
-
由 Matt Waddel 提交于
This patch fixes build errors in the vexpress system: - Removed sys_proto.h requirement from syslib.c. - Switched vexpress to the default armv7 linker script. - Renamed TEXT_BASE to CONFIG_SYS_TEXT_BASE. Signed-off-by: NMatt Waddel <matt.waddel@linaro.org>
-
- 08 12月, 2010 2 次提交
-
-
由 Andreas Bießmann 提交于
Reuse the gd->tbl value for timestamp and add gd->lastinc for lastinc bss values in arm920t/at91/timer driver. The usage of bss values in driver before initialisation of bss is forbidden. In that special case some data in .rel.dyn gets corrupted by the arm920t/at91/timer driver. Signed-off-by: NAndreas Bießmann <andreas.devel@googlemail.com>
-
由 Andreas Bießmann 提交于
Signed-off-by: NAndreas Bießmann <biessmann@corscience.de>
-
- 07 12月, 2010 1 次提交
-
-
由 Reinhard Meyer 提交于
The AT91SAM9G20 BOOT ROM apparently initializes PA23 and PA24 to multi drive (open drain). Revert this, if those pins are going to be used for MII. Signed-off-by: NReinhard Meyer <u-boot@emk-elektronik.de>
-
- 30 11月, 2010 2 次提交
-
-
由 Minkyu Kang 提交于
Because of count_value is set to tcnb4 register, should be get from this register when call udelay function. Signed-off-by: NMinkyu Kang <mk7.kang@samsung.com>
-
由 Vaibhav Hiremath 提交于
With addition of "dram_init_banksize()" function from Heiko,Schocher (commit ID: 561142af), the DRAM size is getting configured wrongly to 512Mb (CS0 & CS1). So fix it to 256Mb. Signed-off-by: NVaibhav Hiremath <hvaibhav@ti.com> Signed-off-by: NSandeep Paulraj <s-paulraj@ti.com>
-
- 27 11月, 2010 2 次提交
-
-
由 Albert Aribaud 提交于
The start.S file was only half-rewritten for ELF relocations. This bugfix completes the rewrite. Signed-off-by: NAlbert Aribaud <albert.aribaud@free.fr>
-
由 Albert Aribaud 提交于
bulk addition of ELF relocation support to ARM cpus arm946es, arm720t,arm920t, arm925t, arm_intcm, ixp, lh7a40x, s3c44b0, and sa1100. Signed-off-by: NAlbert Aribaud <albert.aribaud@free.fr>
-
- 20 11月, 2010 1 次提交
-
-
由 Nishanth Menon 提交于
DECLARE_GLOBAL_DATA_PTR is currently defined within the scope of function while it is a global pointer. Change the scope of definition to replicate it's global scope. This seems to help gcc 4.5 optimizations as well. Signed-off-by: NNishanth Menon <nm@ti.com> Signed-off-by: NSandeep Paulraj <s-paulraj@ti.com>
-
- 18 11月, 2010 2 次提交
-
-
由 Sebastien Carlier 提交于
Before this commit, weak symbols were not overridden by non-weak symbols found in archive libraries when linking with recent versions of binutils. As stated in the System V ABI, "the link editor does not extract archive members to resolve undefined weak symbols". This commit changes all Makefiles to use partial linking (ld -r) instead of creating library archives, which forces all symbols to participate in linking, allowing non-weak symbols to override weak symbols as intended. This approach is also used by Linux, from which the gmake function cmd_link_o_target (defined in config.mk and used in all Makefiles) is inspired. The name of each former library archive is preserved except for extensions which change from ".a" to ".o". This commit updates references accordingly where needed, in particular in some linker scripts. This commit reveals board configurations that exclude some features but include source files that depend these disabled features in the build, resulting in undefined symbols. Known such cases include: - disabling CMD_NET but not CMD_NFS; - enabling CONFIG_OF_LIBFDT but not CONFIG_QE. Signed-off-by: NSebastien Carlier <sebastien.carlier@gmail.com>
-
由 Albert Aribaud 提交于
older ld emitted all ELF relocations in input sections named .rel.dyn, whereas newer ld uses names of the form .rel*. The linker script only collected .rel.dyn input sections. Rewrite to collect all .rel* input sections. Signed-off-by: NAlbert Aribaud <albert.aribaud@free.fr>
-
- 05 11月, 2010 2 次提交
-
-
由 Heiko Schocher 提交于
since commit 3667cbee on beagle board the second sdram bank didn;t longer work. Since this patch sdram settings just get copied from bank a, but CMD_NOP, CMD_PRECHARGE, CMD_AUTOREFRESH are not executed and after that mr register is also not updated. This patch adds this for the bank b. Signed-off-by: NHeiko Schocher <hs@denx.de> cc: Steve Sakoman <steve@sakoman.com> cc: Sandeep Paulraj <s-paulraj@ti.com> cc: Wolfgang Denk <wd@denx.de> Signed-off-by: NSandeep Paulraj <s-paulraj@ti.com>
-
由 Steve Sakoman 提交于
Commit c3d3a541 uses CONFIG_ARMV7 to determine whether to call the v7_flush_cache_all function. This breaks the build for all non-OMAP3 boards (like Panda and OMAP4430SDP) since there is only a v7_flush_cache_all implementation for OMAP3. This patch uses CONFIG_OMAP3XXX instead of CONFIG_ARMV7 so that only boards with a v7_flush_cache_all will make the call. Tested on Beagle, Overo, Panda, and OMAP4430SDP Signed-off-by: NSteve Sakoman <steve.sakoman@linaro.org> Signed-off-by: NSandeep Paulraj <s-paulraj@ti.com>
-
- 02 11月, 2010 1 次提交
-
-
由 Reinhard Meyer 提交于
and SHDWN address entry in at91sam9260.h Signed-off-by: NReinhard Meyer <u-boot@emk-elektronik.de>
-
- 30 10月, 2010 4 次提交
-
-
由 Reinhard Meyer 提交于
Signed-off-by: NReinhard Meyer <u-boot@emk-elektronik.de>
-
由 Wolfgang Denk 提交于
For ARM systems, before ELF relocation was introduced, CONFIG_SKIP_RELOCATE_UBOOT coul be used to prevent *COPYING* the U-Boot image from whereever it was loaded to it's link address (CONFIG_SYS_TEXT_BASE). The name was badly chosen, as no relocation was performed at all, it was just a memcpy(). With ELF relocation, this does not work like that any more, and related boards need to be fixed anyway. So don't keep this relict any longer. Signed-off-by: NWolfgang Denk <wd@denx.de> Tested-by: NHeiko Schocher <hs@denx.de> Tested-by: NReinhard Meyer <u-boot@emk-elektronik.de>
-
由 Wolfgang Denk 提交于
When this define was introduced, the idea was to provide a soft migration path for ARM boards to get adapted to the new relocation support. However, other recent changes led to a different implementation (ELF relocation), where this no longer works. By now CONFIG_SYS_ARM_WITHOUT_RELOC does not only not help any more, but it actually hurts because it obfuscates the actual code by sprinkling it with lots of dead and non-working debris. So let's make a clean cut and drop CONFIG_SYS_ARM_WITHOUT_RELOC. Signed-off-by: NWolfgang Denk <wd@denx.de> Tested-by: NHeiko Schocher <hs@denx.de> Tested-by: NReinhard Meyer <u-boot@emk-elektronik.de>
-
由 Wolfgang Denk 提交于
By now, the majority of architectures have working relocation support, so the few remaining architectures have become exceptions. To make this more obvious, we make working relocation now the default case, and flag the remaining cases with CONFIG_NEEDS_MANUAL_RELOC. Signed-off-by: NWolfgang Denk <wd@denx.de> Tested-by: NHeiko Schocher <hs@denx.de> Tested-by: NReinhard Meyer <u-boot@emk-elektronik.de>
-
- 28 10月, 2010 8 次提交
-
-
由 Tanmay Upadhyay 提交于
If start of any DRAM bank is greater than total DDR size, remaining DDR banks' start address & size were left un-initialized in dram_init function. This could break other functions who uses array 'gd->bd->bi_dram'. Kirkwood network driver is one example. This also stops Linux kernel from booting. v2 - Set start address also to 0. Without this Linux kernel couldn't boot up Signed-off-by: NTanmay Upadhyay <tanmay.upadhyay@einfochips.com>
-
由 Shawn Guo 提交于
This patch is to fix build breakage and support new relocation scheme for mx51evk. - Correct IRAM base address and add size definition The IRAM starts from 0x1FFE0000 on final revsion i.mx51 than 0x1FFE8000 which is for older revision. - Include imx-regs.h in mx51evk.h Definitions like CSD0_BASE_ADDR and IRAM_BASE_ADDR can be referred to. - Define CONFIG_SYS_INIT_RAM_ADDR and CONFIG_SYS_INIT_RAM_SIZE They are used to define init RAM layout. - Remove comment for CONFIG_SYS_GBL_DATA_SIZE which has been buried by Wolfgang's commit below 25ddd1fb: Replace CONFIG_SYS_GBL_DATA_SIZE by auto-generated value Signed-off-by: NShawn Guo <shawn.gsc@gmail.com>
-
由 Stefano Babic 提交于
The patch removes the warning: clock.c:291: warning: initialization from incompatible pointer type after constification of args[] Signed-off-by: NStefano Babic <sbabic@denx.de>
-
由 Matthias Weisser 提交于
This patch fixes the reset command on imx25. The watchdog registers are 16 bits in size and not 32. This patch also adds the service register codes as constants. Signed-off-by: NMatthias Weisser <weisserm@arcor.de>
-
由 Jason Liu 提交于
Remove u-boot.lds from mx5 and use the common u-boot.lds of cpu layer. This patch also fix the building errors: arch/arm/cpu/armv7/start.o: In function `_rel_dyn_start_ofs': arch/arm/cpu/armv7/start.S:283: undefined reference to `__rel_dyn_start' arch/arm/cpu/armv7/start.o: In function `_rel_dyn_end_ofs': arch/arm/cpu/armv7/start.S:283: undefined reference to `__rel_dyn_end' arch/arm/cpu/armv7/start.o: In function `_dynsym_start_ofs': arch/arm/cpu/armv7/start.S:283: undefined reference to `__dynsym_start' Signed-off-by: NJason Liu <r64343@freescale.com>
-
由 C Nauman 提交于
This patch adds generic support for the Samsung s3c2440 processor. Global s3c24x0 changes to struct members converting from upper case to lower case. Signed-off-by: NCraig Nauman <cnauman@diagraph.com> Cc: kevin.morfitt@fearnside-systems.co.uk Signed-off-by: NMinkyu Kang <mk7.kang@samsung.com>
-
由 Mikhail Kshevetskiy 提交于
Signed-off-by: NMikhail Kshevetskiy <mikhail.kshevetskiy@gmail.com>
-
由 Wolfgang Denk 提交于
Signed-off-by: NWolfgang Denk <wd@denx.de>
-
- 27 10月, 2010 6 次提交
-
-
由 Wolfgang Denk 提交于
For the "fixloop" implementation in start.S a number of different instructions was used. Unify code so all architectures use "blo" here because it is more robust in case of incorrect alignments. Signed-off-by: NWolfgang Denk <wd@denx.de> Cc: Albert ARIBAUD <albert.aribaud@free.fr> Cc: Minkyu Kang <mk7.kang@samsung.com> Cc: Sandeep Paulraj <s-paulraj@ti.com> Cc: Prafulla Wadaskar <prafulla@marvell.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Marek Vasut <marek.vasut@gmail.com> Acked-by: NHeiko Schocher <hs@denx.de>
-
由 Heiko Schocher 提交于
Fix warning: bootm.c: In function 'bootm_linux_fdt': bootm.c:181: warning: unused variable 's' bootm.c:180: warning: unused variable 'bd' Signed-off-by: NHeiko Schocher <hs@denx.de>
-
由 Darius Augulis 提交于
Fix relocation code for arm1176, do it like other ARM CPU's are doing. Tested only with CONFIG_SKIP_RELOCATE_UBOOT defined and using nand_spl (booting from nand). Test done on s3c6410 based board (not yet supported in main line). Signed-off-by: NDarius Augulis <augulis.darius@gmail.com>
-
由 Darius Augulis 提交于
Fix address setup bug for ARM. This bug stops u-boot booting if CONFIG_SKIP_RELOCATE_UBOOT is defined. Signed-off-by: NDarius Augulis <augulis.darius@gmail.com>
-
由 Wolfgang Denk 提交于
CONFIG_SYS_GBL_DATA_SIZE has always been just a bad workarond for not being able to use "sizeof(struct global_data)" in assembler files. Recent experience has shown that manual synchronization is not reliable enough. This patch renames CONFIG_SYS_GBL_DATA_SIZE into GENERATED_GBL_DATA_SIZE which gets automatically generated by the asm-offsets tool. In the result, all definitions of this value can be deleted from the board config files. We have to make sure that all files that reference such data include the new <asm-offsets.h> file. No other changes have been done yet, but it is obvious that similar changes / simplifications can be done for other, related macro definitions as well. Signed-off-by: NWolfgang Denk <wd@denx.de> Acked-by: NKumar Gala <galak@kernel.crashing.org>
-
由 Gray Remlin 提交于
Signed-off-by: NGray Remlin <g_remlin@rocketmail.com> Acked-by: NHeiko Schocher <hs@denx.de>
-
- 24 10月, 2010 1 次提交
-
-
由 Enric Balletbo i Serra 提交于
We also have to relocate the onenand command table manually, otherwise onenand command don't work. Signed-off-by: NEnric Balletbo i Serra <eballetbo@iseebcn.com>
-
- 22 10月, 2010 3 次提交
-
-
由 Marek Vasut 提交于
Signed-off-by: NMarek Vasut <marek.vasut@gmail.com>
-
由 Marek Vasut 提交于
Based on patch by: Albert Aribaud <albert.aribaud@free.fr> Signed-off-by: NMarek Vasut <marek.vasut@gmail.com>
-
由 Stefano Babic 提交于
The patch is a porting of the IPU Linux driver developed by Freescale to have framebuffer functionalities in u-boot. The port is based on kernel 2.6.31 commit cc4fe714041805997b601fe8e5dd585d8a99297f, as delivered by Freescale [i.MX BSP]. Most features are dropped from the original driver and only LCD support is the goal of this porting. Signed-off-by: NStefano Babic <sbabic@denx.de>
-
- 20 10月, 2010 1 次提交
-
-
由 Stefano Babic 提交于
Removed warnings generated in the mx31_set_pad() function. Signed-off-by: NStefano Babic <sbabic@denx.de>
-