Read about our upcoming Code of Conduct on this issue

This instance was upgraded to Heptapod 0.28.0 today

Commit a855b58a authored by alex@thinkpad's avatar alex@thinkpad
Browse files

QEMU: experimental SD/CF clock tests (some DIGIC 3/4 models; working only in...

QEMU: experimental SD/CF clock tests (some DIGIC 3/4 models; working only in bootloader context; disabled by default)

These were used to fix/test the portable ROM dumper on old models.

FIXME: with these changes, main firmware does not boot, so they were disabled.

--HG--
branch : qemu
parent 7a021eae020c
......@@ -4000,6 +4000,13 @@ unsigned int eos_handle_sdio ( unsigned int parm, EOSState *s, unsigned int addr
intptr_t msg_arg1 = 0;
intptr_t msg_arg2 = 0;
if (0)
{
/* FIXME: only working in bootloader context */
assert(s->clock_enable & 0x00000008); /* DIGIC 3/4 */
assert(s->clock_enable & 0x10000000); /* DIGIC 4, but not 4+ */
}
switch(address & 0xFFF)
{
case 0x08:
......@@ -4534,6 +4541,13 @@ unsigned int eos_handle_cfata ( unsigned int parm, EOSState *s, unsigned int add
intptr_t msg_arg1 = 0;
intptr_t msg_arg2 = 0;
if (0)
{
/* DIGIC 4 and earlier */
/* FIXME: only working in bootloader context */
assert(s->clock_enable & 0x40);
}
switch(address & 0xFFFF)
{
case 0x8104:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment