From: Macpaul Lin Date: Wed, 30 Nov 2011 16:06:43 +0800 Subject: [U-Boot] [PATCH 2/2] nds32/ag101/watchdog.S: add linkage support In-Reply-To: <1322640403-9927-1-git-send-email-macpaul@andestech.com> References: <1322640403-9927-1-git-send-email-macpaul@andestech.com> Message-ID: <1322640403-9927-2-git-send-email-macpaul@andestech.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Add linkage support to watchdog.S. Signed-off-by: Macpaul Lin --- arch/nds32/cpu/n1213/ag101/watchdog.S | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/nds32/cpu/n1213/ag101/watchdog.S b/arch/nds32/cpu/n1213/ag101/watchdog.S index fc39f3f..18f0b66 100644 --- a/arch/nds32/cpu/n1213/ag101/watchdog.S +++ b/arch/nds32/cpu/n1213/ag101/watchdog.S @@ -22,12 +22,12 @@ */ #include +#include .text #ifndef CONFIG_SKIP_TRUNOFF_WATCHDOG -.globl turnoff_watchdog -turnoff_watchdog: +ENTRY(turnoff_watchdog) #define WD_CR 0xC #define WD_ENABLE 0x1 @@ -45,4 +45,5 @@ turnoff_watchdog: ret +ENDPROC(turnoff_watchdog) #endif -- 1.7.3.5