Commit e4d165c24b1975478476722a9ef384147721807a
1 parent
0d92ed30
Don't clear DMA status register when loading address.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1929 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
1 deletions
hw/esp.c
@@ -690,7 +690,7 @@ static void espdma_mem_writel(void *opaque, target_phys_addr_t addr, uint32_t va | @@ -690,7 +690,7 @@ static void espdma_mem_writel(void *opaque, target_phys_addr_t addr, uint32_t va | ||
690 | val |= DMA_VER; | 690 | val |= DMA_VER; |
691 | break; | 691 | break; |
692 | case 1: | 692 | case 1: |
693 | - s->espdmaregs[0] = DMA_LOADED; | 693 | + s->espdmaregs[0] |= DMA_LOADED; |
694 | break; | 694 | break; |
695 | default: | 695 | default: |
696 | break; | 696 | break; |