diff options
author | Brian Harring <ferringb@chromium.org> | 2012-02-08 23:33:15 -0800 |
---|---|---|
committer | Brian Harring <ferringb@chromium.org> | 2012-02-08 23:34:35 -0800 |
commit | 3848b4ed5e95e44be300f3c5132706dbd8271b77 (patch) | |
tree | 0c28785a6fbed4277223d5882d92c7e8ffc5db8d /arch/arm/cpu/armv7/tegra-common | |
parent | e7efcd3803a1359c9955a57f4f831c346b052c01 (diff) |
Revert "arm: tegra2: add .lds to calculate warm boot code size"
This reverts commit 9a3fbb5f0b02382c7abe0cf40a4f08abbf269d05
Broke tegra2: http://code.google.com/p/chromium-os/issues/detail?id=26116
Change-Id: I7d35211c6ebce7a10750cb1033c6f8ba9a0f63bc
Reviewed-on: https://gerrit.chromium.org/gerrit/15560
Reviewed-by: Brian Harring <ferringb@chromium.org>
Tested-by: Brian Harring <ferringb@chromium.org>
Diffstat (limited to 'arch/arm/cpu/armv7/tegra-common')
-rw-r--r-- | arch/arm/cpu/armv7/tegra-common/warmboot.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/cpu/armv7/tegra-common/warmboot.c b/arch/arm/cpu/armv7/tegra-common/warmboot.c index 27a61d894a6..beb7a146edc 100644 --- a/arch/arm/cpu/armv7/tegra-common/warmboot.c +++ b/arch/arm/cpu/armv7/tegra-common/warmboot.c @@ -32,8 +32,6 @@ #include <asm/arch/gp_padctrl.h> -extern u32 __wb_end; /* End of WB assembly code */ - /* * NOTE: If more than one of the following is enabled, only one of them will * actually be used. RANDOM takes precedence over PATTERN and ZERO, and @@ -168,7 +166,7 @@ int warmboot_prepare_code(u32 seg_address, u32 seg_length) determine_crypto_options(&is_encrypted, &is_signed, &use_zero_key); /* Get the actual code limits. */ - length = roundup(((u32)&__wb_end - (u32)wb_start), 16); + length = roundup(((u32)wb_end - (u32)wb_start), 16); /* * The region specified by seg_address must not be in IRAM and must be |