omap_gpmc: Fix handling of FIFOTHRESHOLDSTATUS bit
authorPeter Maydell <peter.maydell@linaro.org>
Sun, 28 Aug 2011 16:22:19 +0000 (16:22 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Sun, 28 Aug 2011 16:37:12 +0000 (16:37 +0000)
commitde8af7fe0158493baa1c9a5418ac598a18e86027
tree29a6958097977ce5c3bfb89ab31b39bd1858bbd9
parent77c6c7369035c25d9d4babd920dbe691e3453cfc
omap_gpmc: Fix handling of FIFOTHRESHOLDSTATUS bit

The OMAP3 TRM is inconsistent about whether the GPMC FIFOTHRESHOLDSTATUS
bit should be set when FIFOPOINTER > FIFOTHRESHOLD or when it is >=
FIFOTHRESHOLD. Apparently the underlying functional spec from which
the TRM was created states that the behaviour is ">=", and this also
makes more conceptual sense.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/omap_gpmc.c