86xx: remove the redundant r2 global data pointer save
authorDave Liu <daveliu@freescale.com>
Tue, 28 Oct 2008 09:47:49 +0000 (17:47 +0800)
committerJon Loeliger <jdl@freescale.com>
Thu, 30 Oct 2008 15:31:42 +0000 (10:31 -0500)
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>
cpu/mpc86xx/start.S

index ab672d1d9970c6b7ed35e3de82ffabdda2352045..75e431764b53a3a8912c0edeed4d8ee89a625201 100644 (file)
@@ -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  */