diff options
Diffstat (limited to 'arch/arm')
| -rw-r--r-- | arch/arm/include/asm/Kbuild | 1 | ||||
| -rw-r--r-- | arch/arm/include/asm/byteorder.h | 2 | ||||
| -rw-r--r-- | arch/arm/kernel/calls.S | 2 | ||||
| -rw-r--r-- | arch/arm/mach-imx/clock.c | 2 | ||||
| -rw-r--r-- | arch/arm/mach-imx/generic.c | 6 | ||||
| -rw-r--r-- | arch/arm/mach-imx/include/mach/imx-regs.h | 106 | ||||
| -rw-r--r-- | arch/arm/mach-w90x900/mach-w90p910evb.c | 1 | ||||
| -rw-r--r-- | arch/arm/mach-w90x900/time.c | 1 | ||||
| -rw-r--r-- | arch/arm/mm/proc-syms.c | 1 |
9 files changed, 7 insertions, 115 deletions
diff --git a/arch/arm/include/asm/Kbuild b/arch/arm/include/asm/Kbuild index 43b0b2ba392f..73237bd130a2 100644 --- a/arch/arm/include/asm/Kbuild +++ b/arch/arm/include/asm/Kbuild | |||
| @@ -1,4 +1,3 @@ | |||
| 1 | include include/asm-generic/Kbuild.asm | 1 | include include/asm-generic/Kbuild.asm |
| 2 | 2 | ||
| 3 | unifdef-y += hwcap.h | 3 | unifdef-y += hwcap.h |
| 4 | unifdef-y += swab.h | ||
diff --git a/arch/arm/include/asm/byteorder.h b/arch/arm/include/asm/byteorder.h index c02b6fc28e1a..77379748b171 100644 --- a/arch/arm/include/asm/byteorder.h +++ b/arch/arm/include/asm/byteorder.h | |||
| @@ -15,8 +15,6 @@ | |||
| 15 | #ifndef __ASM_ARM_BYTEORDER_H | 15 | #ifndef __ASM_ARM_BYTEORDER_H |
| 16 | #define __ASM_ARM_BYTEORDER_H | 16 | #define __ASM_ARM_BYTEORDER_H |
| 17 | 17 | ||
| 18 | #include <asm/swab.h> | ||
| 19 | |||
| 20 | #ifdef __ARMEB__ | 18 | #ifdef __ARMEB__ |
| 21 | #include <linux/byteorder/big_endian.h> | 19 | #include <linux/byteorder/big_endian.h> |
| 22 | #else | 20 | #else |
diff --git a/arch/arm/kernel/calls.S b/arch/arm/kernel/calls.S index 09a061cb7838..9ca8d13f05f7 100644 --- a/arch/arm/kernel/calls.S +++ b/arch/arm/kernel/calls.S | |||
| @@ -98,7 +98,7 @@ | |||
| 98 | CALL(sys_uselib) | 98 | CALL(sys_uselib) |
| 99 | CALL(sys_swapon) | 99 | CALL(sys_swapon) |
| 100 | CALL(sys_reboot) | 100 | CALL(sys_reboot) |
| 101 | CALL(OBSOLETE(old_readdir)) /* used by libc4 */ | 101 | CALL(OBSOLETE(sys_old_readdir)) /* used by libc4 */ |
| 102 | /* 90 */ CALL(OBSOLETE(old_mmap)) /* used by libc4 */ | 102 | /* 90 */ CALL(OBSOLETE(old_mmap)) /* used by libc4 */ |
| 103 | CALL(sys_munmap) | 103 | CALL(sys_munmap) |
| 104 | CALL(sys_truncate) | 104 | CALL(sys_truncate) |
diff --git a/arch/arm/mach-imx/clock.c b/arch/arm/mach-imx/clock.c index 7ec60fc91565..cf332aeb942e 100644 --- a/arch/arm/mach-imx/clock.c +++ b/arch/arm/mach-imx/clock.c | |||
| @@ -23,7 +23,7 @@ | |||
| 23 | #include <linux/err.h> | 23 | #include <linux/err.h> |
| 24 | #include <linux/io.h> | 24 | #include <linux/io.h> |
| 25 | 25 | ||
| 26 | #include <mach/imx-regs.h> | 26 | #include <mach/hardware.h> |
| 27 | 27 | ||
| 28 | /* | 28 | /* |
| 29 | * Very simple approach: We can't disable clocks, so we do | 29 | * Very simple approach: We can't disable clocks, so we do |
diff --git a/arch/arm/mach-imx/generic.c b/arch/arm/mach-imx/generic.c index fa72174dd95c..887cb21f75b0 100644 --- a/arch/arm/mach-imx/generic.c +++ b/arch/arm/mach-imx/generic.c | |||
| @@ -245,11 +245,11 @@ void __init imx_set_mmc_info(struct imxmmc_platform_data *info) | |||
| 245 | imx_mmc_device.dev.platform_data = info; | 245 | imx_mmc_device.dev.platform_data = info; |
| 246 | } | 246 | } |
| 247 | 247 | ||
| 248 | static struct imxfb_mach_info imx_fb_info; | 248 | static struct imx_fb_platform_data imx_fb_info; |
| 249 | 249 | ||
| 250 | void __init set_imx_fb_info(struct imxfb_mach_info *hard_imx_fb_info) | 250 | void __init set_imx_fb_info(struct imx_fb_platform_data *hard_imx_fb_info) |
| 251 | { | 251 | { |
| 252 | memcpy(&imx_fb_info,hard_imx_fb_info,sizeof(struct imxfb_mach_info)); | 252 | memcpy(&imx_fb_info,hard_imx_fb_info,sizeof(struct imx_fb_platform_data)); |
| 253 | } | 253 | } |
| 254 | 254 | ||
| 255 | static struct resource imxfb_resources[] = { | 255 | static struct resource imxfb_resources[] = { |
diff --git a/arch/arm/mach-imx/include/mach/imx-regs.h b/arch/arm/mach-imx/include/mach/imx-regs.h index fb9de2733879..490297fc0e38 100644 --- a/arch/arm/mach-imx/include/mach/imx-regs.h +++ b/arch/arm/mach-imx/include/mach/imx-regs.h | |||
| @@ -373,110 +373,4 @@ | |||
| 373 | #define TSTAT_CAPT (1<<1) | 373 | #define TSTAT_CAPT (1<<1) |
| 374 | #define TSTAT_COMP (1<<0) | 374 | #define TSTAT_COMP (1<<0) |
| 375 | 375 | ||
| 376 | /* | ||
| 377 | * LCD Controller | ||
| 378 | */ | ||
| 379 | |||
| 380 | #define LCDC_SSA __REG(IMX_LCDC_BASE+0x00) | ||
| 381 | |||
| 382 | #define LCDC_SIZE __REG(IMX_LCDC_BASE+0x04) | ||
| 383 | #define SIZE_XMAX(x) ((((x) >> 4) & 0x3f) << 20) | ||
| 384 | #define SIZE_YMAX(y) ( (y) & 0x1ff ) | ||
| 385 | |||
| 386 | #define LCDC_VPW __REG(IMX_LCDC_BASE+0x08) | ||
| 387 | #define VPW_VPW(x) ( (x) & 0x3ff ) | ||
| 388 | |||
| 389 | #define LCDC_CPOS __REG(IMX_LCDC_BASE+0x0C) | ||
| 390 | #define CPOS_CC1 (1<<31) | ||
| 391 | #define CPOS_CC0 (1<<30) | ||
| 392 | #define CPOS_OP (1<<28) | ||
| 393 | #define CPOS_CXP(x) (((x) & 3ff) << 16) | ||
| 394 | #define CPOS_CYP(y) ((y) & 0x1ff) | ||
| 395 | |||
| 396 | #define LCDC_LCWHB __REG(IMX_LCDC_BASE+0x10) | ||
| 397 | #define LCWHB_BK_EN (1<<31) | ||
| 398 | #define LCWHB_CW(w) (((w) & 0x1f) << 24) | ||
| 399 | #define LCWHB_CH(h) (((h) & 0x1f) << 16) | ||
| 400 | #define LCWHB_BD(x) ((x) & 0xff) | ||
| 401 | |||
| 402 | #define LCDC_LCHCC __REG(IMX_LCDC_BASE+0x14) | ||
| 403 | #define LCHCC_CUR_COL_R(r) (((r) & 0x1f) << 11) | ||
| 404 | #define LCHCC_CUR_COL_G(g) (((g) & 0x3f) << 5) | ||
| 405 | #define LCHCC_CUR_COL_B(b) ((b) & 0x1f) | ||
| 406 | |||
| 407 | #define LCDC_PCR __REG(IMX_LCDC_BASE+0x18) | ||
| 408 | #define PCR_TFT (1<<31) | ||
| 409 | #define PCR_COLOR (1<<30) | ||
| 410 | #define PCR_PBSIZ_1 (0<<28) | ||
| 411 | #define PCR_PBSIZ_2 (1<<28) | ||
| 412 | #define PCR_PBSIZ_4 (2<<28) | ||
| 413 | #define PCR_PBSIZ_8 (3<<28) | ||
| 414 | #define PCR_BPIX_1 (0<<25) | ||
| 415 | #define PCR_BPIX_2 (1<<25) | ||
| 416 | #define PCR_BPIX_4 (2<<25) | ||
| 417 | #define PCR_BPIX_8 (3<<25) | ||
| 418 | #define PCR_BPIX_12 (4<<25) | ||
| 419 | #define PCR_BPIX_16 (4<<25) | ||
| 420 | #define PCR_PIXPOL (1<<24) | ||
| 421 | #define PCR_FLMPOL (1<<23) | ||
| 422 | #define PCR_LPPOL (1<<22) | ||
| 423 | #define PCR_CLKPOL (1<<21) | ||
| 424 | #define PCR_OEPOL (1<<20) | ||
| 425 | #define PCR_SCLKIDLE (1<<19) | ||
| 426 | #define PCR_END_SEL (1<<18) | ||
| 427 | #define PCR_END_BYTE_SWAP (1<<17) | ||
| 428 | #define PCR_REV_VS (1<<16) | ||
| 429 | #define PCR_ACD_SEL (1<<15) | ||
| 430 | #define PCR_ACD(x) (((x) & 0x7f) << 8) | ||
| 431 | #define PCR_SCLK_SEL (1<<7) | ||
| 432 | #define PCR_SHARP (1<<6) | ||
| 433 | #define PCR_PCD(x) ((x) & 0x3f) | ||
| 434 | |||
| 435 | #define LCDC_HCR __REG(IMX_LCDC_BASE+0x1C) | ||
| 436 | #define HCR_H_WIDTH(x) (((x) & 0x3f) << 26) | ||
| 437 | #define HCR_H_WAIT_1(x) (((x) & 0xff) << 8) | ||
| 438 | #define HCR_H_WAIT_2(x) ((x) & 0xff) | ||
| 439 | |||
| 440 | #define LCDC_VCR __REG(IMX_LCDC_BASE+0x20) | ||
| 441 | #define VCR_V_WIDTH(x) (((x) & 0x3f) << 26) | ||
| 442 | #define VCR_V_WAIT_1(x) (((x) & 0xff) << 8) | ||
| 443 | #define VCR_V_WAIT_2(x) ((x) & 0xff) | ||
| 444 | |||
| 445 | #define LCDC_POS __REG(IMX_LCDC_BASE+0x24) | ||
| 446 | #define POS_POS(x) ((x) & 1f) | ||
| 447 | |||
| 448 | #define LCDC_LSCR1 __REG(IMX_LCDC_BASE+0x28) | ||
| 449 | #define LSCR1_PS_RISE_DELAY(x) (((x) & 0x7f) << 26) | ||
| 450 | #define LSCR1_CLS_RISE_DELAY(x) (((x) & 0x3f) << 16) | ||
| 451 | #define LSCR1_REV_TOGGLE_DELAY(x) (((x) & 0xf) << 8) | ||
| 452 | #define LSCR1_GRAY2(x) (((x) & 0xf) << 4) | ||
| 453 | #define LSCR1_GRAY1(x) (((x) & 0xf)) | ||
| 454 | |||
| 455 | #define LCDC_PWMR __REG(IMX_LCDC_BASE+0x2C) | ||
| 456 | #define PWMR_CLS(x) (((x) & 0x1ff) << 16) | ||
| 457 | #define PWMR_LDMSK (1<<15) | ||
| 458 | #define PWMR_SCR1 (1<<10) | ||
| 459 | #define PWMR_SCR0 (1<<9) | ||
| 460 | #define PWMR_CC_EN (1<<8) | ||
| 461 | #define PWMR_PW(x) ((x) & 0xff) | ||
| 462 | |||
| 463 | #define LCDC_DMACR __REG(IMX_LCDC_BASE+0x30) | ||
| 464 | #define DMACR_BURST (1<<31) | ||
| 465 | #define DMACR_HM(x) (((x) & 0xf) << 16) | ||
| 466 | #define DMACR_TM(x) ((x) &0xf) | ||
| 467 | |||
| 468 | #define LCDC_RMCR __REG(IMX_LCDC_BASE+0x34) | ||
| 469 | #define RMCR_LCDC_EN (1<<1) | ||
| 470 | #define RMCR_SELF_REF (1<<0) | ||
| 471 | |||
| 472 | #define LCDC_LCDICR __REG(IMX_LCDC_BASE+0x38) | ||
| 473 | #define LCDICR_INT_SYN (1<<2) | ||
| 474 | #define LCDICR_INT_CON (1) | ||
| 475 | |||
| 476 | #define LCDC_LCDISR __REG(IMX_LCDC_BASE+0x40) | ||
| 477 | #define LCDISR_UDR_ERR (1<<3) | ||
| 478 | #define LCDISR_ERR_RES (1<<2) | ||
| 479 | #define LCDISR_EOF (1<<1) | ||
| 480 | #define LCDISR_BOF (1<<0) | ||
| 481 | |||
| 482 | #endif // _IMX_REGS_H | 376 | #endif // _IMX_REGS_H |
diff --git a/arch/arm/mach-w90x900/mach-w90p910evb.c b/arch/arm/mach-w90x900/mach-w90p910evb.c index 9307a2475438..9ebc93f48530 100644 --- a/arch/arm/mach-w90x900/mach-w90p910evb.c +++ b/arch/arm/mach-w90x900/mach-w90p910evb.c | |||
| @@ -29,6 +29,7 @@ | |||
| 29 | #include <asm/mach-types.h> | 29 | #include <asm/mach-types.h> |
| 30 | 30 | ||
| 31 | #include <mach/regs-serial.h> | 31 | #include <mach/regs-serial.h> |
| 32 | #include <mach/map.h> | ||
| 32 | 33 | ||
| 33 | #include "cpu.h" | 34 | #include "cpu.h" |
| 34 | 35 | ||
diff --git a/arch/arm/mach-w90x900/time.c b/arch/arm/mach-w90x900/time.c index 3a69e381f316..bcc838f6b393 100644 --- a/arch/arm/mach-w90x900/time.c +++ b/arch/arm/mach-w90x900/time.c | |||
| @@ -28,7 +28,6 @@ | |||
| 28 | #include <asm/mach/irq.h> | 28 | #include <asm/mach/irq.h> |
| 29 | #include <asm/mach/time.h> | 29 | #include <asm/mach/time.h> |
| 30 | 30 | ||
| 31 | #include <mach/system.h> | ||
| 32 | #include <mach/map.h> | 31 | #include <mach/map.h> |
| 33 | #include <mach/regs-timer.h> | 32 | #include <mach/regs-timer.h> |
| 34 | 33 | ||
diff --git a/arch/arm/mm/proc-syms.c b/arch/arm/mm/proc-syms.c index 4ad3bf291ad3..195e48edd8c2 100644 --- a/arch/arm/mm/proc-syms.c +++ b/arch/arm/mm/proc-syms.c | |||
| @@ -27,6 +27,7 @@ EXPORT_SYMBOL(__cpuc_flush_kern_all); | |||
| 27 | EXPORT_SYMBOL(__cpuc_flush_user_all); | 27 | EXPORT_SYMBOL(__cpuc_flush_user_all); |
| 28 | EXPORT_SYMBOL(__cpuc_flush_user_range); | 28 | EXPORT_SYMBOL(__cpuc_flush_user_range); |
| 29 | EXPORT_SYMBOL(__cpuc_coherent_kern_range); | 29 | EXPORT_SYMBOL(__cpuc_coherent_kern_range); |
| 30 | EXPORT_SYMBOL(dmac_inv_range); /* because of flush_ioremap_region() */ | ||
| 30 | #else | 31 | #else |
| 31 | EXPORT_SYMBOL(cpu_cache); | 32 | EXPORT_SYMBOL(cpu_cache); |
| 32 | #endif | 33 | #endif |
