mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
nds32/ag101/watchdog.S: add linkage support
Add linkage support to watchdog.S. Signed-off-by: Macpaul Lin <macpaul@andestech.com>
This commit is contained in:
parent
184e6f7db9
commit
3998586bce
1 changed files with 3 additions and 2 deletions
|
|
@ -22,12 +22,12 @@
|
|||
*/
|
||||
|
||||
#include <asm/arch-ag101/ag101.h>
|
||||
#include <linux/linkage.h>
|
||||
|
||||
.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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue