]> git.sur5r.net Git - u-boot/commit
arm: am33xx: Initialize EMIF REG_PR_OLD_COUNT for BBB and am335x-evm
authorJyri Sarha <jsarha@ti.com>
Fri, 9 Dec 2016 10:29:13 +0000 (12:29 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 9 Dec 2016 20:00:03 +0000 (15:00 -0500)
commit8c17cbdf8a8023abdd0009af4dc9dbc0541b4a0f
treee6d601b384d2575eb5b3f1f8e91231a18835b39c
parent177f14da7f610ec26d3ab0aea2c8a75e2bfefa3a
arm: am33xx: Initialize EMIF REG_PR_OLD_COUNT for BBB and am335x-evm

Initialize EMIF OCP_CONFIG registers REG_COS_COUNT_1, REG_COS_COUNT_2,
and REG_PR_OLD_COUNT field for Beaglebone-Black and am335x-evm. With
the default values LCDC suffers from DMA FIFO underflows and frame
synchronization lost errors. The initialization values are the highest
that work flawlessly when heavy memory load is generated by CPU. 32bpp
colors were used in the test. On BBB the video mode used 110MHz pixel
clock. The mode supported by the panel of am335x-evm uses 30MHz pixel
clock.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/arm/include/asm/emif.h
arch/arm/mach-omap2/am33xx/ddr.c
board/ti/am335x/board.c
board/ti/am335x/board.h