[U-Boot] [PATCH] Add flexbus support for Freescale Coldfire 5235
Jate Sujjavanich
Jate.Sujjavanich at myfuelmaster.com
Tue Apr 5 23:29:50 CEST 2011
Add flexbus support for Freescale Coldfire 5235
Signed-off-by Jate Sujjavanich<jate.sujjavanich at myfuelmaster.com>
--- u-boot-denx/arch/m68k/include/asm/coldfire/flexbus.h 2011-03-02 11:02:14.000000000 -0500
+++ u-boot/include/asm-m68k/coldfire/flexbus.h 2011-03-25 11:42:46.000000000 -0400
@@ -94,6 +94,12 @@
#endif
#define FBCS_CSMR_V (0x00000001) /* Valid bit */
+#ifdef CONFIG_M5235
+#define FBCS_CSCR_SRWS(x) (((x) & 0x3) << 14)
+#define FBCS_CSCR_IWS(x) (((x) & 0xF) << 10)
+#define FBCS_CSCR_SWWS(x) (((x) & 0x7) << 0)
+#endif
+
#define FBCS_CSCR_SWS(x) (((x) & 0x3F) << 26)
#define FBCS_CSCR_SWS_MASK (0x03FFFFFF)
#define FBCS_CSCR_SWSEN (0x00800000)
More information about the U-Boot
mailing list