Commit 9685a360 authored by Gwenhael Goavec-Merou's avatar Gwenhael Goavec-Merou Committed by Sascha Hauer

MX1: Add structure, registration functions for framebuffer and rename LCDC INT

Signed-off-by: default avatarGwenhael Goavec-Merou <gwenhael.goavec-merou@armadeus.com>
Signed-off-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
parent 54c4bd65
...@@ -9,6 +9,10 @@ ...@@ -9,6 +9,10 @@
#include <mach/mx1.h> #include <mach/mx1.h>
#include <mach/devices-common.h> #include <mach/devices-common.h>
extern const struct imx_imx_fb_data imx1_imx_fb_data __initconst;
#define imx1_add_imx_fb(pdata) \
imx_add_imx_fb(&imx1_imx_fb_data, pdata)
extern const struct imx_imx_i2c_data imx1_imx_i2c_data __initconst; extern const struct imx_imx_i2c_data imx1_imx_i2c_data __initconst;
#define imx1_add_imx_i2c(pdata) \ #define imx1_add_imx_i2c(pdata) \
imx_add_imx_i2c(&imx1_imx_i2c_data, pdata) imx_add_imx_i2c(&imx1_imx_i2c_data, pdata)
......
...@@ -16,6 +16,11 @@ ...@@ -16,6 +16,11 @@
.irq = soc ## _INT_LCDC, \ .irq = soc ## _INT_LCDC, \
} }
#ifdef CONFIG_SOC_IMX1
const struct imx_imx_fb_data imx1_imx_fb_data __initconst =
imx_imx_fb_data_entry_single(MX1, SZ_4K);
#endif /* ifdef CONFIG_SOC_IMX1 */
#ifdef CONFIG_SOC_IMX21 #ifdef CONFIG_SOC_IMX21
const struct imx_imx_fb_data imx21_imx_fb_data __initconst = const struct imx_imx_fb_data imx21_imx_fb_data __initconst =
imx_imx_fb_data_entry_single(MX21, SZ_4K); imx_imx_fb_data_entry_single(MX21, SZ_4K);
......
...@@ -89,7 +89,7 @@ ...@@ -89,7 +89,7 @@
#define MX1_GPIO_INT_PORTA 11 #define MX1_GPIO_INT_PORTA 11
#define MX1_GPIO_INT_PORTB 12 #define MX1_GPIO_INT_PORTB 12
#define MX1_GPIO_INT_PORTC 13 #define MX1_GPIO_INT_PORTC 13
#define MX1_LCDC_INT 14 #define MX1_INT_LCDC 14
#define MX1_SIM_INT 15 #define MX1_SIM_INT 15
#define MX1_SIM_DATA_INT 16 #define MX1_SIM_DATA_INT 16
#define MX1_RTC_INT 17 #define MX1_RTC_INT 17
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment