aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ppc40x/patches-2.6.30/003-powerpc-add-EBC_BXCR_BW-defines.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-07-20 07:10:00 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-07-20 07:10:00 +0000
commit232b3c6820593d4f7e43d2a3e9fa1c78e103d4ba (patch)
tree1750ec7c50a5437886dca3aece9d45c0b08922d0 /target/linux/ppc40x/patches-2.6.30/003-powerpc-add-EBC_BXCR_BW-defines.patch
parent5b7c605452b122e52625bb8c661efdeb079e73cf (diff)
downloadmaster-187ad058-232b3c6820593d4f7e43d2a3e9fa1c78e103d4ba.tar.gz
master-187ad058-232b3c6820593d4f7e43d2a3e9fa1c78e103d4ba.tar.bz2
master-187ad058-232b3c6820593d4f7e43d2a3e9fa1c78e103d4ba.zip
[ppc40x] merge 2.6.30 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16926 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ppc40x/patches-2.6.30/003-powerpc-add-EBC_BXCR_BW-defines.patch')
-rw-r--r--target/linux/ppc40x/patches-2.6.30/003-powerpc-add-EBC_BXCR_BW-defines.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/ppc40x/patches-2.6.30/003-powerpc-add-EBC_BXCR_BW-defines.patch b/target/linux/ppc40x/patches-2.6.30/003-powerpc-add-EBC_BXCR_BW-defines.patch
new file mode 100644
index 0000000000..8e380c1c9c
--- /dev/null
+++ b/target/linux/ppc40x/patches-2.6.30/003-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