mirror of
https://xff.cz/git/u-boot/
synced 2025-09-28 22:11:16 +02:00
Merge branch 'master' of git://www.denx.de/git/u-boot-mips
This commit is contained in:
@@ -26,9 +26,15 @@
|
||||
#include <asm/addrspace.h>
|
||||
#include <asm/inca-ip.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/reboot.h>
|
||||
|
||||
extern uint incaip_get_cpuclk(void);
|
||||
|
||||
void _machine_restart(void)
|
||||
{
|
||||
*INCA_IP_WDT_RST_REQ = 0x3f;
|
||||
}
|
||||
|
||||
static ulong max_sdram_size(void)
|
||||
{
|
||||
/* The only supported SDRAM data width is 16bit.
|
||||
|
@@ -276,6 +276,12 @@ __sdram_init:
|
||||
.ent lowlevel_init
|
||||
lowlevel_init:
|
||||
|
||||
/* Disable Watchdog.
|
||||
*/
|
||||
la t9, disable_incaip_wdt
|
||||
jalr t9
|
||||
nop
|
||||
|
||||
/* EBU, CGU and SDRAM Initialization.
|
||||
*/
|
||||
li a0, CPU_CLOCK_RATE
|
||||
|
@@ -29,6 +29,7 @@
|
||||
#include <asm/io.h>
|
||||
#include <asm/addrspace.h>
|
||||
#include <asm/cacheops.h>
|
||||
#include <asm/reboot.h>
|
||||
|
||||
#include "sconsole.h"
|
||||
|
||||
@@ -52,6 +53,13 @@ extern int asc_serial_getc (void);
|
||||
extern int asc_serial_tstc (void);
|
||||
extern void asc_serial_setbrg (void);
|
||||
|
||||
void _machine_restart(void)
|
||||
{
|
||||
void (*f)(void) = (void *) 0xbfc00000;
|
||||
|
||||
f();
|
||||
}
|
||||
|
||||
static void sdram_timing_init (ulong size)
|
||||
{
|
||||
register uint pass;
|
||||
|
@@ -12,10 +12,17 @@
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <asm/addrspace.h>
|
||||
#include <asm/inca-ip.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/reboot.h>
|
||||
#include <pci.h>
|
||||
|
||||
void _machine_restart(void)
|
||||
{
|
||||
void (*f)(void) = (void *) 0xbfc00000;
|
||||
|
||||
f();
|
||||
}
|
||||
|
||||
#if defined(CONFIG_PCI)
|
||||
static struct pci_controller hose;
|
||||
|
||||
|
Reference in New Issue
Block a user