summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/u-boot-arm.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2011-08-16 17:30:32 -0700
committerSimon Glass <sjg@chromium.org>2011-08-29 10:59:35 -0700
commitc27dbdf19410ed89da0b73995a219999f029d624 (patch)
treed4ee4ee60769447ddc6b06c764fddf9768007f08 /arch/arm/include/asm/u-boot-arm.h
parentde8b672dad8e54e0ef85e473c2ebdd8640ffbef6 (diff)
tegra2: Run at slower speed until core voltage is ready
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>
Diffstat (limited to 'arch/arm/include/asm/u-boot-arm.h')
-rw-r--r--arch/arm/include/asm/u-boot-arm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/include/asm/u-boot-arm.h b/arch/arm/include/asm/u-boot-arm.h
index f53db5e7ae..f6091f45ba 100644
--- a/arch/arm/include/asm/u-boot-arm.h
+++ b/arch/arm/include/asm/u-boot-arm.h
@@ -50,6 +50,9 @@ int cleanup_before_linux(void);
int arch_cpu_init(void);
int arch_misc_init(void);
+/* Run the CPU at full speed */
+void arch_full_speed(void);
+
/* board/.../... */
int board_init(void);
int dram_init (void);