[haiku-commits] Change in ...haiku[master]: sdhci: refactor, get CMD0 working

  • From: Gerrit <review@xxxxxxxxxxxxxxxxxxx>
  • To: waddlesplash <waddlesplash@xxxxxxxxx>, haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 10 Feb 2019 18:17:19 +0000

From Adrien Destugues <pulkomandy@xxxxxxxxx>:

Adrien Destugues has uploaded this change for review. ( 
https://review.haiku-os.org/c/haiku/+/1029


Change subject: sdhci: refactor, get CMD0 working
......................................................................

sdhci: refactor, get CMD0 working

- Define a class for each register, allowing easier access to relevant
  values. This avoids dealing with bitshifts and magic constants all
  over the code.
- Fix definition of CMD0 and the flags used to submit it. We now get a
  command completion interrupt, yay!
- Make some changes to support v3 and v4 controllers:
  - Enable PLL (harmless for older versions)
  - Manage faster and more configurable clock settings
---
M src/add-ons/kernel/busses/mmc/sdhci_pci.cpp
M src/add-ons/kernel/busses/mmc/sdhci_pci.h
2 files changed, 220 insertions(+), 89 deletions(-)



  git pull ssh://git.haiku-os.org/haiku refs/changes/29/1029/1
--
To view, visit https://review.haiku-os.org/c/haiku/+/1029
To unsubscribe, or for help writing mail filters, visit 
https://review.haiku-os.org/settings

Gerrit-Project: haiku
Gerrit-Branch: master
Gerrit-Change-Id: I8a97edcb881acc1ac2a8b0a2593930f18e777594
Gerrit-Change-Number: 1029
Gerrit-PatchSet: 1
Gerrit-Owner: Adrien Destugues <pulkomandy@xxxxxxxxx>
Gerrit-MessageType: newchange

Other related posts:

  • » [haiku-commits] Change in ...haiku[master]: sdhci: refactor, get CMD0 working - Gerrit