Merge branch 'master' of git://git.denx.de/u-boot-x86
* 'master' of git://git.denx.de/u-boot-x86: x86: Fix a compiler warning in arch/x86/lib/realmode.c x86: Remove the prototype for the unused function board_init x86: Rename include/asm/ic to include/asm/arch-sc520 x86: turn off cache: set control register properly
This commit is contained in:
commit
e84fb175f6
@ -27,7 +27,7 @@
|
||||
#include <common.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/processor-flags.h>
|
||||
#include <asm/ic/sc520.h>
|
||||
#include <asm/arch/sc520.h>
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
||||
|
@ -23,7 +23,7 @@
|
||||
|
||||
#include <config.h>
|
||||
#include <asm/processor-flags.h>
|
||||
#include <asm/ic/sc520.h>
|
||||
#include <asm/arch/sc520.h>
|
||||
|
||||
.section .text
|
||||
|
||||
|
@ -28,8 +28,8 @@
|
||||
#include <pci.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/pci.h>
|
||||
#include <asm/ic/pci.h>
|
||||
#include <asm/ic/sc520.h>
|
||||
#include <asm/arch/pci.h>
|
||||
#include <asm/arch/sc520.h>
|
||||
|
||||
static struct {
|
||||
u8 priority;
|
||||
|
@ -26,7 +26,7 @@
|
||||
|
||||
#include <common.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/ic/sc520.h>
|
||||
#include <asm/arch/sc520.h>
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
||||
|
@ -24,7 +24,7 @@
|
||||
#include <common.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/processor-flags.h>
|
||||
#include <asm/ic/sc520.h>
|
||||
#include <asm/arch/sc520.h>
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
||||
|
@ -23,8 +23,8 @@
|
||||
|
||||
#include <common.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/ic/ssi.h>
|
||||
#include <asm/ic/sc520.h>
|
||||
#include <asm/arch/ssi.h>
|
||||
#include <asm/arch/sc520.h>
|
||||
|
||||
int ssi_set_interface(int freq, int lsb_first, int inv_clock, int inv_phase)
|
||||
{
|
||||
|
@ -27,7 +27,7 @@
|
||||
#include <common.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/interrupt.h>
|
||||
#include <asm/ic/sc520.h>
|
||||
#include <asm/arch/sc520.h>
|
||||
|
||||
void sc520_timer_isr(void)
|
||||
{
|
||||
|
@ -50,7 +50,7 @@ board_init16_ret:
|
||||
|
||||
/* Turn of cache (this might require a 486-class CPU) */
|
||||
movl %cr0, %eax
|
||||
orl $(X86_CR0_NW & X86_CR0_CD), %eax
|
||||
orl $(X86_CR0_NW | X86_CR0_CD), %eax
|
||||
movl %eax, %cr0
|
||||
wbinvd
|
||||
|
||||
|
@ -42,7 +42,6 @@ int dram_init_f(void);
|
||||
int cpu_init_interrupts(void);
|
||||
|
||||
/* board/.../... */
|
||||
int board_init(void);
|
||||
int dram_init(void);
|
||||
|
||||
void setup_pcat_compatibility(void);
|
||||
|
@ -41,7 +41,7 @@ int realmode_setup(void)
|
||||
if (realmode_size > (REALMODE_MAILBOX - (char *)REALMODE_BASE)) {
|
||||
printf("realmode switch too large (%ld bytes, max is %d)\n",
|
||||
realmode_size,
|
||||
(REALMODE_MAILBOX - (char *)REALMODE_BASE));
|
||||
(int)(REALMODE_MAILBOX - (char *)REALMODE_BASE));
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
@ -35,7 +35,6 @@
|
||||
#include <asm/realmode.h>
|
||||
#include <asm/byteorder.h>
|
||||
#include <asm/bootparam.h>
|
||||
#include <asm/ic/sc520.h>
|
||||
|
||||
/*
|
||||
* Memory lay-out:
|
||||
|
@ -23,7 +23,7 @@
|
||||
|
||||
#include <common.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/ic/sc520.h>
|
||||
#include <asm/arch/sc520.h>
|
||||
#include <net.h>
|
||||
#include <netdev.h>
|
||||
|
||||
|
@ -27,7 +27,7 @@
|
||||
#include <common.h>
|
||||
#include <pci.h>
|
||||
#include <asm/pci.h>
|
||||
#include <asm/ic/pci.h>
|
||||
#include <asm/arch/pci.h>
|
||||
|
||||
static void pci_enet_fixup_irq(struct pci_controller *hose, pci_dev_t dev)
|
||||
{
|
||||
|
@ -27,11 +27,9 @@
|
||||
* that is used by U-boot to its final destination.
|
||||
*/
|
||||
|
||||
/* #include <asm/ic/sc520_defs.h> */
|
||||
|
||||
#include "config.h"
|
||||
#include "hardware.h"
|
||||
#include <asm/ic/sc520.h>
|
||||
#include <asm/arch/sc520.h>
|
||||
|
||||
.text
|
||||
.section .start16, "ax"
|
||||
|
Loading…
Reference in New Issue
Block a user