mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-13 05:55:02 -04:00
Merge branch 'master' of git://git.denx.de/u-boot-nds32
* 'master' of git://git.denx.de/u-boot-nds32: nds32/board.c: add PCI prompt at boot up nds32/ag101/watchdog.S: add linkage support nds32: add linkage support
This commit is contained in:
commit
8a1239e74c
@ -22,12 +22,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <asm/arch-ag101/ag101.h>
|
#include <asm/arch-ag101/ag101.h>
|
||||||
|
#include <linux/linkage.h>
|
||||||
|
|
||||||
.text
|
.text
|
||||||
|
|
||||||
#ifndef CONFIG_SKIP_TRUNOFF_WATCHDOG
|
#ifndef CONFIG_SKIP_TRUNOFF_WATCHDOG
|
||||||
.globl turnoff_watchdog
|
ENTRY(turnoff_watchdog)
|
||||||
turnoff_watchdog:
|
|
||||||
|
|
||||||
#define WD_CR 0xC
|
#define WD_CR 0xC
|
||||||
#define WD_ENABLE 0x1
|
#define WD_ENABLE 0x1
|
||||||
@ -45,4 +45,5 @@ turnoff_watchdog:
|
|||||||
|
|
||||||
ret
|
ret
|
||||||
|
|
||||||
|
ENDPROC(turnoff_watchdog)
|
||||||
#endif
|
#endif
|
||||||
|
28
arch/nds32/include/asm/linkage.h
Normal file
28
arch/nds32/include/asm/linkage.h
Normal file
@ -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
|
@ -365,6 +365,7 @@ void board_init_r(gd_t *id, ulong dest_addr)
|
|||||||
env_relocate();
|
env_relocate();
|
||||||
|
|
||||||
#if defined(CONFIG_CMD_PCI) || defined(CONFIG_PCI)
|
#if defined(CONFIG_CMD_PCI) || defined(CONFIG_PCI)
|
||||||
|
puts("PCI: ");
|
||||||
nds32_pci_init();
|
nds32_pci_init();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user