openwrt/target/linux/ppc40x/patches/101-powerpc-add-EBC_BXCR_BW-defines.patch
Gabor Juhos ceaa5d8790 backport Magicbox CF driver to 2.6.28
SVN-Revision: 16923
2009-07-19 17:46:07 +00:00

13 lines
511 B
Diff

--- a/arch/powerpc/boot/dcr.h
+++ b/arch/powerpc/boot/dcr.h
@@ -57,6 +57,9 @@ static const unsigned long sdram_bxcr[]
#define EBC_BXCR_BU_WO 0x00010000
#define EBC_BXCR_BU_RW 0x00018000
#define EBC_BXCR_BW 0x00006000
+#define EBC_BXCR_BW_8 0x00000000
+#define EBC_BXCR_BW_16 0x00002000
+#define EBC_BXCR_BW_32 0x00006000
#define EBC_B0AP 0x10
#define EBC_B1AP 0x11
#define EBC_B2AP 0x12