summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-tegra
diff options
context:
space:
mode:
authorVarun Wadekar <vwadekar@nvidia.com>2012-01-23 12:38:31 +0530
committerGerrit <chrome-bot@google.com>2012-02-08 22:08:37 -0800
commite7efcd3803a1359c9955a57f4f831c346b052c01 (patch)
tree4d79a3acf0b2a0266ff50dfc038752742d7201d9 /arch/arm/include/asm/arch-tegra
parent929e867d143b66d96e6c4a8e1f69d3e8c6ca14fd (diff)
arm: tegra2: add .lds to calculate warm boot code size
move away from the current method, where we add wb_end() immediately after wb_start() and then use the function addresses to calculate the WB code size. Add a .lds script to expose __wb_end after wb_start() in the .text section and then reference this variable in the WB size calculation code. BUG=chromium-os:23496 TEST=build on Seaboard. Verified that uboot.map has the correct address assigned to __wb_end and that LP0 works reliably. Change-Id: I170277f00b450d38063018453faf44d5a38abaaa Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: https://gerrit.chromium.org/gerrit/14682
Diffstat (limited to 'arch/arm/include/asm/arch-tegra')
-rw-r--r--arch/arm/include/asm/arch-tegra/warmboot.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/include/asm/arch-tegra/warmboot.h b/arch/arm/include/asm/arch-tegra/warmboot.h
index c1a9a15929..0d4da269ee 100644
--- a/arch/arm/include/asm/arch-tegra/warmboot.h
+++ b/arch/arm/include/asm/arch-tegra/warmboot.h
@@ -79,6 +79,5 @@ void warmboot_save_sdram_params(void);
int warmboot_prepare_code(u32 seg_address, u32 seg_length);
int sign_data_block(u8 *source, u32 length, u8 *signature);
void wb_start(void); /* Start of WB assembly code */
-void wb_end(void); /* End of WB assembly code */
#endif