diff options
author | Anatolij Gustschin <agust@denx.de> | 2011-05-13 10:52:29 (GMT) |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2011-05-24 14:28:51 (GMT) |
commit | 12ed0c4baa4144ab3560ae793b5120316d74c0fe (patch) | |
tree | 9f11d4848972490c5b8a4825428ebfbe5a211e4d /drivers/video/mb862xx/mb862xx_reg.h | |
parent | 3cadf9455c31de340ed77394dfad330caeb66b58 (diff) | |
download | linux-fsl-qoriq-12ed0c4baa4144ab3560ae793b5120316d74c0fe.tar.xz |
video: mb862xxfb: relocate register space to get contiguous vram
By default the GDC registers are located in the middle of the 64MiB
area for video RAM and registers. When 32MiB VRAM or more is used,
relocate the register space to the top of the 64MiB space so that
we get the contiguous VRAM for GDC frame buffer layers, drawing
frames, capture and cursor buffers.
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'drivers/video/mb862xx/mb862xx_reg.h')
-rw-r--r-- | drivers/video/mb862xx/mb862xx_reg.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/video/mb862xx/mb862xx_reg.h b/drivers/video/mb862xx/mb862xx_reg.h index 2ba65e1..737fc01 100644 --- a/drivers/video/mb862xx/mb862xx_reg.h +++ b/drivers/video/mb862xx/mb862xx_reg.h @@ -5,11 +5,8 @@ #ifndef _MB862XX_REG_H #define _MB862XX_REG_H -#ifdef MB862XX_MMIO_BOTTOM -#define MB862XX_MMIO_BASE 0x03fc0000 -#else #define MB862XX_MMIO_BASE 0x01fc0000 -#endif +#define MB862XX_MMIO_HIGH_BASE 0x03fc0000 #define MB862XX_I2C_BASE 0x0000c000 #define MB862XX_DISP_BASE 0x00010000 #define MB862XX_CAP_BASE 0x00018000 @@ -23,6 +20,7 @@ #define GC_IMASK 0x00000024 #define GC_SRST 0x0000002c #define GC_CCF 0x00000038 +#define GC_RSW 0x0000005c #define GC_CID 0x000000f0 #define GC_REVISION 0x00000084 |