From 1c9dab3413114edf47b2e61e288617a2550c0bd8 Mon Sep 17 00:00:00 2001 From: juhosg Date: Sun, 19 Jul 2009 17:46:07 +0000 Subject: [ppc40x] backport Magicbox CF driver to 2.6.28 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16923 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../ppc40x/patches/101-powerpc-add-EBC_BXCR_BW-defines.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 target/linux/ppc40x/patches/101-powerpc-add-EBC_BXCR_BW-defines.patch (limited to 'target/linux/ppc40x/patches/101-powerpc-add-EBC_BXCR_BW-defines.patch') diff --git a/target/linux/ppc40x/patches/101-powerpc-add-EBC_BXCR_BW-defines.patch b/target/linux/ppc40x/patches/101-powerpc-add-EBC_BXCR_BW-defines.patch new file mode 100644 index 0000000000..8e380c1c9c --- /dev/null +++ b/target/linux/ppc40x/patches/101-powerpc-add-EBC_BXCR_BW-defines.patch @@ -0,0 +1,12 @@ +--- 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 -- cgit v1.2.3