diff options
author | Stefano Babic <sbabic@denx.de> | 2012-10-16 04:07:05 (GMT) |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2012-10-25 18:30:49 (GMT) |
commit | 60c41d907e234871b40f14283dc2e18abc324461 (patch) | |
tree | d1756a76a71c4746f9833caa40e0895f1b3e1cd5 /arch/arm/include/asm/arch-omap3/dss.h | |
parent | 8c735b990989bcd3909081aff7e6913222ac38e9 (diff) | |
download | u-boot-60c41d907e234871b40f14283dc2e18abc324461.tar.xz |
VIDEO: add macro to set LCD size for DSS driver
Signed-off-by: Stefano Babic <sbabic@denx.de>
Acked-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'arch/arm/include/asm/arch-omap3/dss.h')
-rw-r--r-- | arch/arm/include/asm/arch-omap3/dss.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-omap3/dss.h b/arch/arm/include/asm/arch-omap3/dss.h index 54add4b..ffaffbb 100644 --- a/arch/arm/include/asm/arch-omap3/dss.h +++ b/arch/arm/include/asm/arch-omap3/dss.h @@ -190,6 +190,7 @@ struct panel_config { #define PANEL_TIMING_H(bp, fp, sw) (DSS_HBP(bp) | DSS_HFP(fp) | DSS_HSW(sw)) #define PANEL_TIMING_V(bp, fp, sw) (DSS_VBP(bp) | DSS_VFP(fp) | DSS_VSW(sw)) +#define PANEL_LCD_SIZE(xres, yres) ((yres - 1) << 16 | (xres - 1)) /* Generic DSS Functions */ void omap3_dss_venc_config(const struct venc_regs *venc_cfg, |