diff options
| author | Bernhard Beschow <shentey@gmail.com> | 2022-10-18 23:01:41 +0200 |
|---|---|---|
| committer | Daniel Henrique Barboza <danielhb413@gmail.com> | 2022-10-28 13:26:20 -0300 |
| commit | 334c388f25707a234c4a0dea05b9df08d7746638 (patch) | |
| tree | d2867aba34227a42bf102e5e52fc8d7662ed3154 /hw/sd/sdhci.c | |
| parent | c593d1cc2555c5fe6a6a558f4d2bdc3bfd6713de (diff) | |
| download | focaccia-qemu-334c388f25707a234c4a0dea05b9df08d7746638.tar.gz focaccia-qemu-334c388f25707a234c4a0dea05b9df08d7746638.zip | |
hw/block/pflash_cfi0{1, 2}: Error out if device length isn't a power of two
According to the JEDEC standard the device length is communicated to an OS as an exponent (power of two). Signed-off-by: Bernhard Beschow <shentey@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20221018210146.193159-3-shentey@gmail.com> Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Diffstat (limited to 'hw/sd/sdhci.c')
0 files changed, 0 insertions, 0 deletions