From 27b207fd0a0941b03f27e2a82c0468b1a090c745 Mon Sep 17 00:00:00 2001 From: wdenk Date: Thu, 24 Jul 2003 23:38:38 +0000 Subject: * Implement new mechanism to export U-Boot's functions to standalone applications: instead of using (PPC-specific) system calls we now use a jump table; please see doc/README.standalone for details * Patch by Dave Westwood, 24 Jul 2003: added support for Unity OS (a proprietary OS) --- board/mpl/common/flash.c | 2 ++ board/mpl/common/memtst.c | 2 +- board/mpl/common/pci_parts.h | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) (limited to 'board/mpl/common') diff --git a/board/mpl/common/flash.c b/board/mpl/common/flash.c index 28f6f0a..4bdb8bd 100644 --- a/board/mpl/common/flash.c +++ b/board/mpl/common/flash.c @@ -105,6 +105,8 @@ unsigned long flash_init (void) CFG_MONITOR_BASE+monitor_flash_len-1, &flash_info[0]); #endif + /* protect reset vector */ + flash_info[0].protect[flash_info[0].sector_count-1] = 1; size_b1 = 0 ; flash_info[0].size = size_b0; #if 0 diff --git a/board/mpl/common/memtst.c b/board/mpl/common/memtst.c index c994a8b..2c77d37 100644 --- a/board/mpl/common/memtst.c +++ b/board/mpl/common/memtst.c @@ -494,7 +494,7 @@ void mem_test_reloc(void) } -int mem_test (unsigned long start, unsigned long ramsize, int quiet, int reloc) +int mem_test (unsigned long start, unsigned long ramsize, int quiet) { unsigned long errors, stage; unsigned long startaddr, size, i; diff --git a/board/mpl/common/pci_parts.h b/board/mpl/common/pci_parts.h index 82426f3..e5627aa 100644 --- a/board/mpl/common/pci_parts.h +++ b/board/mpl/common/pci_parts.h @@ -110,7 +110,7 @@ static struct pci_pip405_config_entry piix4_ide_cntrl_f1[] = { #if !defined(CONFIG_MIP405T) {PCI_CFG_PIIX4_IDETIM, 0x80008000, 4}, /* enable Both IDE channels */ #else - {PCI_CFG_PIIX4_IDETIM, 0x80000000, 4}, /* enable IDE channel0 */ + {PCI_CFG_PIIX4_IDETIM, 0x00008000, 4}, /* enable IDE channel0 */ #endif { } /* end of device table */ }; -- cgit v1.1