summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mvebu/include/mach/cpu.h
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2016-01-20 08:13:28 +0100
committerAnatolij Gustschin <agust@denx.de>2016-01-23 22:58:07 +0100
commit913d1be20801c3fed3dd1e832d3bf5bdde159f32 (patch)
treed1e672a3cf5b0c3d62409024cb3f61a5db3db59a /arch/arm/mach-mvebu/include/mach/cpu.h
parent12f229ea8f6c8e20f8fd07906eafc853c4c354a9 (diff)
downloadtalos-obmc-uboot-913d1be20801c3fed3dd1e832d3bf5bdde159f32.tar.gz
talos-obmc-uboot-913d1be20801c3fed3dd1e832d3bf5bdde159f32.zip
video: Add support for Armada XP LCD controller
This patch adds basic support for the LCD controller of the Marvell Armada XP SoC. An AXP based custom board port will be added later, to use this driver to display a splash screen via the bmp command later. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Anatolij Gustschin <agust@denx.de> Cc: Luka Perkov <luka.perkov@sartura.hr> [agust: rebased] Signed-off-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'arch/arm/mach-mvebu/include/mach/cpu.h')
-rw-r--r--arch/arm/mach-mvebu/include/mach/cpu.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/mach-mvebu/include/mach/cpu.h b/arch/arm/mach-mvebu/include/mach/cpu.h
index 47f45c1512..017d55f412 100644
--- a/arch/arm/mach-mvebu/include/mach/cpu.h
+++ b/arch/arm/mach-mvebu/include/mach/cpu.h
@@ -145,5 +145,18 @@ int serdes_phy_config(void);
* drivers/ddr/marvell
*/
int ddr3_init(void);
+
+struct mvebu_lcd_info {
+ u32 fb_base;
+ int x_res;
+ int y_res;
+ int x_fp; /* frontporch */
+ int y_fp;
+ int x_bp; /* backporch */
+ int y_bp;
+};
+
+int mvebu_lcd_register_init(struct mvebu_lcd_info *lcd_info);
+
#endif /* __ASSEMBLY__ */
#endif /* _MVEBU_CPU_H */
OpenPOWER on IntegriCloud