aspeed/i2c: Fix DMA address mask
commit7492515909f043c4d82909ecdebb8643ed944c68
authorCédric Le Goater <clg@kaod.org>
Sat, 1 May 2021 08:03:51 +0000 (1 10:03 +0200)
committerCédric Le Goater <clg@kaod.org>
Sat, 1 May 2021 08:03:51 +0000 (1 10:03 +0200)
tree35629fcfbe05f6d005f1d62b14565584ab101355
parentd177892d4a48668a422772e19bed9b6baa384a08
aspeed/i2c: Fix DMA address mask

The RAM memory region is now used for DMAs accesses instead of the
memory address space region. Mask off the top bits of the DMA address
to reflect this change.

Cc: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20210407171637.777743-4-clg@kaod.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
hw/i2c/aspeed_i2c.c