[U-Boot] [PATCH 05/21] arm: cpux9k2: Remove unnecessary XF_do_reset assignment

Kyle Moffett Kyle.D.Moffett at boeing.com
Mon Mar 7 18:37:26 CET 2011


The exported function table already assigns XF_do_reset properly, so
there should be no need for this processor to manually reassign it.

This change is required before ARM is converted away from using the
legacy do_reset() handler.

Signed-off-by: Kyle Moffett <Kyle.D.Moffett at boeing.com>
Cc: Albert Aribaud <albert.aribaud at free.fr>
Cc: Reinhard Meyer <u-boot at emk-elektronik.de>
---
 board/BuS/eb_cpux9k2/cpux9k2.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/board/BuS/eb_cpux9k2/cpux9k2.c b/board/BuS/eb_cpux9k2/cpux9k2.c
index fe62a0f..473498c 100644
--- a/board/BuS/eb_cpux9k2/cpux9k2.c
+++ b/board/BuS/eb_cpux9k2/cpux9k2.c
@@ -111,7 +111,6 @@ int misc_init_r(void)
 		}
 	}
 #endif
-	gd->jt[XF_do_reset] = (void *) do_reset;
 
 #ifdef CONFIG_STATUS_LED
 	status_led_set(STATUS_LED_BOOT, STATUS_LED_BLINKING);
-- 
1.7.2.3



More information about the U-Boot mailing list