From 184e6f7db9babfd694ada5eb1cd11a84d671c691 Mon Sep 17 00:00:00 2001 From: Macpaul Lin Date: Wed, 30 Nov 2011 15:33:55 +0800 Subject: nds32: add linkage support Add linkage support. Signed-off-by: Macpaul Lin --- arch/nds32/include/asm/linkage.h | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 arch/nds32/include/asm/linkage.h (limited to 'arch') diff --git a/arch/nds32/include/asm/linkage.h b/arch/nds32/include/asm/linkage.h new file mode 100644 index 0000000000..6d4493a6c5 --- /dev/null +++ b/arch/nds32/include/asm/linkage.h @@ -0,0 +1,28 @@ +/* + * U-boot - linkage.h + * + * Copyright (c) 2005-2007 Analog Devices Inc. + * + * See file CREDITS for list of people who contributed to this + * project. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, + * MA 02110-1301 USA + */ + +#ifndef __ASM_LINKAGE_H +#define __ASM_LINKAGE_H + +#endif -- cgit v1.2.3 From 3998586bce1efbd2534d78be2c6af341c5659f12 Mon Sep 17 00:00:00 2001 From: Macpaul Lin Date: Wed, 30 Nov 2011 16:01:28 +0800 Subject: nds32/ag101/watchdog.S: add linkage support Add linkage support to watchdog.S. Signed-off-by: Macpaul Lin --- arch/nds32/cpu/n1213/ag101/watchdog.S | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'arch') diff --git a/arch/nds32/cpu/n1213/ag101/watchdog.S b/arch/nds32/cpu/n1213/ag101/watchdog.S index fc39f3f308..18f0b664c2 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 -- cgit v1.2.3 From 4ef806794a165252d69c519d868a746e4cfa9729 Mon Sep 17 00:00:00 2001 From: Macpaul Lin Date: Fri, 25 Nov 2011 17:14:51 +0800 Subject: nds32/board.c: add PCI prompt at boot up add PCI prompt at boot up for probing PCI device Signed-off-by: Macpaul Lin --- arch/nds32/lib/board.c | 1 + 1 file changed, 1 insertion(+) (limited to 'arch') diff --git a/arch/nds32/lib/board.c b/arch/nds32/lib/board.c index 66e45370cc..074aabf1e4 100644 --- a/arch/nds32/lib/board.c +++ b/arch/nds32/lib/board.c @@ -365,6 +365,7 @@ void board_init_r(gd_t *id, ulong dest_addr) env_relocate(); #if defined(CONFIG_CMD_PCI) || defined(CONFIG_PCI) + puts("PCI: "); nds32_pci_init(); #endif -- cgit v1.2.3