2001-08-27  Mark Salter  <msalter@redhat.com>

	* cdl/hal_arm_iq80310.cdl (CYGSEM_HAL_ARM_IQ80310_BTB): New option.
	(CYGSEM_HAL_ARM_IQ80310_CLEAR_PCI_RETRY) New option.
	
	* src/iq80310_pci.c (cyg_hal_plf_pci_init): Clear PCI retry based on
	CYGSEM_HAL_ARM_IQ80310_CLEAR_PCI_RETRY.

	* include/hal_platform_setup.h: Turn on BTB based on configure option.

2001-08-24  Mark Salter  <msalter@redhat.com>

	* src/iq80310_misc.c (iq80310_program_new_stack): Convert to inline
	asm so that code generation differences won't break it.

2001-08-15  Mark Salter  <msalter@redhat.com>

	* include/hal_iq80310.h: Fix size of PATUSR, SATUSR, PSR, and SSR regs.
	Make all register pointers volatile.

	* src/diag/flash.c: First page of flash now remapped to 0xd0000000.

2001-08-04  Mark Salter  <msalter@redhat.com>

	* include/hal_platform_setup.h: Fix mapping so first MB of SDRAM has
	ECC turned on. Now map first 4K of flash at 0xd0000000.

2001-06-21  Jonathan Larmour  <jlarmour@redhat.com>

	* images/*: Remove. Don't bloat repository with things already on
	the web.

2001-04-30  Gary Thomas  <gthomas@redhat.com>

	* include/hal_platform_setup.h: Remove #undef CYG_HAL_ROM_RESET_USES_JUMP
	since this is no longer used.

2001-04-18  Gary Thomas  <gthomas@redhat.com>

	* include/hal_platform_setup.h: Override CYG_HAL_ROM_RESET_USES_JUMP
	to avoid addressing problems with ROM startup mode.

2001-04-17  Mark Salter  <msalter@redhat.com>

	* cdl/hal_arm_iq80310.cdl: Implement CYGINT_HAL_ARM_MEM_REAL_REGION_TOP
	(CYGBLD_GLOBAL_CFLAGS): Add -ffunction-sections and -fdata-sections.
	* src/iq80310_misc.c (hal_arm_mem_real_region_top): New function.

2001-04-16  Gary Thomas  <gthomas@redhat.com>

	* cdl/hal_arm_iq80310.cdl: Add CDL to describe CPU family.

2001-04-10  Mark Salter  <msalter@redhat.com>

	* include/hal_platform_setup.h: Turn on multi-bit RAM error reporting.

2001-04-03  Mark Salter  <msalter@redhat.com>

	* src/diag/flash.c: Don't compile unless CYGPKG_IO_FLASH defined.
	* src/diag/xscale_test.c (testMenu): Only add flash_test if
	CYGPKG_IO_FLASH is defined.

2001-03-31  Mark Salter  <msalter@redhat.com>

	* src/diag/xscale_test.c: Merge in latest changes from Cyclone.
	* src/diag/iq80310.h: Ditto.
	* src/diag/external_timer.c: Ditto.

2001-03-30  Mark Salter  <msalter@redhat.com>

	* misc/redboot_RAM.ecm: Disable CYGSEM_REDBOOT_FIS_CRC_CHECK
	and CYGSEM_IO_FLASH_VERIFY_PROGRAM.
	* misc/redboot_RAMA.ecm: Ditto.
	* misc/redboot_ROM.ecm: Ditto.
	* misc/redboot_ROMA.ecm: Ditto.

	* include/pkgconf/mlt_arm_iq80310_rom.h: Fix heap1_SIZE.
	* include/pkgconf/mlt_arm_iq80310_ram.h Ditto: 
	* include/pkgconf/mlt_arm_iq80310_ram.mlt: Remove PCI window.

	* include/hal_platform_setup.h: Fix page table comment.

2001-03-12  Jonathan Larmour  <jlarmour@redhat.com>

	* src/iq80310_misc.c: Ensure case ranges have spaces around
	identifiers to allow correct parsing by compiler.

2001-02-27  Jonathan Larmour  <jlarmour@redhat.com>

	* src/diag/pci_bios.h: Remove CVS-unfriendly keyword substitutions

2001-02-23  Jesper Skov  <jskov@redhat.com>

	* include/hal_cache.h (HAL_FLASH_CACHES_OLD_MACROS):  This platform
	uses deprecated cache handling macros.

2001-02-23  Gary Thomas  <gthomas@redhat.com>

	* misc/redboot_ROMA.ecm: Renamed from redboot_ROMA.cfg

	* misc/redboot_RAMA.ecm: Renamed from redboot_RAMA.cfg

	* misc/redboot_ROM.ecm: Renamed from redboot_ROM.cfg

	* misc/redboot_RAM.ecm: Renamed from redboot_RAM.cfg

2001-02-13  Gary Thomas  <gthomas@redhat.com>

	* src/iq80310_misc.c (hal_IRQ_handler): 
	Return CYGNUM_HAL_INTERRUPT_NONE for spurious interrupts.

2001-02-08  Jesper Skov  <jskov@redhat.com>

	* src/hal_diag.c: Replace CYGSEM_HAL_DIAG_MANGLER_None with
	CYGDBG_HAL_DIAG_TO_DEBUG_CHAN.

2001-02-07  Mark Salter  <msalter@redhat.com>

	* src/diag/external_timer.c (counter_test): Fix printf format
	string to work with stripped down RedBoot printf.(counter_test):

2001-02-06  Mark Salter  <msalter@redhat.com>

	* src/diag/external_timer.c: Merged in Cyclone changes.
	* src/diag/interrupts.c: Ditto.
	* src/diag/memtest.c: Ditto.
	* src/diag/xscale_test.c: Ditto.

2001-02-02  Mark Salter  <msalter@redhat.com>

	* src/diag/xscale_test.c (seven_segment_display): Use volatile for
	delay loop variable to avoid optimizing it away.

	* src/diag/flash.c (flash_buffer): Change huge array (.bss) to a
	pointer to scratchpad RAM above RedBoot.

	* src/iq80310_misc.c (hal_hardware_init): Don't enable FIQ (for now).
	(cyg_hal_plf_is_stopped_by_hardware): Check for stopped by BKPT insn.

	* misc/redboot_ROM.cfg (CYGNUM_IO_ETH_DRIVERS_NUM_PKT): Set value to 2.
	* misc/redboot_ROMA.cfg: Ditto.
	* misc/redboot_RAM.cfg: Ditto.
	* misc/redboot_RAMA.cfg: Ditto.

2001-01-31  Mark Salter  <msalter@redhat.com>

	* src/iq80310_pci.c (__pci_abort_handler): Use naked attribute for
	use as abort handler.

	* src/iq80310_misc.c (_scrub_ecc): New function.
	(hal_IRQ_handler): Fix switched sensing of FIQ/IRQ.
	(hal_hardware_init): Install handlers for NMI FIQs. Fix	switched
	installation of FIQ/IRQ ISRs.

	* include/hal_iq80310.h (RFR_INIT_VAL): Double refresh interval.
	Add more register definitions.

	* include/hal_platform_setup.h: Add support for baterry test.
	Enable Yavapai single-bit error correction.

	* src/diag/*: Integrate latest Cyclone code. Add RHEPL to contributed
	files.

2001-01-31  Jesper Skov  <jskov@redhat.com>

	* src/hal_diag.c: Replaced CYGDBG_HAL_DIAG_DISABLE_GDB_PROTOCOL
	with CYGSEM_HAL_DIAG_MANGLER_None

	* include/hal_diag.h: Fix hal_delay_us declaration.

2001-01-26  Jesper Skov  <jskov@redhat.com>

	* src/hal_diag.c: Removed CYGSEM_HAL_VIRTUAL_VECTOR_DIAG check.
	* include/plf_stub.h: Moved reset macro to
	* include/hal_platform_ints.h: this file.

2001-01-11  Mark Salter  <msalter@redhat.com>

	* include/hal_platform_setup.h: Remove hardcoded position dependencies
	in page table setup.
	
	* cdl/hal_arm_iq80310.cdl (CYGSEM_HAL_ARM_IQ80310_ARMBOOT): New
	bool option. If true, modifies ROM startup so that we coexist with
	ARM bootloader.

	* include/pkgconf/mlt_arm_iq80310_roma.mlt: New file. ROM statrup
	with modified start address to coexist with ARM bootloader.
	* include/pkgconf/mlt_arm_iq80310_roma.h: Regenerated.
	* include/pkgconf/mlt_arm_iq80310_roma.ldi: Regenerated.

	* misc/redboot_ROMA.cfg: RedBoot configuration for ROM startup by
	ARM booloader in FLASH boot sector.
	* misc/redboot_RAMA.cfg: RedBoot configuration for RAM startup with
	ARM booloader in FLASH boot sector.

2001-01-08  Mark Salter  <msalter@redhat.com>

	* src/diag/diag.c (do_hdwr_diag): Turn off debug channel interrupt
	and reset PCI bus before calling Cyclone diag code.

	* src/diag/xscale_test.c (hdwr_diag): Uncomment call to
	sys_pci_device_init.

2001-01-05  Mark Salter  <msalter@redhat.com>

	* src/iq80310_misc.c (iq80310_program_new_stack): New function to
	setup stack for programs called by RedBoot.
	* cdl/hal_arm_iq80310.cdl: Add define for HAL_ARCH_PROGRAM_NEW_STACK.
	(Merged from XScale branch).
	
	* cdl/hal_arm_iq80310.cdl: Add compile of Cyclone diag code.
	* src/diag: New directory with IQ80310 hw diag code from Cyclone.

2000-12-21  Mark Salter  <msalter@redhat.com>

	* src/iq80310_pci.c (cyg_hal_plf_pci_init): Play nice with PC BIOS.
	(pci_config_cleanup): Don't use fixed bus numbers.

	* include/plf_io.h (HAL_PCI_TRANSLATE_INTERRUPT): Don't use fixed
	secondary bus number.

	* include/hal_platform_setup.h: Increase reset delay to 60ms.
	Remove dead code.

2000-11-22  Mark Salter  <msalter@redhat.com>

	* src/hal_diag.c: Support 57600 baud.
	* cdl/hal_arm_iq80310.cdl: Accept 57600 as legal baudrate.

	* misc/redboot_RAM.cfg: Set CYGBLD_REDBOOT_MIN_IMAGE_SIZE to 0x40000.
	* misc/redboot_ROM.cfg: Ditto.

2000-11-19  Mark Salter  <msalter@redhat.com>

	* src/iq80310_misc.c (hal_clock_read): Fix timer bit juggling.

2000-11-19  Gary Thomas  <gthomas@redhat.com>

	* cdl/hal_arm_iq80310.cdl: Define CYGBLD_HAL_PLATFORM_IO_H.

2000-11-16  Mark Salter  <msalter@redhat.com>

	* src/iq80310_misc.c: Add support for external timer as RTC.
	(nirq_ISR): Correct dispatch for X3 interrupts.

	* include/hal_platform_ints.h (CYGNUM_HAL_INTERRUPT_RTC): Use ext timer.
	(HAL_DELAY_US): Define.

	* cdl/hal_arm_iq80310.cdl: Correct CYGNUM_HAL_RTC_PERIOD.

2000-11-06  Mark Salter  <msalter@redhat.com>

	* misc/redboot_RAM.cfg: Turn on CYGSEM_REDBOOT_BSP_SYSCALLS.
	* misc/redboot_ROM.cfg: Ditto.

2000-11-04  Mark Salter  <msalter@redhat.com>

	* misc/redboot_RAM.cfg: Add in PCI and ethernet.
	* misc/redboot_ROM.cfg: Ditto.

	* include/plf_io.h: Fleshed out PCI support.

	* cdl/hal_arm_iq80310.cdl: Add iq80310_pci.C for compile.
	Change default baud to 115200.

	* src/iq80310_pci.c: New file. HAL pci support.

	* include/plf_stub.h: Reworked HW watchpoint/breakpoint support.

	* src/iq80310_misc.c (hal_hardware_init): Remove DSU setup.
	(cyg_hal_plf_hw_watchpoint): Support one range instead of two
	single byte locations.
	(cyg_hal_plf_is_stopped_by_hardware): Rework interface to return
	reason for hardware stop and data address.

	* include/hal_platform_setup.h (PLATFORM_SETUP1): Clear DSU state.

//===========================================================================
//####COPYRIGHTBEGIN####
//                                                                          
// -------------------------------------------                              
// The contents of this file are subject to the Red Hat eCos Public License 
// Version 1.1 (the "License"); you may not use this file except in         
// compliance with the License.  You may obtain a copy of the License at    
// http://www.redhat.com/                                                   
//                                                                          
// Software distributed under the License is distributed on an "AS IS"      
// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied.  See the 
// License for the specific language governing rights and limitations under 
// the License.                                                             
//                                                                          
// The Original Code is eCos - Embedded Configurable Operating System,      
// released September 30, 1998.                                             
//                                                                          
// The Initial Developer of the Original Code is Red Hat.                   
// Portions created by Red Hat are                                          
// Copyright (C) 1998, 1999, 2000 Red Hat, Inc.                             
// All Rights Reserved.                                                     
// -------------------------------------------                              
//                                                                          
//####COPYRIGHTEND####
//===========================================================================
