CVS log for src/sys/arch/arm/omap/Attic/omap3_sdhc.c
Up to [cvs.NetBSD.org] / src / sys / arch / arm / omap
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.32
Sat Oct 29 13:37:59 2022 UTC (2 years, 4 months ago) by jmcneill
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
HEAD
FILE REMOVED
Changes since revision 1.31: +2 -2
lines
Remove old OMAP port.
This code was a mess and full of unmaintainable SoC and board specific
ifdefs. A modern devicetree port for OMAP3530 and AM335x based boards
now lives in arch/arm/ti. If someone is interested in bringing back
support for any boards lost in this transition, feel free, but please
do so using the new devicetree based model.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Sun Feb 6 15:52:20 2022 UTC (3 years, 1 month ago) by jmcneill
Branches: MAIN
CVS tags: bouyer-sunxi-drm-base,
bouyer-sunxi-drm
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +6 -4
lines
sdhc: Retire SDHC_FLAG_USE_ADMA2 flag.
ADMA2 support in sdhc is mature now, so no need for it to be opt-in.
Revision 1.29.16.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:05:55 2019 UTC (5 years, 9 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29: +5 -5
lines
Sync with HEAD
Revision 1.29.14.1: download - view: text, markup, annotated - select for diffs
Thu Sep 6 06:55:27 2018 UTC (6 years, 6 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29: +5 -5
lines
Sync with HEAD
Resolve a couple of conflicts (result of the uimin/uimax changes)
Revision 1.30: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:29:23 2018 UTC (6 years, 6 months ago) by riastradh
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-futex-base,
thorpej-futex,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
phil-wifi-20190609,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
netbsd-9-base,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
isaki-audio2-base,
isaki-audio2,
is-mlppp-base,
is-mlppp,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +5 -5
lines
Rename min/max -> uimin/uimax for better honesty.
These functions are defined on unsigned int. The generic name
min/max should not silently truncate to 32 bits on 64-bit systems.
This is purely a name change -- no functional change intended.
HOWEVER! Some subsystems have
#define min(a, b) ((a) < (b) ? (a) : (b))
#define max(a, b) ((a) > (b) ? (a) : (b))
even though our standard name for that is MIN/MAX. Although these
may invite multiple evaluation bugs, these do _not_ cause integer
truncation.
To avoid `fixing' these cases, I first changed the name in libkern,
and then compile-tested every file where min/max occurred in order to
confirm that it failed -- and thus confirm that nothing shadowed
min/max -- before changing it.
I have left a handful of bootloaders that are too annoying to
compile-test, and some dead code:
cobalt ews4800mips hp300 hppa ia64 luna68k vax
acorn32/if_ie.c (not included in any kernels)
macppc/if_gm.c (superseded by gem(4))
It should be easy to fix the fallout once identified -- this way of
doing things fails safe, and the goal here, after all, is to _avoid_
silent integer truncations, not introduce them.
Maybe one day we can reintroduce min/max as type-generic things that
never silently truncate. But we should avoid doing that for a while,
so that existing code has a chance to be detected by the compiler for
conversion to uimin/uimax without changing the semantics until we can
properly audit it all. (Who knows, maybe in some cases integer
truncation is actually intended!)
Revision 1.1.2.5: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:35:55 2017 UTC (7 years, 3 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.1.2.4: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.4: +613 -123
lines
update from HEAD
Revision 1.14.6.8: download - view: text, markup, annotated - select for diffs
Mon Dec 5 10:54:50 2016 UTC (8 years, 3 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.14.6.7: preferred, colored; branchpoint 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14.6.7: +252 -165
lines
Sync with HEAD
Revision 1.21.2.2: download - view: text, markup, annotated - select for diffs
Fri Nov 4 14:48:59 2016 UTC (8 years, 4 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.21.2.1: preferred, colored; branchpoint 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21.2.1: +252 -165
lines
Sync with HEAD
Revision 1.14.6.7: download - view: text, markup, annotated - select for diffs
Wed Oct 5 20:55:25 2016 UTC (8 years, 5 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.14.6.6: preferred, colored; branchpoint 1.14: preferred, colored
Changes since revision 1.14.6.6: +102 -57
lines
Sync with HEAD
Revision 1.29: download - view: text, markup, annotated - select for diffs
Wed Oct 5 16:27:15 2016 UTC (8 years, 5 months ago) by christos
Branches: MAIN
CVS tags: tls-maxphys-base-20171202,
prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
phil-wifi-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-compat-base,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
nick-nhusb-base-20170204,
nick-nhusb-base-20161204,
netbsd-8-base,
netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-8,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Branch point for: phil-wifi,
pgoyette-compat
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +3 -3
lines
fix typo
Revision 1.28: download - view: text, markup, annotated - select for diffs
Wed Oct 5 13:37:48 2016 UTC (8 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +4 -6
lines
fix compilation.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Wed Oct 5 13:12:08 2016 UTC (8 years, 5 months ago) by kiyohara
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +18 -14
lines
Fix rejected patch.
Support am335x's MMCHS2(sdhc@mainbus).
Tested on Gumstix Pepper 43C.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Tue Oct 4 16:06:42 2016 UTC (8 years, 5 months ago) by kiyohara
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +232 -152
lines
Support am335x's MMCHS2(sdhc@mainbus).
Tested on Gumstix Pepper 43C.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Tue Oct 4 15:51:34 2016 UTC (8 years, 5 months ago) by kiyohara
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +9 -4
lines
Support ADMA2 on OMAP4430.
Tested on Gumstix DuoVero.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Mon Aug 15 13:02:07 2016 UTC (8 years, 7 months ago) by mlelstv
Branches: MAIN
CVS tags: nick-nhusb-base-20161004,
localcount-20160914
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -3
lines
use symbolic interrupt level for sdmmc, no functional change.
Revision 1.21.2.1: download - view: text, markup, annotated - select for diffs
Sat Aug 6 00:19:04 2016 UTC (8 years, 7 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +101 -56
lines
Sync with HEAD
Revision 1.23: download - view: text, markup, annotated - select for diffs
Thu Aug 4 20:07:18 2016 UTC (8 years, 7 months ago) by jakllsch
Branches: MAIN
CVS tags: pgoyette-localcount-20160806
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +3 -3
lines
TI_DM37xx does not currently have a working omapscm(4), which provides
omap_devid(). Avoid using omap_devid() until correctly fixed.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Thu Aug 4 07:14:50 2016 UTC (8 years, 7 months ago) by kiyohara
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +101 -56
lines
Support OMAP 4430. But ADMA2 don't working yet.
tested on Gumstix DuoVero.
Revision 1.14.6.6: download - view: text, markup, annotated - select for diffs
Sat Jul 9 20:24:50 2016 UTC (8 years, 8 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.14.6.5: preferred, colored; branchpoint 1.14: preferred, colored
Changes since revision 1.14.6.5: +8 -3
lines
Sync with HEAD
Revision 1.21: download - view: text, markup, annotated - select for diffs
Mon Jul 4 15:45:37 2016 UTC (8 years, 8 months ago) by kiyohara
Branches: MAIN
CVS tags: pgoyette-localcount-base,
pgoyette-localcount-20160726,
nick-nhusb-base-20160907
Branch point for: pgoyette-localcount
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +8 -3
lines
AM335x's sdhc@obio use offset 0x100.
Oops this space maybe use HL registers? OMAP4430 use this space.
Revision 1.14.6.5: download - view: text, markup, annotated - select for diffs
Sun May 29 08:44:16 2016 UTC (8 years, 9 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.14.6.4: preferred, colored; branchpoint 1.14: preferred, colored
Changes since revision 1.14.6.4: +4 -3
lines
Sync with HEAD
Revision 1.20: download - view: text, markup, annotated - select for diffs
Mon Apr 25 13:20:42 2016 UTC (8 years, 10 months ago) by kiyohara
Branches: MAIN
CVS tags: nick-nhusb-base-20160529
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +4 -3
lines
Check ChipID == OMAP3530. OVERO supports both OMAP3530/3503.
Revision 1.14.6.4: download - view: text, markup, annotated - select for diffs
Sun Dec 27 12:09:31 2015 UTC (9 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.14.6.3: preferred, colored; branchpoint 1.14: preferred, colored
Changes since revision 1.14.6.3: +172 -14
lines
Sync with HEAD (as of 26th Dec)
Revision 1.14.4.3: download - view: text, markup, annotated - select for diffs
Tue Nov 17 19:21:14 2015 UTC (9 years, 4 months ago) by riz
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1
Diff to: previous 1.14.4.2: preferred, colored; branchpoint 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14.4.2: +112 -14
lines
Pull up following revision(s) (requested by jmcneill in ticket #1017):
sys/arch/arm/omap/omap3_sdhc.c: revision 1.18
AM335x EDMA3 has an alignment restriction for both SAM and DAM in constant
addressing mode. In these cases, the physical address must be aligned to
256-bits. To handle this, pre-allocate a MAXPHYS sized bounce buffer and
use it for unaligned transfers.
Fixes "edma errint!" problem mentioned in port-arm/50288.
Revision 1.14.4.2: download - view: text, markup, annotated - select for diffs
Sun Nov 8 01:22:54 2015 UTC (9 years, 4 months ago) by riz
Branches: netbsd-7
Diff to: previous 1.14.4.1: preferred, colored; branchpoint 1.14: preferred, colored
Changes since revision 1.14.4.1: +62 -2
lines
Pull up following revision(s) (requested by jmcneill in ticket #1022):
sys/dev/sdmmc/sdhc.c: revision 1.89
sys/arch/arm/omap/omap3_sdhc.c: revision 1.19
sys/dev/sdmmc/sdhcvar.h: revision 1.25
sys/arch/evbarm/beagle/beagle_machdep.c: revision 1.62
allow vendor specific code to hook into bus width changes
Support 8-bit eMMC for TI AM335x. On my BeagleBone Black,
Before: 134217728 bytes transferred in 9.410 secs (14263307 bytes/sec)
After: 134217728 bytes transferred in 7.518 secs (17852850 bytes/sec)
enable 8-bit mode on AM335X SDMMC2
Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon Nov 2 22:21:01 2015 UTC (9 years, 4 months ago) by jmcneill
Branches: MAIN
CVS tags: nick-nhusb-base-20160422,
nick-nhusb-base-20160319,
nick-nhusb-base-20151226
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +62 -2
lines
Support 8-bit eMMC for TI AM335x. On my BeagleBone Black,
Before: 134217728 bytes transferred in 9.410 secs (14263307 bytes/sec)
After: 134217728 bytes transferred in 7.518 secs (17852850 bytes/sec)
Revision 1.18: download - view: text, markup, annotated - select for diffs
Sun Nov 1 23:33:05 2015 UTC (9 years, 4 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +112 -14
lines
AM335x EDMA3 has an alignment restriction for both SAM and DAM in constant
addressing mode. In these cases, the physical address must be aligned to
256-bits. To handle this, pre-allocate a MAXPHYS sized bounce buffer and
use it for unaligned transfers.
Fixes "edma errint!" problem mentioned in port-arm/50288.
Revision 1.14.6.3: download - view: text, markup, annotated - select for diffs
Tue Sep 22 12:05:38 2015 UTC (9 years, 6 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.14.6.2: preferred, colored; branchpoint 1.14: preferred, colored
Changes since revision 1.14.6.2: +9 -9
lines
Sync with HEAD
Revision 1.17: download - view: text, markup, annotated - select for diffs
Fri Jul 31 15:00:07 2015 UTC (9 years, 7 months ago) by jmcneill
Branches: MAIN
CVS tags: nick-nhusb-base-20150921
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +9 -9
lines
Simplify sdhc(4) locking
Revision 1.14.6.2: download - view: text, markup, annotated - select for diffs
Sat Jun 6 14:39:56 2015 UTC (9 years, 9 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.14.6.1: preferred, colored; branchpoint 1.14: preferred, colored
Changes since revision 1.14.6.1: +200 -6
lines
Sync with HEAD
Revision 1.14.4.1: download - view: text, markup, annotated - select for diffs
Sun Apr 19 04:37:17 2015 UTC (9 years, 11 months ago) by msaitoh
Branches: netbsd-7
CVS tags: netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +200 -6
lines
Pull up following revision(s) (requested by bouyer in ticket #704):
sys/arch/arm/omap/omap_edma.c: revision 1.1
sys/arch/arm/omap/omap_edma.h: revision 1.1
sys/arch/arm/omap/files.omap2: revision 1.30
sys/arch/arm/omap/omap2_obiovar.h: revision 1.3
sys/arch/arm/omap/omap3_sdhc.c: revision 1.16
sys/arch/arm/omap/omap2_reg.h: revision 1.29
sys/arch/evbarm/conf/BEAGLEBONE: revision 1.31
sys/arch/arm/omap/omap2_obio.c: revision 1.22
- Add a driver for the Enhanced Direct Memory Access controller found
in the AM335x SoC. Written by Jared D. McNeill, with some final debug by me.
- Supports only DMA (not QDMA) yet, and there's no support for DMA event
matrix yet (this means that only primary DMA events can be used)
- Add support for DMA transfers. From Jared D. McNeill, with final debug by
me. With this I can get nearly 20MB/s from my sdcard on the BB black at 1Ghz
(not bad for a 50Mhz 4-bits bus), and still 15MB/s on the BB white at
low speed (275Mhz).
- Add the edma controller, and enable DMA for sdhc0 and sdhc1
Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue Apr 14 18:45:25 2015 UTC (9 years, 11 months ago) by bouyer
Branches: MAIN
CVS tags: nick-nhusb-base-20150606
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +200 -6
lines
Add support for DMA transfers. From Jared D. McNeill, with final debug by me.
With this I can get nearly 20MB/s from my sdcard on the BB black at 1Ghz
(not bad for a 50Mhz 4-bits bus), and still 15MB/s on the BB white at
low speed (275Mhz).
Revision 1.14.6.1: download - view: text, markup, annotated - select for diffs
Mon Apr 6 15:17:53 2015 UTC (9 years, 11 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -3
lines
Sync with HEAD
Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon Jan 12 01:02:35 2015 UTC (10 years, 2 months ago) by jakllsch
Branches: MAIN
CVS tags: nick-nhusb-base-20150406
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -3
lines
spell "regulator" correctly
Revision 1.1.2.4: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:02:47 2014 UTC (10 years, 7 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.1.2.3: preferred, colored
Changes since revision 1.1.2.3: +6 -6
lines
Rebase to HEAD as of a few days ago.
Revision 1.2.2.5: download - view: text, markup, annotated - select for diffs
Thu May 22 11:39:33 2014 UTC (10 years, 10 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.2.2.4: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.4: +16 -9
lines
sync with head.
for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
Revision 1.12.2.2: download - view: text, markup, annotated - select for diffs
Sun May 18 17:44:59 2014 UTC (10 years, 10 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.12.2.1: preferred, colored; branchpoint 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12.2.1: +3 -3
lines
sync with head
Revision 1.14: download - view: text, markup, annotated - select for diffs
Sat Mar 29 23:32:41 2014 UTC (10 years, 11 months ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base9,
tls-maxphys-base,
tls-earlyentropy-base,
tls-earlyentropy,
rmind-smpnet-nbase,
rmind-smpnet-base,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
nick-nhusb-base,
netbsd-7-base
Branch point for: nick-nhusb,
netbsd-7
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -3
lines
OMAP4/OMAP5 changes.
Revision 1.12.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 28 23:59:12 2013 UTC (11 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +4 -4
lines
sync with head
Revision 1.13: download - view: text, markup, annotated - select for diffs
Mon Aug 5 21:55:47 2013 UTC (11 years, 7 months ago) by jmcneill
Branches: MAIN
CVS tags: riastradh-drm2-base3
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +4 -4
lines
fix a bug in obiosdhc_bus_clock where SYSCTL_CEN bit wasnt being cleared or set properly, from Rui Paulo
Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri Jun 28 00:50:22 2013 UTC (11 years, 8 months ago) by matt
Branches: MAIN
CVS tags: riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2
Branch point for: rmind-smpnet
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +5 -5
lines
Add TIAM335X SDMMC BASE definitions
Revision 1.1.2.3: download - view: text, markup, annotated - select for diffs
Sun Jun 23 06:20:01 2013 UTC (11 years, 9 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.1.2.2: preferred, colored
Changes since revision 1.1.2.2: +11 -4
lines
resync from head
Revision 1.11: download - view: text, markup, annotated - select for diffs
Tue Jun 18 15:04:53 2013 UTC (11 years, 9 months ago) by matt
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +11 -4
lines
Initial OMAP4 changes.
Attaches but ...
sdhc0 at obio2 addr 0x4809c000-0x4809ceff intr 115: SDHC controller
sdhc0: SD Host Specification 1.0, rev.0
sdmmc0 at sdhc0 slot 0
sdhc0: INIT Procedure timeout
sdmmc0: couldn't supply clock
sdmmc0: couldn't enable card: 60
Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Mon Feb 25 00:28:31 2013 UTC (12 years ago) by tls
Branches: tls-maxphys
Diff to: previous 1.1.2.1: preferred, colored
Changes since revision 1.1.2.1: +92 -8
lines
resync with head
Revision 1.2.2.4: download - view: text, markup, annotated - select for diffs
Wed Jan 23 00:05:43 2013 UTC (12 years, 2 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.2.2.3: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.3: +11 -4
lines
sync with head
Revision 1.2.2.3: download - view: text, markup, annotated - select for diffs
Wed Jan 16 05:32:49 2013 UTC (12 years, 2 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.2.2.2: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.2: +83 -6
lines
sync with (a bit old) head
Revision 1.10: download - view: text, markup, annotated - select for diffs
Mon Dec 31 13:20:16 2012 UTC (12 years, 2 months ago) by jmcneill
Branches: MAIN
CVS tags: yamt-pagecache-base8,
khorben-n900,
agc-symver-base,
agc-symver
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +7 -2
lines
beagleboard supports 8-bit SD mode
Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Dec 29 00:08:26 2012 UTC (12 years, 2 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -4
lines
no need to print irq twice
Revision 1.8: download - view: text, markup, annotated - select for diffs
Sat Dec 29 00:05:45 2012 UTC (12 years, 2 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +5 -2
lines
dont set SDHC_FLAG_SINGLE_ONLY for OMAP3530 either
Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun Dec 23 18:34:01 2012 UTC (12 years, 3 months ago) by jakllsch
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -2
lines
TI_AM335X SDHCI does not need SDHC_FLAG_SINGLE_ONLY. This was
drastically hindering transfer rate performance.
I suspect SDHC_FLAG_SINGLE_ONLY is bogus on most/all other TI-flavored
SDHCI cores as well, but I am unable to confirm.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Dec 13 06:43:38 2012 UTC (12 years, 3 months ago) by riastradh
Branches: MAIN
CVS tags: yamt-pagecache-base7
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +5 -2
lines
Implement TI AM335x's SDHC reset quirk. Beaglebone SDHC works now!
On the AM335x, we first must wait for the controller to acknowledge
the reset; then we can wait for the reset to complete.
I believe this quirk also applies to the OMAP4 ES, but I don't have
one of those to test and we don't seem to have an obvious conditional
for it anyway.
This quirk may work for controllers that don't require it too, but I
am nervous about doing it by default because if we miss the reset
acknowledgement, then we'll just time out even though everything is
really hunky-dory.
Also, for all sdhc, don't bother writing 0 in sdhc_soft_reset while
waiting for the reset to complete; there is no need.
ok matt
Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Dec 12 15:19:53 2012 UTC (12 years, 3 months ago) by matt
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +27 -4
lines
Improved SDHC support for OMAP3.
From jmcneill.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Dec 11 19:26:40 2012 UTC (12 years, 3 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +48 -2
lines
Initial kludgerific attempt at making sdhc work on the AM335x.
There's a timing issue somewhere in the whole sdmmc thing so that
this doesn't actually work without SDMMC_DEBUG or some specially
crafted debugging messages, and the SoC-specific code needs to be
separated out here another way, but it's a little progress.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Dec 11 01:54:42 2012 UTC (12 years, 3 months ago) by khorben
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +9 -4
lines
Added kernel option OMAP_3430 to allow easy differentiation between the
BEAGLEBOARD and N900 kernels; otherwise no real change.
Resulting N900 kernel tested with no visible regression.
<gimpy> go for it
Revision 1.2.4.2: download - view: text, markup, annotated - select for diffs
Wed Nov 28 22:40:36 2012 UTC (12 years, 3 months ago) by matt
Branches: matt-nb6-plus
Diff to: previous 1.2.4.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.4.1: +291 -0
lines
Merge improved arm support (especially Cortex) from HEAD
including OMAP and BCM53xx support.
Revision 1.1.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 20 03:01:06 2012 UTC (12 years, 4 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +158 -6
lines
Resync to 2012-11-19 00:00:00 UTC
Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:19:08 2012 UTC (12 years, 4 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.1: +291 -0
lines
sync with head
Revision 1.2.4.1
Mon Oct 29 13:30:25 2012 UTC (12 years, 4 months ago) by matt
Branches: matt-nb6-plus
FILE REMOVED
Changes since revision 1.2: +0 -291
lines
file omap3_sdhc.c was added on branch matt-nb6-plus on 2012-11-28 22:40:36 +0000
Revision 1.2.2.1
Mon Oct 29 13:30:25 2012 UTC (12 years, 4 months ago) by yamt
Branches: yamt-pagecache
FILE REMOVED
Changes since revision 1.2: +0 -291
lines
file omap3_sdhc.c was added on branch yamt-pagecache on 2012-10-30 17:19:08 +0000
Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Oct 29 13:30:25 2012 UTC (12 years, 4 months ago) by kiyohara
Branches: MAIN
CVS tags: yamt-pagecache-base6,
matt-nb6-plus-nbase,
matt-nb6-plus-base
Branch point for: yamt-pagecache,
matt-nb6-plus
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +158 -6
lines
Support omap3 SDHC driver. tested on OVERO only.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu Jul 12 03:08:26 2012 UTC (12 years, 8 months ago) by matt
Branches: MAIN
Branch point for: tls-maxphys
First pass at supporting the SD/MMC controllers on TI OMAP3/OMAP4 SoCs.
They are "mostly" SDHC.
CVSweb <webmaster@jp.NetBSD.org>