repo.or.cz
/
qemu
/
armbru.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
hw/sd/sdcard: Basis for eMMC support
2024-07-16
Philippe Mat
h
i
eu
.
.
.
hw
/
sd/sdcard:
B
asis for eMMC support
Signed-off-by:
Philippe Mathieu-Daudé
<f4bug@amsat.org>
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-05
Philippe Mathieu
.
.
.
hw/sd/sdcard:
Extract
TYPE_SDMMC_COMMON fr
o
m TY
P
E_SD_CAR
D
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-05
Phi
l
ipp
e
Mat
h
ieu
.
.
.
hw/sd/sdca
r
d:
I
ntroduce set_csd
/
set_cid handlers
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-05
Philippe Mathieu
.
.
.
h
w
/
sd/sdcard: Cov
e
r more SDCardSt
a
t
e
s
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-05
Phil
i
ppe Mat
h
ie
u
.
.
.
hw/sd/sdcard: T
r
ace le
n
gth of data re
a
d on DAT
lines
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-05
Philippe Mat
h
ieu
.
.
.
hw/sd/sdcard:
Remov
e
default case
in read/write o
n
.
.
.
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-05
Philippe
M
athie
u
.
.
.
hw/sd/sdcard: Remov
e
n
o
ise f
r
om sd_cmd_na
m
e()
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-05
P
hilip
p
e Mathieu
.
.
.
hw/s
d
/sdcard: Remov
e
noise from sd_acmd_name()
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-05
Philippe Mathie
u
.
.
.
hw/sd/sdcard: Remo
v
e
s
d_none enum from sd_cmd_type_t
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-05
Philippe Math
i
eu
.
.
.
h
w
/
sd/sd
c
ard: A
d
d sd_cmd_GEN_CMD han
d
ler (CM
D
56)
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-05
Phili
p
p
e
Mathi
e
u
.
.
.
hw/sd/sd
c
ard: Rena
m
e sd_cmd_SEND_OP
_
COND handler
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-05
Ph
i
lippe Mathieu
.
.
.
hw/sd/sdcard: Us
e
sp
e
c v3
.
0
1
b
y default
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-05
Philipp
e
Mathieu
.
.
.
hw/sd/sdcard:
R
e
move lef
t
ov
e
r comment about
r
em
o
v
ed
.
.
.
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-05
Phi
l
ippe Mathieu
.
.
.
hw/sd/
s
dcard: Generate
rando
m
RCA
value
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-05
Philippe Mathi
e
u
.
.
.
tests/qtest/npcm7x
x
_sdhci: Access the car
d
u
s
i
ng its
.
.
.
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-05
Philippe Mathieu
.
.
.
h
w
/sd/npcm7xx_sdhci: Us
e
T
YPE_
S
YSBUS_SDHCI definiti
o
n
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-05
P
h
i
li
p
pe Mathieu
.
.
.
hw
/
sd/sdh
c
i: Log non-sequen
c
i
al access
a
s
GU
E
ST_ER
R
O
R
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-05
Philippe Math
i
eu
.
.
.
accel/t
c
g
:
Move
q
e
mu_plu
g
in_vcpu_init__async()
to plugins/
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-05
Philippe M
a
thieu
.
.
.
plugi
n
s: Free
C
PUPlugin
S
tate before des
t
roying vC
P
U
.
.
.
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-05
P
hilippe Math
i
eu
.
.
.
plug
i
ns
:
Ensure
vCPU index is
assigned
in
init
/
exit
.
.
.
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
P
h
ilippe Mathieu
.
.
.
hw
/
s
d/sdcard:
A
dd sd_ac
m
d_SEND_SCR handler (ACMD51)
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
Philipp
e
Math
i
eu
.
.
.
hw/sd/sdcard:
A
d
d sd_
a
cmd_SET_CLR_CAR
D
_DETECT
handler
.
.
.
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
Philippe Mathieu
.
.
.
hw/sd/sdc
a
r
d
: Add sd_acmd_SD_
A
PP_OP_
C
ON
D
handler (ACMD41
)
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
Philippe M
a
thieu
.
.
.
h
w
/sd/sdc
a
rd: Add sd_acmd_SE
T
_WR_BLK_ERAS
E
_COUNT handl
e
r
.
.
.
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
Philippe Mathieu
.
.
.
hw/sd/sdcard:
A
dd sd_
a
cmd_
S
END_NUM_WR_B
L
OC
K
S handler
.
.
.
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
Philipp
e
Mathi
e
u
.
.
.
hw/sd/sd
c
ard: Add
s
d_acmd_SD_ST
A
TUS handler (ACMD13)
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
Ph
i
lippe Mathieu
.
.
.
hw/sd/sdcard: Add sd_acmd_SET_BU
S
_WI
D
T
H
h
andle
r
(ACMD6)
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
Philippe Ma
t
hieu
.
.
.
hw/sd
/
sdcar
d
: A
d
d spi
_
cmd_
C
RC_ON_OFF handler (
C
MD
5
9)
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
Phi
l
ippe Mathieu
.
.
.
h
w
/
s
d/sdcard
:
Add spi_cmd
_
READ
_
O
C
R han
d
ler (
C
MD58)
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
P
h
i
lippe Mathieu
.
.
.
hw
/
sd/sdcard: Add sd_cmd_APP_CMD
h
andler (CMD55)
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
Philippe Mathieu
.
.
.
hw/sd/sdca
r
d:
A
dd sd_cmd_LOCK_UNLOCK handler (CMD42)
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
Philippe Mathieu
.
.
.
hw/sd/sdcard:
Add
sd_cmd_ERA
S
E ha
n
dler
(
CMD38)
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
Philippe
M
a
t
hieu
.
.
.
hw/sd/sdcard: Add sd_cmd_E
R
A
S
E_
W
R_B
L
K_
S
TART
/
END handlers
.
.
.
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
Ph
i
li
p
pe
Mathieu
.
.
.
h
w
/sd/sdcard: Add sd_cmd_SE
N
D_WRI
T
E
_
PROT handler
(
CMD30)
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
Philippe
M
athieu
.
.
.
hw/sd/sdcard: Add sd_cm
d
_SET/CLR_
W
RITE_
P
ROT
h
andler
.
.
.
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
Philippe Mathieu
.
.
.
hw/sd/s
d
card: Add sd_cmd_PROGRAM_CSD han
d
ler (CMD27)
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
Philippe Mathi
e
u
.
.
.
hw/sd/sdcard: Add
s
d
_
cmd_WRITE
_
SINGLE_
B
L
OCK handler
.
.
.
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
P
hil
i
pp
e
Mathie
u
.
.
.
hw/sd/sdcard
:
Ad
d
sd_c
m
d_READ_SIN
G
L
E
_BL
O
CK h
a
ndler
.
.
.
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
Phi
l
ippe
M
a
t
hieu
.
.
.
hw
/
sd/sdc
a
rd
:
A
d
d sd_cmd_SET_BLOCKL
E
N handler (CM
D
1
6
)
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
Philippe M
a
t
hieu
.
.
.
hw/
s
d/sdcard: Add
s
d_cmd_GO
_
INACTIVE_S
T
ATE h
a
nd
l
er
.
.
.
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
Phili
p
pe Mathi
e
u
.
.
.
hw/sd/sdcard: Add sd_cmd_SEND_STATUS handler
(
CMD
1
3)
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
P
h
i
li
p
pe
Mathieu
.
.
.
hw/sd/sdcard:
A
dd sd_cmd_STOP_TRANS
M
ISSION handl
e
r
.
.
.
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
Philippe Mat
h
ieu
.
.
.
hw/sd
/
sdcard:
A
dd s
p
i_cmd
_
S
E
ND_C
S
D/CID
h
a
n
dlers
(
CMD9
.
.
.
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
Philippe Mathi
e
u
.
.
.
hw/sd
/
sdcard:
A
dd
sd_cmd_SEND_C
S
D/
C
ID han
d
lers (CMD
9
.
.
.
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
Philippe Mathieu
.
.
.
hw/sd/sdc
a
rd: Add sd_cmd_SEND
_
IF_COND
handl
e
r (
C
MD8)
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
Phil
i
p
p
e
M
athieu
.
.
.
h
w
/sd/sdc
a
rd: Add
s
d_cmd_DE/SELECT_
C
ARD hand
l
e
r
(CM
D
7
)
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
Phi
l
ippe Ma
t
hieu
.
.
.
hw/sd
/
sd
c
a
r
d: Add sd_
c
m
d_SW
I
TCH_FUNCTION han
d
ler
(C
M
D6)
Signed-off-by:
Philippe Mathieu-Daudé
<f4bug@amsat.org>
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
Philippe Mathie
u
.
.
.
hw/sd/sdc
a
rd
:
Register
S
ecurity Extens
i
o
n optional
.
.
.
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
Philippe
M
a
t
hieu
.
.
.
hw/sd/sdcard: Register
S
D
IO option
a
l handlers
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
Phil
i
ppe Mathieu
.
.
.
hw/
s
d/sdcard:
R
e
gis
t
er
o
p
tional han
d
lers from spec
.
.
.
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
Phil
i
ppe
Mathie
u
.
.
.
h
w/sd/sdcard: Reg
i
ster
g
eneric optional handlers (CMD11
.
.
.
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
Philippe Ma
t
hieu
.
.
.
hw/sd/sdcard: Remov
e
SEND_DSR dead case (C
M
D4)
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
P
h
ilippe Mathieu
.
.
.
hw
/
sd/sdcard: S
t
ore comman
d
class in SDP
r
o
t
o
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
Philippe
M
athieu
.
.
.
hw/s
d
/sdcard
:
St
o
re command
t
ype i
n
SDProto
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
Phili
p
pe Mathieu
.
.
.
hw/sd/sdcard:
S
tore comman
d
name in S
D
Prot
o
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
Ph
i
l
i
ppe Mat
h
ieu
.
.
.
h
w
/
s
d
/sdcard: Prepare SD
P
ro
t
o to conta
i
n more fields
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
Phi
l
ip
p
e Mat
h
ieu
.
.
.
hw/sd/s
d
card: Pa
s
s
SDState as argume
n
t to sd_[a]cmd_name()
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
Philippe Mathieu
.
.
.
hw
/
s
d
/sdcard: Mov
e
s
d
_[a]cmd_name() methods
t
o s
d
.
c
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
Philippe
Math
i
eu
.
.
.
hw/sd/sdcard: Co
n
v
e
rt LOCK_UNLOCK t
o
generic
_
wri
t
e_
b
yte
.
.
.
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
Phili
p
pe Mathieu
.
.
.
hw/sd/s
d
car
d
: Convert PROGRA
M
_CSD to gener
i
c_write
_
b
yte
.
.
.
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
Philippe Mathieu
.
.
.
hw/sd/sdcard: Convert PROGRA
M
_CID to g
e
neric
_
write_byte
.
.
.
Signed-off-by:
Philippe Mathieu-Daudé
<f4bug@amsat.org>
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
P
h
ili
p
pe Mathieu
.
.
.
h
w
/sd/sdcard: Convert WRIT
E
_SIN
G
LE_BLO
C
K to gener
i
c_write_b
y
.
.
.
Signed-off-by:
Philippe Mathieu-Daudé
<f4bug@amsat.org>
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
Ph
i
lippe Mathieu
.
.
.
hw/sd/
s
dcard:
Duplicate WRIT
E
_SI
N
GL
E
_BLOCK / WRITE_MULTIPLE_
.
.
.
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
Philip
p
e
M
a
thie
u
.
.
.
hw/
s
d/sdcar
d
: Introduce sd_cmd
_
to_receivin
g
data
/
sd_g
e
n
eri
c
.
.
.
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
Philippe
M
at
h
i
e
u
.
.
.
hw/sd/sdc
a
rd: Convert SEND_
S
CR to ge
n
eric_read_
b
yte
.
.
.
Signed-off-by:
Philippe Mathieu-Daudé
<f4bug@amsat.org>
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
Phili
p
pe Mathi
e
u
.
.
.
hw/s
d
/sdcard: Convert SEND_NUM_WR_BLOCKS to generi
c
_re
a
d
_
byt
.
.
.
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
P
h
i
l
i
p
pe
M
a
t
hieu
.
.
.
h
w/sd/sdcar
d
: Convert SD_STATU
S
to
gen
e
ric_
r
ead_byte
.
.
.
Signed-off-by:
Philippe Mathieu-Daudé
<f4bug@amsat.org>
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
Philippe Mathieu
.
.
.
hw/sd
/
sdcard:
C
on
v
ert SEND_WR
I
TE_PROT to generic_read_
b
y
te
.
.
.
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
Philip
p
e Mathieu
.
.
.
h
w/sd/sdcard
:
Co
n
vert SEND_TUNING_
B
LOCK
to generic_rea
d
_byte
.
.
.
Signed-off-by:
Philippe Mathieu-Daudé
<f4bug@amsat.org>
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
Philippe Math
i
eu
.
.
.
hw/sd/sdcard: C
o
nvert READ_SINGLE
_
B
LOCK to gene
r
ic_re
a
d_byte
.
.
.
Signed-off-by:
Philippe Mathieu-Daudé
<f4bug@amsat.org>
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
Philippe Mathie
u
.
.
.
h
w/s
d
/
s
dc
a
rd:
D
uplicate READ_SINGLE_BLOCK / READ_MULTI
P
LE_
B
L
.
.
.
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
Philippe Mathieu
.
.
.
hw/sd/sdc
a
rd:
C
onvert S
E
N
D
_C
S
D/SEND
_
CID to generi
c
_re
a
d_byte
.
.
.
Signed-off-by:
Philippe Mathieu-Daudé
<f4bug@amsat.org>
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
Phil
i
pp
e
Mathieu
.
.
.
hw/
s
d/s
d
card: Co
n
ve
r
t SWITCH_FUNCTION to g
e
neri
c
_
r
ead_byte
.
.
.
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
Phi
l
ippe Math
i
eu
.
.
.
hw/sd/sdcar
d
: Int
r
oduce sd_cmd_to_sendin
g
data an
d
sd_generic
.
.
.
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
Ph
i
lippe Ma
t
hie
u
.
.
.
hw/s
d
/sdcard: Ex
t
r
a
ct s
d
_blk_len() he
l
per
Signed-off-by:
Philippe Mathieu-Daudé
<f4bug@amsat.org>
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
Phili
p
pe
M
a
thieu
.
.
.
hw/sd/sdc
a
r
d: A
d
d
d
irect
reference to SDP
r
oto i
n
S
D
State
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
Philip
p
e Mathieu
.
.
.
hw/sd/sdc
a
rd:
Si
m
pli
f
y
sd_in
a
c
t
ive_s
t
ate handli
n
g
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
P
hilippe Mathi
e
u
.
.
.
h
w
/sd/sdca
r
d: Assign
S
DCardSta
t
es enum values
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
Philipp
e
Mathieu
.
.
.
hw/
s
d/sdcard: Use READY_FOR_DAT
A
d
e
finition
i
n
st
e
a
d
.
.
.
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
Philippe Mathieu
.
.
.
hw/sd/sdcard: Se
n
d NUM_WR_BLOC
K
S
bits
M
SB first (A
C
MD22)
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
Philippe
M
athieu
.
.
.
hw/sd/sdcard: Send WRITE_PROT bit
s
MSB f
i
rst (CM
D
30)
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
Philippe Mathieu
.
.
.
hw/sd/sdca
r
d: Restric
t
SWITCH_FUNCTION
t
o sd_tran
s
f
er_s
t
ate
.
.
.
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
Philippe Mathieu
.
.
.
hw/sd/sdcar
d
: T
r
ace request
e
d
a
d
dress com
p
uted by sd_
r
eq_get
.
.
.
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
Philippe
Math
i
eu
.
.
.
hw/
s
d
/
sdcard: Trace bloc
k
off
s
et in READ/WRITE
d
ata
.
.
.
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
Philippe Mathieu
.
.
.
h
w
/sd
/
sdcard: Track la
s
t command used to he
l
p logg
i
ng
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-07-02
Phil
i
ppe Mathieu
.
.
.
hw/sd/sdcard:
D
e
precate suppor
t
for spe
c
v
1
.
10
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-06-30
Philippe M
a
thieu
.
.
.
moni
t
o
r
: Remove o
b
solete stubs
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-06-24
Philippe Ma
t
hie
u
.
.
.
h
w/sd/sdcard: Add comments around regis
t
ers and
commands
Signed-off-by:
Philippe Mathieu-Daudé
<f4bug@amsat.org>
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-06-24
P
hilippe Mathieu
.
.
.
h
w/sd/sdcard: Inline BLK_READ_BLOCK / BLK_WRI
T
E
_BLO
C
K
.
.
.
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-06-24
Phi
l
ippe Mathieu
.
.
.
h
w/
s
d/sdcard: Add sd_invali
d
_mode
_
f
o
r
_cmd to
r
eport
.
.
.
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-06-24
P
hilip
p
e Mathieu
.
.
.
hw/sd/sdcard: Only call
s
d_req_get_addr
e
ss() where
.
.
.
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-06-24
Philippe
M
athieu
.
.
.
hw/sd/sdcard: Factor sd_req
_
get_address() meth
o
d
out
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-06-24
Philippe Mathieu
.
.
.
h
w
/sd
/
sdcard: O
n
ly call sd_req_get_rca()
where RCA
.
.
.
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-06-24
Philip
p
e Mathieu
.
.
.
h
w/sd/sdcar
d
: Factor sd_req_get
_
rca() method ou
t
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-06-24
Phil
i
ppe Mathi
e
u
.
.
.
hw/sd/
s
dcard: Have cmd_valid_while_locked()
retu
r
n
.
.
.
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-06-24
Philippe Mathieu
.
.
.
hw/sd/sd
c
ard: T
r
ace update
of bl
o
c
k
count (C
M
D2
3
)
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-06-24
Philippe Mathieu
.
.
.
hw/sd
/
sdc
a
rd: Re
m
o
ve
e
xplicit entries for
i
llegal commands
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-06-24
Phi
l
ipp
e
Math
i
eu
.
.
.
hw/
s
d/sd
c
ard:
Remove ACMD6 hand
l
er for
S
PI
m
o
d
e
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-06-24
Phili
p
pe M
a
thieu
.
.
.
h
w
/sd/sdcard: Use Load/
S
t
ore API to
fi
l
l some
CID/CSD
.
.
.
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
2024-06-24
Philippe
M
ath
i
eu
.
.
.
hw/s
d
/sdcard: Use registerfi
e
ld CSR::
C
URRENT_STATE
.
.
.
Signed-off-by:
Philippe Mathieu-Daudé
<philmd@linaro.org>
commit
|
commitdiff
|
tree
next