The NetBSD Project

CVS log for src/sys/arch/arm/omap/Attic/omap3_sdhc.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / arm / omap

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.32, Sat Oct 29 13:37:59 2022 UTC (3 months, 1 week ago) by jmcneill
Branch: MAIN
CVS Tags: HEAD
Changes since 1.31: +2 -2 lines
FILE REMOVED

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) - annotate - [select for diffs], Sun Feb 6 15:52:20 2022 UTC (12 months ago) by jmcneill
Branch: MAIN
CVS Tags: bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.30: +6 -4 lines
Diff to previous 1.30 (colored)

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) - annotate - [select for diffs], Mon Jun 10 22:05:55 2019 UTC (3 years, 7 months ago) by christos
Branch: phil-wifi
Changes since 1.29: +5 -5 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

Sync with HEAD

Revision 1.29.14.1 / (download) - annotate - [select for diffs], Thu Sep 6 06:55:27 2018 UTC (4 years, 5 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.29: +5 -5 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

Revision 1.30 / (download) - annotate - [select for diffs], Mon Sep 3 16:29:23 2018 UTC (4 years, 5 months ago) by riastradh
Branch: 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-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
Changes since 1.29: +5 -5 lines
Diff to previous 1.29 (colored)

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) - annotate - [select for diffs], Sun Dec 3 11:35:55 2017 UTC (5 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.1.2.4: +613 -123 lines
Diff to previous 1.1.2.4 (colored) next main 1.2 (colored)

update from HEAD

Revision 1.14.6.8 / (download) - annotate - [select for diffs], Mon Dec 5 10:54:50 2016 UTC (6 years, 2 months ago) by skrll
Branch: nick-nhusb
Changes since 1.14.6.7: +252 -165 lines
Diff to previous 1.14.6.7 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored)

Sync with HEAD

Revision 1.21.2.2 / (download) - annotate - [select for diffs], Fri Nov 4 14:48:59 2016 UTC (6 years, 3 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.21.2.1: +252 -165 lines
Diff to previous 1.21.2.1 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored)

Sync with HEAD

Revision 1.14.6.7 / (download) - annotate - [select for diffs], Wed Oct 5 20:55:25 2016 UTC (6 years, 4 months ago) by skrll
Branch: nick-nhusb
Changes since 1.14.6.6: +102 -57 lines
Diff to previous 1.14.6.6 (colored) to branchpoint 1.14 (colored)

Sync with HEAD

Revision 1.29 / (download) - annotate - [select for diffs], Wed Oct 5 16:27:15 2016 UTC (6 years, 4 months ago) by christos
Branch: 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-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
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored)

fix typo

Revision 1.28 / (download) - annotate - [select for diffs], Wed Oct 5 13:37:48 2016 UTC (6 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.27: +4 -6 lines
Diff to previous 1.27 (colored)

fix compilation.

Revision 1.27 / (download) - annotate - [select for diffs], Wed Oct 5 13:12:08 2016 UTC (6 years, 4 months ago) by kiyohara
Branch: MAIN
Changes since 1.26: +18 -14 lines
Diff to previous 1.26 (colored)

Fix rejected patch.
  Support am335x's MMCHS2(sdhc@mainbus).
    Tested on Gumstix Pepper 43C.

Revision 1.26 / (download) - annotate - [select for diffs], Tue Oct 4 16:06:42 2016 UTC (6 years, 4 months ago) by kiyohara
Branch: MAIN
Changes since 1.25: +232 -152 lines
Diff to previous 1.25 (colored)

Support am335x's MMCHS2(sdhc@mainbus).
  Tested on Gumstix Pepper 43C.

Revision 1.25 / (download) - annotate - [select for diffs], Tue Oct 4 15:51:34 2016 UTC (6 years, 4 months ago) by kiyohara
Branch: MAIN
Changes since 1.24: +9 -4 lines
Diff to previous 1.24 (colored)

Support ADMA2 on OMAP4430.
 Tested on Gumstix DuoVero.

Revision 1.24 / (download) - annotate - [select for diffs], Mon Aug 15 13:02:07 2016 UTC (6 years, 5 months ago) by mlelstv
Branch: MAIN
CVS Tags: nick-nhusb-base-20161004, localcount-20160914
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored)

use symbolic interrupt level for sdmmc, no functional change.

Revision 1.21.2.1 / (download) - annotate - [select for diffs], Sat Aug 6 00:19:04 2016 UTC (6 years, 6 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.21: +101 -56 lines
Diff to previous 1.21 (colored)

Sync with HEAD

Revision 1.23 / (download) - annotate - [select for diffs], Thu Aug 4 20:07:18 2016 UTC (6 years, 6 months ago) by jakllsch
Branch: MAIN
CVS Tags: pgoyette-localcount-20160806
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored)

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) - annotate - [select for diffs], Thu Aug 4 07:14:50 2016 UTC (6 years, 6 months ago) by kiyohara
Branch: MAIN
Changes since 1.21: +101 -56 lines
Diff to previous 1.21 (colored)

Support OMAP 4430.  But ADMA2 don't working yet.
tested on Gumstix DuoVero.

Revision 1.14.6.6 / (download) - annotate - [select for diffs], Sat Jul 9 20:24:50 2016 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.14.6.5: +8 -3 lines
Diff to previous 1.14.6.5 (colored) to branchpoint 1.14 (colored)

Sync with HEAD

Revision 1.21 / (download) - annotate - [select for diffs], Mon Jul 4 15:45:37 2016 UTC (6 years, 7 months ago) by kiyohara
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160726, nick-nhusb-base-20160907
Branch point for: pgoyette-localcount
Changes since 1.20: +8 -3 lines
Diff to previous 1.20 (colored)

AM335x's sdhc@obio use offset 0x100.
Oops this space maybe use HL registers?  OMAP4430 use this space.

Revision 1.14.6.5 / (download) - annotate - [select for diffs], Sun May 29 08:44:16 2016 UTC (6 years, 8 months ago) by skrll
Branch: nick-nhusb
Changes since 1.14.6.4: +4 -3 lines
Diff to previous 1.14.6.4 (colored) to branchpoint 1.14 (colored)

Sync with HEAD

Revision 1.20 / (download) - annotate - [select for diffs], Mon Apr 25 13:20:42 2016 UTC (6 years, 9 months ago) by kiyohara
Branch: MAIN
CVS Tags: nick-nhusb-base-20160529
Changes since 1.19: +4 -3 lines
Diff to previous 1.19 (colored)

Check ChipID == OMAP3530.  OVERO supports both OMAP3530/3503.

Revision 1.14.6.4 / (download) - annotate - [select for diffs], Sun Dec 27 12:09:31 2015 UTC (7 years, 1 month ago) by skrll
Branch: nick-nhusb
Changes since 1.14.6.3: +172 -14 lines
Diff to previous 1.14.6.3 (colored) to branchpoint 1.14 (colored)

Sync with HEAD (as of 26th Dec)

Revision 1.14.4.3 / (download) - annotate - [select for diffs], Tue Nov 17 19:21:14 2015 UTC (7 years, 2 months ago) by riz
Branch: 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
Changes since 1.14.4.2: +112 -14 lines
Diff to previous 1.14.4.2 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored)

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 &quot;edma errint!&quot; problem mentioned in port-arm/50288.

Revision 1.14.4.2 / (download) - annotate - [select for diffs], Sun Nov 8 01:22:54 2015 UTC (7 years, 3 months ago) by riz
Branch: netbsd-7
Changes since 1.14.4.1: +62 -2 lines
Diff to previous 1.14.4.1 (colored) to branchpoint 1.14 (colored)

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) - annotate - [select for diffs], Mon Nov 2 22:21:01 2015 UTC (7 years, 3 months ago) by jmcneill
Branch: MAIN
CVS Tags: nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226
Changes since 1.18: +62 -2 lines
Diff to previous 1.18 (colored)

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) - annotate - [select for diffs], Sun Nov 1 23:33:05 2015 UTC (7 years, 3 months ago) by jmcneill
Branch: MAIN
Changes since 1.17: +112 -14 lines
Diff to previous 1.17 (colored)

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) - annotate - [select for diffs], Tue Sep 22 12:05:38 2015 UTC (7 years, 4 months ago) by skrll
Branch: nick-nhusb
Changes since 1.14.6.2: +9 -9 lines
Diff to previous 1.14.6.2 (colored) to branchpoint 1.14 (colored)

Sync with HEAD

Revision 1.17 / (download) - annotate - [select for diffs], Fri Jul 31 15:00:07 2015 UTC (7 years, 6 months ago) by jmcneill
Branch: MAIN
CVS Tags: nick-nhusb-base-20150921
Changes since 1.16: +9 -9 lines
Diff to previous 1.16 (colored)

Simplify sdhc(4) locking

Revision 1.14.6.2 / (download) - annotate - [select for diffs], Sat Jun 6 14:39:56 2015 UTC (7 years, 8 months ago) by skrll
Branch: nick-nhusb
Changes since 1.14.6.1: +200 -6 lines
Diff to previous 1.14.6.1 (colored) to branchpoint 1.14 (colored)

Sync with HEAD

Revision 1.14.4.1 / (download) - annotate - [select for diffs], Sun Apr 19 04:37:17 2015 UTC (7 years, 9 months ago) by msaitoh
Branch: 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
Changes since 1.14: +200 -6 lines
Diff to previous 1.14 (colored)

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) - annotate - [select for diffs], Tue Apr 14 18:45:25 2015 UTC (7 years, 9 months ago) by bouyer
Branch: MAIN
CVS Tags: nick-nhusb-base-20150606
Changes since 1.15: +200 -6 lines
Diff to previous 1.15 (colored)

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) - annotate - [select for diffs], Mon Apr 6 15:17:53 2015 UTC (7 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored)

Sync with HEAD

Revision 1.15 / (download) - annotate - [select for diffs], Mon Jan 12 01:02:35 2015 UTC (8 years ago) by jakllsch
Branch: MAIN
CVS Tags: nick-nhusb-base-20150406
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored)

spell "regulator" correctly

Revision 1.1.2.4 / (download) - annotate - [select for diffs], Wed Aug 20 00:02:47 2014 UTC (8 years, 5 months ago) by tls
Branch: tls-maxphys
Changes since 1.1.2.3: +6 -6 lines
Diff to previous 1.1.2.3 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.2.2.5 / (download) - annotate - [select for diffs], Thu May 22 11:39:33 2014 UTC (8 years, 8 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.2.2.4: +16 -9 lines
Diff to previous 1.2.2.4 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

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) - annotate - [select for diffs], Sun May 18 17:44:59 2014 UTC (8 years, 8 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.12.2.1: +3 -3 lines
Diff to previous 1.12.2.1 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored)

sync with head

Revision 1.14 / (download) - annotate - [select for diffs], Sat Mar 29 23:32:41 2014 UTC (8 years, 10 months ago) by matt
Branch: 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
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored)

OMAP4/OMAP5 changes.

Revision 1.12.2.1 / (download) - annotate - [select for diffs], Wed Aug 28 23:59:12 2013 UTC (9 years, 5 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.12: +4 -4 lines
Diff to previous 1.12 (colored)

sync with head

Revision 1.13 / (download) - annotate - [select for diffs], Mon Aug 5 21:55:47 2013 UTC (9 years, 6 months ago) by jmcneill
Branch: MAIN
CVS Tags: riastradh-drm2-base3
Changes since 1.12: +4 -4 lines
Diff to previous 1.12 (colored)

fix a bug in obiosdhc_bus_clock where SYSCTL_CEN bit wasnt being cleared or set properly, from Rui Paulo

Revision 1.12 / (download) - annotate - [select for diffs], Fri Jun 28 00:50:22 2013 UTC (9 years, 7 months ago) by matt
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Branch point for: rmind-smpnet
Changes since 1.11: +5 -5 lines
Diff to previous 1.11 (colored)

Add TIAM335X SDMMC BASE definitions

Revision 1.1.2.3 / (download) - annotate - [select for diffs], Sun Jun 23 06:20:01 2013 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.1.2.2: +11 -4 lines
Diff to previous 1.1.2.2 (colored)

resync from head

Revision 1.11 / (download) - annotate - [select for diffs], Tue Jun 18 15:04:53 2013 UTC (9 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.10: +11 -4 lines
Diff to previous 1.10 (colored)

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) - annotate - [select for diffs], Mon Feb 25 00:28:31 2013 UTC (9 years, 11 months ago) by tls
Branch: tls-maxphys
Changes since 1.1.2.1: +92 -8 lines
Diff to previous 1.1.2.1 (colored)

resync with head

Revision 1.2.2.4 / (download) - annotate - [select for diffs], Wed Jan 23 00:05:43 2013 UTC (10 years ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.2.2.3: +11 -4 lines
Diff to previous 1.2.2.3 (colored) to branchpoint 1.2 (colored)

sync with head

Revision 1.2.2.3 / (download) - annotate - [select for diffs], Wed Jan 16 05:32:49 2013 UTC (10 years ago) by yamt
Branch: yamt-pagecache
Changes since 1.2.2.2: +83 -6 lines
Diff to previous 1.2.2.2 (colored) to branchpoint 1.2 (colored)

sync with (a bit old) head

Revision 1.10 / (download) - annotate - [select for diffs], Mon Dec 31 13:20:16 2012 UTC (10 years, 1 month ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-pagecache-base8, khorben-n900, agc-symver-base, agc-symver
Changes since 1.9: +7 -2 lines
Diff to previous 1.9 (colored)

beagleboard supports 8-bit SD mode

Revision 1.9 / (download) - annotate - [select for diffs], Sat Dec 29 00:08:26 2012 UTC (10 years, 1 month ago) by jmcneill
Branch: MAIN
Changes since 1.8: +2 -4 lines
Diff to previous 1.8 (colored)

no need to print irq twice

Revision 1.8 / (download) - annotate - [select for diffs], Sat Dec 29 00:05:45 2012 UTC (10 years, 1 month ago) by jmcneill
Branch: MAIN
Changes since 1.7: +5 -2 lines
Diff to previous 1.7 (colored)

dont set SDHC_FLAG_SINGLE_ONLY for OMAP3530 either

Revision 1.7 / (download) - annotate - [select for diffs], Sun Dec 23 18:34:01 2012 UTC (10 years, 1 month ago) by jakllsch
Branch: MAIN
Changes since 1.6: +3 -2 lines
Diff to previous 1.6 (colored)

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) - annotate - [select for diffs], Thu Dec 13 06:43:38 2012 UTC (10 years, 1 month ago) by riastradh
Branch: MAIN
CVS Tags: yamt-pagecache-base7
Changes since 1.5: +5 -2 lines
Diff to previous 1.5 (colored)

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) - annotate - [select for diffs], Wed Dec 12 15:19:53 2012 UTC (10 years, 1 month ago) by matt
Branch: MAIN
Changes since 1.4: +27 -4 lines
Diff to previous 1.4 (colored)

Improved SDHC support for OMAP3.
From jmcneill.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Dec 11 19:26:40 2012 UTC (10 years, 1 month ago) by riastradh
Branch: MAIN
Changes since 1.3: +48 -2 lines
Diff to previous 1.3 (colored)

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) - annotate - [select for diffs], Tue Dec 11 01:54:42 2012 UTC (10 years, 1 month ago) by khorben
Branch: MAIN
Changes since 1.2: +9 -4 lines
Diff to previous 1.2 (colored)

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) - annotate - [select for diffs], Wed Nov 28 22:40:36 2012 UTC (10 years, 2 months ago) by matt
Branch: matt-nb6-plus
Changes since 1.2.4.1: +291 -0 lines
Diff to previous 1.2.4.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Merge improved arm support (especially Cortex) from HEAD
including OMAP and BCM53xx support.

Revision 1.1.2.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:01:06 2012 UTC (10 years, 2 months ago) by tls
Branch: tls-maxphys
Changes since 1.1: +158 -6 lines
Diff to previous 1.1 (colored)

Resync to 2012-11-19 00:00:00 UTC

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Tue Oct 30 17:19:08 2012 UTC (10 years, 3 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.2.2.1: +291 -0 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored)

sync with head

Revision 1.2.4.1, Mon Oct 29 13:30:25 2012 UTC (10 years, 3 months ago) by matt
Branch: matt-nb6-plus
Changes since 1.2: +0 -291 lines
FILE REMOVED

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 (10 years, 3 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.2: +0 -291 lines
FILE REMOVED

file omap3_sdhc.c was added on branch yamt-pagecache on 2012-10-30 17:19:08 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Mon Oct 29 13:30:25 2012 UTC (10 years, 3 months ago) by kiyohara
Branch: MAIN
CVS Tags: yamt-pagecache-base6, matt-nb6-plus-nbase, matt-nb6-plus-base
Branch point for: yamt-pagecache, matt-nb6-plus
Changes since 1.1: +158 -6 lines
Diff to previous 1.1 (colored)

Support omap3 SDHC driver.  tested on OVERO only.

Revision 1.1 / (download) - annotate - [select for diffs], Thu Jul 12 03:08:26 2012 UTC (10 years, 6 months ago) by matt
Branch: MAIN
Branch point for: tls-maxphys

First pass at supporting the SD/MMC controllers on TI OMAP3/OMAP4 SoCs.
They are "mostly" SDHC.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>