changeset 2543:11ed35fa3798

* include/plf_io.h: Added definitions for devices that has a second flash controller. Thus far only the at91sam7x512 is supported.
author asl
date Thu, 04 Sep 2008 05:50:26 +0000
parents 7e32d2c76180
children ec29669c67e2
files packages/hal/arm/at91/at91sam7s/current/ChangeLog packages/hal/arm/at91/at91sam7s/current/include/plf_io.h
diffstat 2 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/packages/hal/arm/at91/at91sam7s/current/ChangeLog
+++ b/packages/hal/arm/at91/at91sam7s/current/ChangeLog
@@ -1,3 +1,9 @@
+2008-09-02  John Eigelaar  <jeigelaar@mweb.co.za>
+
+	* include/plf_io.h: Added definitions for devices
+	  that has a second flash controller. Thus far only the 
+	  at91sam7x512 is supported.
+
 2008-09-01  John Eigelaar  <jeigelaar@mweb.co.za>
 
 	* cdl/hal_arm_at91sam7s.cdl: CDL for the MOR OSCCOUNT and 
--- a/packages/hal/arm/at91/at91sam7s/current/include/plf_io.h
+++ b/packages/hal/arm/at91/at91sam7s/current/include/plf_io.h
@@ -175,6 +175,12 @@ extern cyg_uint32 hal_at91_us_baud(cyg_u
 
 #endif
 
+#ifdef CYGHWR_HAL_ARM_AT91SAM7_at91sam7x512
+#define AT91_MC_FMR0 0x60
+#define AT91_MC_FMR1 0x70
+#define AT91_MC_FMR AT91_MC_FMR0
+#endif
+
 //----------------------------------------------------------------------
 // The platform needs this initialization during the
 // hal_hardware_init() function in the varient HAL.