summaryrefslogtreecommitdiff
path: root/packages/linux/handhelds-pxa-2.4.19-rmk6-pxa1-hh37.4
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-06-30 08:19:37 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-06-30 08:19:37 +0000
commitc8e5702127e507e82e6f68a4b8c546803accea9d (patch)
tree00583491f40ecc640f2b28452af995e3a63a09d7 /packages/linux/handhelds-pxa-2.4.19-rmk6-pxa1-hh37.4
parent87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff)
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/linux/handhelds-pxa-2.4.19-rmk6-pxa1-hh37.4')
-rw-r--r--packages/linux/handhelds-pxa-2.4.19-rmk6-pxa1-hh37.4/.mtn2git_empty0
-rw-r--r--packages/linux/handhelds-pxa-2.4.19-rmk6-pxa1-hh37.4/mmc_h5400.patch20
2 files changed, 20 insertions, 0 deletions
diff --git a/packages/linux/handhelds-pxa-2.4.19-rmk6-pxa1-hh37.4/.mtn2git_empty b/packages/linux/handhelds-pxa-2.4.19-rmk6-pxa1-hh37.4/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/linux/handhelds-pxa-2.4.19-rmk6-pxa1-hh37.4/.mtn2git_empty
diff --git a/packages/linux/handhelds-pxa-2.4.19-rmk6-pxa1-hh37.4/mmc_h5400.patch b/packages/linux/handhelds-pxa-2.4.19-rmk6-pxa1-hh37.4/mmc_h5400.patch
index e69de29bb2..2f75747ebf 100644
--- a/packages/linux/handhelds-pxa-2.4.19-rmk6-pxa1-hh37.4/mmc_h5400.patch
+++ b/packages/linux/handhelds-pxa-2.4.19-rmk6-pxa1-hh37.4/mmc_h5400.patch
@@ -0,0 +1,20 @@
+--- kernel/drivers/mmc/mmc_h5400.c.old 2004-12-06 20:41:32.000000000 +0000
++++ kernel/drivers/mmc/mmc_h5400.c 2004-12-06 20:42:02.000000000 +0000
+@@ -28,6 +28,7 @@
+ #include <asm/irq.h>
+ #include <asm/io.h> /* ioremap() */
+ #include <asm/unaligned.h>
++#include <asm/mach-types.h>
+
+ #include <asm/arch/hardware.h>
+ #include <asm/arch/h5400-gpio.h>
+@@ -97,6 +98,9 @@
+ {
+ int retval;
+
++ if (!machine_is_h5400())
++ return -ENODEV;
++
+ h5400_mmc_lowlevel.sd_base = ioremap(H5400_ASIC_PHYS + _H5400_ASIC_SDI_Base, 0x10000) + 0x30;
+ retval = s3c_mmc_register_slot(&h5400_mmc_lowlevel);
+ if ( retval < 0 )