diff options
author | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-05-12 09:19:36 +0000 |
---|---|---|
committer | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-05-12 09:19:36 +0000 |
commit | a07dec2212d6ba9751dd1dac2b3f4b560325fee0 (patch) | |
tree | a6df3df7f76d85b3c592521be006ef909115b918 /hw/pxa2xx_lcd.c | |
parent | b645bb48850fea8db017026897827f0ab42fbdea (diff) |
Correct NAND erase block size. Misc fixes in Spitz code.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2806 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/pxa2xx_lcd.c')
-rw-r--r-- | hw/pxa2xx_lcd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/pxa2xx_lcd.c b/hw/pxa2xx_lcd.c index a594e278f5..db20a93663 100644 --- a/hw/pxa2xx_lcd.c +++ b/hw/pxa2xx_lcd.c @@ -737,8 +737,7 @@ static void pxa2xx_lcdc_dma0_redraw_horiz(struct pxa2xx_lcdc_s *s, dest, src, s->xres, s->dest_width); if (addr < start) start = addr; - if (new_addr > end) - end = new_addr; + end = new_addr; if (y < *miny) *miny = y; if (y >= *maxy) |