summary refs log tree commit diff stats
path: root/scripts/qapi/schema.py
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2022-05-30 20:06:20 +0200
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-07-16 20:26:47 +0200
commit1b5a561c7376189ff0afc2d081625e33ffd09478 (patch)
tree4c2c7911a1a85c8e7ad863cd28f93be71b2ec6db /scripts/qapi/schema.py
parent959269e910944c03bc13f300d65bf08b060d5d0f (diff)
downloadfocaccia-qemu-1b5a561c7376189ff0afc2d081625e33ffd09478.tar.gz
focaccia-qemu-1b5a561c7376189ff0afc2d081625e33ffd09478.zip
hw/sd/sdcard: Basis for eMMC support
Since eMMC are soldered on boards, it is not user-creatable.

RCA register is initialized to 0x0001, per spec v4.3,
chapter 8.5 "RCA register":

  The default value of the RCA register is 0x0001.
  The value 0x0000 is reserved to set all cards into
  the Stand-by State with CMD7.

The CSD register is very similar to SD one, except
the version announced is v4.3.

eMMC CID register is slightly different from SD:
- One extra PNM (5 -> 6)
- MDT is only 1 byte (2 -> 1).

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Tested-by: Cédric Le Goater <clg@redhat.com>
Message-Id: <20240712162719.88165-2-philmd@linaro.org>
Diffstat (limited to 'scripts/qapi/schema.py')
0 files changed, 0 insertions, 0 deletions