summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/u-boot-arm.h
AgeCommit message (Collapse)Author
2011-09-14postload: Add new _reloc_end to define end of relocated areaSimon Glass
Rather than __bss_end, define a new symbol which sets the end boundary of code to be relocated by relocate_code(). This allows us to add code after the BSS section which is still relocatable. BUG=chromium-os:17053 TEST=build and boot U-Boot on seaboard Change-Id: Ice784ee65ab8cbb7d2b996dc53c722c5dd9315c0 Reviewed-on: http://gerrit.chromium.org/gerrit/7660 Reviewed-by: Che-Liang Chiou <clchiou@chromium.org> Reviewed-by: Tom Wai-Hong Tam <waihong@chromium.org> Tested-by: Simon Glass <sjg@chromium.org>
2011-08-29tegra2: Run at slower speed until core voltage is readySimon Glass
Previously we ran the T25 at 1.2GHz before increasing the voltage to the required level. This change starts up the PLLX at 1.0GHz and then increases it later after the i2c and pmc init. BUG=chromium-os:18706 TEST=build and boot on Aebl; verify that the time for board_init_r() is more now, but from then on the times equalize: Old: Timer summary in microseconds: Mark Elapsed Stage 0 0 reset 298,296 298,296 arch_cpu_init AVP 302,655 4,359 arch_cpu_init A9 302,697 42 arch_cpu_init done 302,699 2 board_init_f start 363,154 60,455 board_init_r start 612,030 248,876 main_loop 612,260 230 do_vboot_twostop 614,534 2,274 twostop_init 637,085 22,551 twostop_select_and_set_main_firmware 905,883 268,798 twostop_main_firmware 1,345,804 439,921 bootm_start 1,504,462 158,658 start_kernel New: Timer summary in microseconds: Mark Elapsed Stage 0 0 reset 298,326 298,326 arch_cpu_init AVP 302,686 4,360 arch_cpu_init A9 302,730 44 arch_cpu_init done 302,732 2 board_init_f start 364,922 62,190 board_init_r start 613,893 248,971 main_loop 614,127 234 do_vboot_twostop 616,402 2,275 twostop_init 638,970 22,568 twostop_select_and_set_main_firmware 910,145 271,175 twostop_main_firmware 1,350,278 440,133 bootm_start 1,508,911 158,633 start_kernel Change-Id: Ie5fea5fd02ef706d1b81b6a181510769a568fdd6 Reviewed-on: http://gerrit.chromium.org/gerrit/6130 Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org>
2011-08-29tegra2: Move cpu_init_crit() into CPU code fileSimon Glass
This commits move this CPU code into the CPU code place where it is better suited. This also makes it happen slightly earlier in the boot. Mostly this code turns on the instruction cache. BUG=chromium-os:19004 TEST=build and boot on Aebl Change-Id: Ie41dad1d60c4fc9306db6814f858e220f025a379 Reviewed-on: http://gerrit.chromium.org/gerrit/5779 Reviewed-by: Tom Warren <twarren@nvidia.com> Reviewed-by: Anton Staaf <robotboy@chromium.org> Tested-by: Simon Glass <sjg@chromium.org>
2011-03-27arm: fix incorrect monitor protection region in FLASHPo-Yu Chuang
Monitor protection region in FLASH did not cover .rel.dyn and .dynsym sections, because it uses __bss_start to compute monitor_flash_len. Use _end instead. Add _end to linker scripts for end of u-boot image Add _end_ofs to all the start.S. Signed-off-by: Po-Yu Chuang <ratbert@faraday-tech.com>
2010-10-29Drop support for CONFIG_SYS_ARM_WITHOUT_RELOCWolfgang 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: Wolfgang Denk <wd@denx.de> Tested-by: Heiko Schocher <hs@denx.de> Tested-by: Reinhard Meyer <u-boot@emk-elektronik.de>
2010-10-13arm: implement ELF relocationsAlbert Aribaud
ELF relocation tables generated with linker option -pie can be used to fixup code and data in a single loop at relocation, removing the need for manual fixups anywhere else in the code. Signed-off-by: Albert Aribaud <albert.aribaud@free.fr>
2010-09-19ARM: add relocation supportHeiko Schocher
!! This breaks support for all arm boards !! To compile in old style, you must define CONFIG_SYS_ARM_WITHOUT_RELOC or you can compile with "CONFIG_SYS_ARM_WITHOUT_RELOC=1 ./MAKEALL board" !! This define will be removed soon, so convert your board to use relocation support Portions of this work were supported by funding from the CE Linux Forum. Signed-off-by: Heiko Schocher <hs@denx.de> Fix boot from NAND for non-ARM systems Signed-off-by: Wolfgang Denk <wd@denx.de>
2010-04-13Move architecture-specific includes to arch/$ARCH/include/asmPeter Tyser
This helps to clean up the include/ directory so that it only contains non-architecture-specific headers and also matches Linux's directory layout which many U-Boot developers are already familiar with. Signed-off-by: Peter Tyser <ptyser@xes-inc.com>