diff options
Diffstat (limited to 'arch/avr32')
-rw-r--r-- | arch/avr32/Makefile | 2 | ||||
-rw-r--r-- | arch/avr32/boards/mimc200/setup.c | 29 | ||||
-rw-r--r-- | arch/avr32/kernel/time.c | 2 | ||||
-rw-r--r-- | arch/avr32/mach-at32ap/include/mach/board.h | 2 |
4 files changed, 17 insertions, 18 deletions
diff --git a/arch/avr32/Makefile b/arch/avr32/Makefile index 0b97e14f73f6..c21a3290d542 100644 --- a/arch/avr32/Makefile +++ b/arch/avr32/Makefile | |||
@@ -43,8 +43,6 @@ core-y += arch/avr32/mm/ | |||
43 | drivers-$(CONFIG_OPROFILE) += arch/avr32/oprofile/ | 43 | drivers-$(CONFIG_OPROFILE) += arch/avr32/oprofile/ |
44 | libs-y += arch/avr32/lib/ | 44 | libs-y += arch/avr32/lib/ |
45 | 45 | ||
46 | CLEAN_FILES += include/asm-avr32/.arch include/asm-avr32/arch | ||
47 | |||
48 | BOOT_TARGETS := vmlinux.elf vmlinux.bin uImage uImage.srec | 46 | BOOT_TARGETS := vmlinux.elf vmlinux.bin uImage uImage.srec |
49 | 47 | ||
50 | .PHONY: $(BOOT_TARGETS) install | 48 | .PHONY: $(BOOT_TARGETS) install |
diff --git a/arch/avr32/boards/mimc200/setup.c b/arch/avr32/boards/mimc200/setup.c index c1b2175b4fea..523d8e183bef 100644 --- a/arch/avr32/boards/mimc200/setup.c +++ b/arch/avr32/boards/mimc200/setup.c | |||
@@ -43,16 +43,16 @@ unsigned long at32_board_osc_rates[3] = { | |||
43 | /* Initialized by bootloader-specific startup code. */ | 43 | /* Initialized by bootloader-specific startup code. */ |
44 | struct tag *bootloader_tags __initdata; | 44 | struct tag *bootloader_tags __initdata; |
45 | 45 | ||
46 | static struct fb_videomode __initdata tx14d14_modes[] = { | 46 | static struct fb_videomode __initdata pt0434827_modes[] = { |
47 | { | 47 | { |
48 | .name = "640x480 @ 60", | 48 | .name = "480x272 @ 72", |
49 | .refresh = 60, | 49 | .refresh = 72, |
50 | .xres = 640, .yres = 480, | 50 | .xres = 480, .yres = 272, |
51 | .pixclock = KHZ2PICOS(11666), | 51 | .pixclock = KHZ2PICOS(10000), |
52 | 52 | ||
53 | .left_margin = 80, .right_margin = 1, | 53 | .left_margin = 1, .right_margin = 1, |
54 | .upper_margin = 13, .lower_margin = 2, | 54 | .upper_margin = 12, .lower_margin = 1, |
55 | .hsync_len = 64, .vsync_len = 1, | 55 | .hsync_len = 42, .vsync_len = 1, |
56 | 56 | ||
57 | .sync = 0, | 57 | .sync = 0, |
58 | .vmode = FB_VMODE_NONINTERLACED, | 58 | .vmode = FB_VMODE_NONINTERLACED, |
@@ -60,14 +60,14 @@ static struct fb_videomode __initdata tx14d14_modes[] = { | |||
60 | }; | 60 | }; |
61 | 61 | ||
62 | static struct fb_monspecs __initdata mimc200_default_monspecs = { | 62 | static struct fb_monspecs __initdata mimc200_default_monspecs = { |
63 | .manufacturer = "HIT", | 63 | .manufacturer = "PT", |
64 | .monitor = "TX14D14VM1BAB", | 64 | .monitor = "PT0434827-A401", |
65 | .modedb = tx14d14_modes, | 65 | .modedb = pt0434827_modes, |
66 | .modedb_len = ARRAY_SIZE(tx14d14_modes), | 66 | .modedb_len = ARRAY_SIZE(pt0434827_modes), |
67 | .hfmin = 14820, | 67 | .hfmin = 14820, |
68 | .hfmax = 22230, | 68 | .hfmax = 22230, |
69 | .vfmin = 60, | 69 | .vfmin = 60, |
70 | .vfmax = 73.3, | 70 | .vfmax = 85, |
71 | .dclkmax = 25200000, | 71 | .dclkmax = 25200000, |
72 | }; | 72 | }; |
73 | 73 | ||
@@ -228,7 +228,8 @@ static int __init mimc200_init(void) | |||
228 | i2c_register_board_info(0, i2c_info, ARRAY_SIZE(i2c_info)); | 228 | i2c_register_board_info(0, i2c_info, ARRAY_SIZE(i2c_info)); |
229 | 229 | ||
230 | at32_add_device_lcdc(0, &mimc200_lcdc_data, | 230 | at32_add_device_lcdc(0, &mimc200_lcdc_data, |
231 | fbmem_start, fbmem_size, 1); | 231 | fbmem_start, fbmem_size, |
232 | ATMEL_LCDC_CONTROL | ATMEL_LCDC_ALT_CONTROL | ATMEL_LCDC_ALT_24B_DATA); | ||
232 | 233 | ||
233 | return 0; | 234 | return 0; |
234 | } | 235 | } |
diff --git a/arch/avr32/kernel/time.c b/arch/avr32/kernel/time.c index 0ff46bf873b0..f27aa3b259fa 100644 --- a/arch/avr32/kernel/time.c +++ b/arch/avr32/kernel/time.c | |||
@@ -18,7 +18,7 @@ | |||
18 | #include <mach/pm.h> | 18 | #include <mach/pm.h> |
19 | 19 | ||
20 | 20 | ||
21 | static cycle_t read_cycle_count(void) | 21 | static cycle_t read_cycle_count(struct clocksource *cs) |
22 | { | 22 | { |
23 | return (cycle_t)sysreg_read(COUNT); | 23 | return (cycle_t)sysreg_read(COUNT); |
24 | } | 24 | } |
diff --git a/arch/avr32/mach-at32ap/include/mach/board.h b/arch/avr32/mach-at32ap/include/mach/board.h index 0b8164281899..ddedb471f33e 100644 --- a/arch/avr32/mach-at32ap/include/mach/board.h +++ b/arch/avr32/mach-at32ap/include/mach/board.h | |||
@@ -29,7 +29,7 @@ extern struct platform_device *atmel_default_console_device; | |||
29 | /* Flags for selecting USART extra pins */ | 29 | /* Flags for selecting USART extra pins */ |
30 | #define ATMEL_USART_RTS 0x01 | 30 | #define ATMEL_USART_RTS 0x01 |
31 | #define ATMEL_USART_CTS 0x02 | 31 | #define ATMEL_USART_CTS 0x02 |
32 | #define ATMEL_USART_CLK 0x03 | 32 | #define ATMEL_USART_CLK 0x04 |
33 | 33 | ||
34 | struct atmel_uart_data { | 34 | struct atmel_uart_data { |
35 | short use_dma_tx; /* use transmit DMA? */ | 35 | short use_dma_tx; /* use transmit DMA? */ |