summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Liu <daveliu@freescale.com>2008-10-28 17:47:49 +0800
committerJon Loeliger <jdl@freescale.com>2008-10-30 10:31:42 -0500
commiteaa44c5dc83756c3067b9e6c9db626facd0b0660 (patch)
treea178c07ba9083912b587b4c67f2dd987efa206c4
parentbd888e9544419665334a6f47f81f34011cea38f3 (diff)
downloadu-boot-imx-eaa44c5dc83756c3067b9e6c9db626facd0b0660.zip
u-boot-imx-eaa44c5dc83756c3067b9e6c9db626facd0b0660.tar.gz
u-boot-imx-eaa44c5dc83756c3067b9e6c9db626facd0b0660.tar.bz2
86xx: remove the redundant r2 global data pointer save
The commit 67256678f00c09b0a7f19e862e5c1847553d31bc add the another global data pointer save, but in fact the global data pointer will be initialized in the board_init_r, so remove it such as the 85xx/83xx family. Signed-off-by: Dave Liu <daveliu@freescale.com> Acked-by: Kumar Gala <kumar.gala@freescale.com>
-rw-r--r--cpu/mpc86xx/start.S1
1 files changed, 0 insertions, 1 deletions
diff --git a/cpu/mpc86xx/start.S b/cpu/mpc86xx/start.S
index ab672d1..75e4317 100644
--- a/cpu/mpc86xx/start.S
+++ b/cpu/mpc86xx/start.S
@@ -620,7 +620,6 @@ relocate_code:
mr r1, r3 /* Set new stack pointer */
mr r9, r4 /* Save copy of Global Data pointer */
- mr r2, r9 /* Save for DECLARE_GLOBAL_DATA_PTR */
mr r10, r5 /* Save copy of Destination Address */
mr r3, r5 /* Destination Address */