summaryrefslogtreecommitdiffstats
path: root/package/uboot-kirkwood/patches/0003-ide_bus.patch
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-10-16 13:44:25 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-10-16 13:44:25 +0000
commita3a71d430b762ca48c6030c92d268a86b9f9137d (patch)
tree5937de88cb9dca7bfebc4dc3dce3cf904bf65357 /package/uboot-kirkwood/patches/0003-ide_bus.patch
parent05a3ece84affbb56ac43d1bf67b15d06bb354ca0 (diff)
[boot] move boot related packages to their own folder
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33781 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/uboot-kirkwood/patches/0003-ide_bus.patch')
-rw-r--r--package/uboot-kirkwood/patches/0003-ide_bus.patch17
1 files changed, 0 insertions, 17 deletions
diff --git a/package/uboot-kirkwood/patches/0003-ide_bus.patch b/package/uboot-kirkwood/patches/0003-ide_bus.patch
deleted file mode 100644
index c94d63da9..000000000
--- a/package/uboot-kirkwood/patches/0003-ide_bus.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-http://lists.denx.de/pipermail/u-boot/2012-April/122594.html
-http://patchwork.ozlabs.org/patch/159129/
----
-
-diff --git a/include/ide.h b/include/ide.h
-index 8ecc9dd..385e909 100644
---- a/include/ide.h
-+++ b/include/ide.h
-@@ -24,7 +24,7 @@
- #ifndef _IDE_H
- #define _IDE_H
-
--#define IDE_BUS(dev) (dev >> 1)
-+#define IDE_BUS(dev) (dev / (CONFIG_SYS_IDE_MAXDEVICE / CONFIG_SYS_IDE_MAXBUS))
-
- #define ATA_CURR_BASE(dev) (CONFIG_SYS_ATA_BASE_ADDR+ide_bus_offset[IDE_BUS(dev)])
-