diff options
-rw-r--r-- | arch/arm/configs/omap2plus_defconfig | 1 | ||||
-rw-r--r-- | arch/arm/mach-omap2/Kconfig | 7 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-generic.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/id.c | 16 | ||||
-rw-r--r-- | arch/arm/mach-omap2/io.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-omap2/mux.h | 3 | ||||
-rw-r--r-- | arch/arm/mach-omap2/soc.h | 3 | ||||
-rw-r--r-- | arch/arm/mach-omap2/timer.c | 3 |
8 files changed, 21 insertions, 15 deletions
diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig index 3a0b53d225e7..364ba38e40f3 100644 --- a/arch/arm/configs/omap2plus_defconfig +++ b/arch/arm/configs/omap2plus_defconfig | |||
@@ -28,6 +28,7 @@ CONFIG_ARCH_OMAP3=y | |||
28 | CONFIG_ARCH_OMAP4=y | 28 | CONFIG_ARCH_OMAP4=y |
29 | CONFIG_SOC_OMAP5=y | 29 | CONFIG_SOC_OMAP5=y |
30 | CONFIG_SOC_AM33XX=y | 30 | CONFIG_SOC_AM33XX=y |
31 | CONFIG_SOC_AM43XX=y | ||
31 | CONFIG_SOC_DRA7XX=y | 32 | CONFIG_SOC_DRA7XX=y |
32 | CONFIG_ARM_THUMBEE=y | 33 | CONFIG_ARM_THUMBEE=y |
33 | CONFIG_ARM_ERRATA_411920=y | 34 | CONFIG_ARM_ERRATA_411920=y |
diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig index e2ce4f8366a7..40fd5c31b594 100644 --- a/arch/arm/mach-omap2/Kconfig +++ b/arch/arm/mach-omap2/Kconfig | |||
@@ -165,12 +165,6 @@ config SOC_TI81XX | |||
165 | depends on ARCH_OMAP3 | 165 | depends on ARCH_OMAP3 |
166 | default y | 166 | default y |
167 | 167 | ||
168 | config OMAP_PACKAGE_ZAF | ||
169 | bool | ||
170 | |||
171 | config OMAP_PACKAGE_ZAC | ||
172 | bool | ||
173 | |||
174 | config OMAP_PACKAGE_CBC | 168 | config OMAP_PACKAGE_CBC |
175 | bool | 169 | bool |
176 | 170 | ||
@@ -284,7 +278,6 @@ config MACH_NOKIA_N8X0 | |||
284 | select MACH_NOKIA_N800 | 278 | select MACH_NOKIA_N800 |
285 | select MACH_NOKIA_N810 | 279 | select MACH_NOKIA_N810 |
286 | select MACH_NOKIA_N810_WIMAX | 280 | select MACH_NOKIA_N810_WIMAX |
287 | select OMAP_PACKAGE_ZAC | ||
288 | 281 | ||
289 | config MACH_NOKIA_RX51 | 282 | config MACH_NOKIA_RX51 |
290 | bool "Nokia N900 (RX-51) phone" | 283 | bool "Nokia N900 (RX-51) phone" |
diff --git a/arch/arm/mach-omap2/board-generic.c b/arch/arm/mach-omap2/board-generic.c index 8e3daa11602b..5679464a2f88 100644 --- a/arch/arm/mach-omap2/board-generic.c +++ b/arch/arm/mach-omap2/board-generic.c | |||
@@ -229,7 +229,7 @@ DT_MACHINE_START(AM43_DT, "Generic AM43 (Flattened Device Tree)") | |||
229 | .init_late = am43xx_init_late, | 229 | .init_late = am43xx_init_late, |
230 | .init_irq = omap_gic_of_init, | 230 | .init_irq = omap_gic_of_init, |
231 | .init_machine = omap_generic_init, | 231 | .init_machine = omap_generic_init, |
232 | .init_time = omap3_sync32k_timer_init, | 232 | .init_time = omap3_gptimer_timer_init, |
233 | .dt_compat = am43_boards_compat, | 233 | .dt_compat = am43_boards_compat, |
234 | MACHINE_END | 234 | MACHINE_END |
235 | #endif | 235 | #endif |
diff --git a/arch/arm/mach-omap2/id.c b/arch/arm/mach-omap2/id.c index 9428c5f9d4f2..157412e4273a 100644 --- a/arch/arm/mach-omap2/id.c +++ b/arch/arm/mach-omap2/id.c | |||
@@ -465,8 +465,18 @@ void __init omap3xxx_check_revision(void) | |||
465 | } | 465 | } |
466 | break; | 466 | break; |
467 | case 0xb98c: | 467 | case 0xb98c: |
468 | omap_revision = AM437X_REV_ES1_0; | 468 | switch (rev) { |
469 | cpu_rev = "1.0"; | 469 | case 0: |
470 | omap_revision = AM437X_REV_ES1_0; | ||
471 | cpu_rev = "1.0"; | ||
472 | break; | ||
473 | case 1: | ||
474 | /* FALLTHROUGH */ | ||
475 | default: | ||
476 | omap_revision = AM437X_REV_ES1_1; | ||
477 | cpu_rev = "1.1"; | ||
478 | break; | ||
479 | } | ||
470 | break; | 480 | break; |
471 | case 0xb8f2: | 481 | case 0xb8f2: |
472 | switch (rev) { | 482 | switch (rev) { |
@@ -657,6 +667,8 @@ static const char * __init omap_get_family(void) | |||
657 | return kasprintf(GFP_KERNEL, "OMAP4"); | 667 | return kasprintf(GFP_KERNEL, "OMAP4"); |
658 | else if (soc_is_omap54xx()) | 668 | else if (soc_is_omap54xx()) |
659 | return kasprintf(GFP_KERNEL, "OMAP5"); | 669 | return kasprintf(GFP_KERNEL, "OMAP5"); |
670 | else if (soc_is_am43xx()) | ||
671 | return kasprintf(GFP_KERNEL, "AM43xx"); | ||
660 | else | 672 | else |
661 | return kasprintf(GFP_KERNEL, "Unknown"); | 673 | return kasprintf(GFP_KERNEL, "Unknown"); |
662 | } | 674 | } |
diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c index d408b15b4fbf..d9714113a01a 100644 --- a/arch/arm/mach-omap2/io.c +++ b/arch/arm/mach-omap2/io.c | |||
@@ -613,6 +613,7 @@ void __init am43xx_init_early(void) | |||
613 | omap_prm_base_init(); | 613 | omap_prm_base_init(); |
614 | omap_cm_base_init(); | 614 | omap_cm_base_init(); |
615 | omap3xxx_check_revision(); | 615 | omap3xxx_check_revision(); |
616 | am33xx_check_features(); | ||
616 | am43xx_powerdomains_init(); | 617 | am43xx_powerdomains_init(); |
617 | am43xx_clockdomains_init(); | 618 | am43xx_clockdomains_init(); |
618 | am43xx_hwmod_init(); | 619 | am43xx_hwmod_init(); |
diff --git a/arch/arm/mach-omap2/mux.h b/arch/arm/mach-omap2/mux.h index a722330d4d53..d121fb6df4e6 100644 --- a/arch/arm/mach-omap2/mux.h +++ b/arch/arm/mach-omap2/mux.h | |||
@@ -63,9 +63,6 @@ | |||
63 | #define OMAP_PACKAGE_CUS 5 /* 423-pin 0.65 */ | 63 | #define OMAP_PACKAGE_CUS 5 /* 423-pin 0.65 */ |
64 | #define OMAP_PACKAGE_CBB 4 /* 515-pin 0.40 0.50 */ | 64 | #define OMAP_PACKAGE_CBB 4 /* 515-pin 0.40 0.50 */ |
65 | #define OMAP_PACKAGE_CBC 3 /* 515-pin 0.50 0.65 */ | 65 | #define OMAP_PACKAGE_CBC 3 /* 515-pin 0.50 0.65 */ |
66 | #define OMAP_PACKAGE_ZAC 2 /* 24xx 447-pin POP */ | ||
67 | #define OMAP_PACKAGE_ZAF 1 /* 2420 447-pin SIP */ | ||
68 | |||
69 | 66 | ||
70 | #define OMAP_MUX_NR_MODES 8 /* Available modes */ | 67 | #define OMAP_MUX_NR_MODES 8 /* Available modes */ |
71 | #define OMAP_MUX_NR_SIDES 2 /* Bottom & top */ | 68 | #define OMAP_MUX_NR_SIDES 2 /* Bottom & top */ |
diff --git a/arch/arm/mach-omap2/soc.h b/arch/arm/mach-omap2/soc.h index 076bd90a6ce0..30abcc8b20e0 100644 --- a/arch/arm/mach-omap2/soc.h +++ b/arch/arm/mach-omap2/soc.h | |||
@@ -438,7 +438,8 @@ IS_OMAP_TYPE(3430, 0x3430) | |||
438 | #define AM335X_REV_ES2_1 (AM335X_CLASS | (0x2 << 8)) | 438 | #define AM335X_REV_ES2_1 (AM335X_CLASS | (0x2 << 8)) |
439 | 439 | ||
440 | #define AM437X_CLASS 0x43700000 | 440 | #define AM437X_CLASS 0x43700000 |
441 | #define AM437X_REV_ES1_0 AM437X_CLASS | 441 | #define AM437X_REV_ES1_0 (AM437X_CLASS | (0x10 << 8)) |
442 | #define AM437X_REV_ES1_1 (AM437X_CLASS | (0x11 << 8)) | ||
442 | 443 | ||
443 | #define OMAP443X_CLASS 0x44300044 | 444 | #define OMAP443X_CLASS 0x44300044 |
444 | #define OMAP4430_REV_ES1_0 (OMAP443X_CLASS | (0x10 << 8)) | 445 | #define OMAP4430_REV_ES1_0 (OMAP443X_CLASS | (0x10 << 8)) |
diff --git a/arch/arm/mach-omap2/timer.c b/arch/arm/mach-omap2/timer.c index 74044aaf438b..b62de9f9d05c 100644 --- a/arch/arm/mach-omap2/timer.c +++ b/arch/arm/mach-omap2/timer.c | |||
@@ -604,7 +604,8 @@ OMAP_SYS_32K_TIMER_INIT(3_secure, 12, "secure_32k_fck", "ti,timer-secure", | |||
604 | 2, "timer_sys_ck", NULL); | 604 | 2, "timer_sys_ck", NULL); |
605 | #endif /* CONFIG_ARCH_OMAP3 */ | 605 | #endif /* CONFIG_ARCH_OMAP3 */ |
606 | 606 | ||
607 | #if defined(CONFIG_ARCH_OMAP3) || defined(CONFIG_SOC_AM33XX) | 607 | #if defined(CONFIG_ARCH_OMAP3) || defined(CONFIG_SOC_AM33XX) || \ |
608 | defined(CONFIG_SOC_AM43XX) | ||
608 | OMAP_SYS_GP_TIMER_INIT(3, 2, "timer_sys_ck", NULL, | 609 | OMAP_SYS_GP_TIMER_INIT(3, 2, "timer_sys_ck", NULL, |
609 | 1, "timer_sys_ck", "ti,timer-alwon"); | 610 | 1, "timer_sys_ck", "ti,timer-alwon"); |
610 | #endif | 611 | #endif |