diff options
| -rw-r--r-- | arch/arm/include/asm/arch-omap3/omap.h | 8 | ||||
| -rw-r--r-- | arch/arm/mach-omap2/omap3/sys_info.c | 42 | 
2 files changed, 48 insertions, 2 deletions
| diff --git a/arch/arm/include/asm/arch-omap3/omap.h b/arch/arm/include/asm/arch-omap3/omap.h index 417ff895f19..91d73c2f1d6 100644 --- a/arch/arm/include/asm/arch-omap3/omap.h +++ b/arch/arm/include/asm/arch-omap3/omap.h @@ -230,6 +230,14 @@ struct gpio {  #define AM3517			0x1c00  #define OMAP3730		0x0c00 +#define OMAP3725		0x4c00 +#define AM3715			0x1c00 +#define AM3703			0x5c00 + +#define OMAP3730_1GHZ		0x0e00 +#define OMAP3725_1GHZ		0x4e00 +#define AM3715_1GHZ		0x1e00 +#define AM3703_1GHZ		0x5e00  /*   * ROM code API related flags diff --git a/arch/arm/mach-omap2/omap3/sys_info.c b/arch/arm/mach-omap2/omap3/sys_info.c index 1f8b5ad77cd..7e6c2633f9b 100644 --- a/arch/arm/mach-omap2/omap3/sys_info.c +++ b/arch/arm/mach-omap2/omap3/sys_info.c @@ -295,16 +295,54 @@ int print_cpuinfo (void)  		max_clk = "600 MHz";  		break;  	case CPU_OMAP36XX: -		cpu_family_s = "OMAP";  		switch (get_cpu_type()) { +		case AM3703: +			cpu_family_s = "AM"; +			cpu_s = "3703"; +			max_clk = "800 MHz"; +			break; +		case AM3703_1GHZ: +			cpu_family_s = "AM"; +			cpu_s = "3703"; +			max_clk = "1 GHz"; +			break; +		case AM3715: +			cpu_family_s = "AM"; +			cpu_s = "3715"; +			max_clk = "800 MHz"; +			break; +		case AM3715_1GHZ: +			cpu_family_s = "AM"; +			cpu_s = "3715"; +			max_clk = "1 GHz"; +			break; +		case OMAP3725: +			cpu_family_s = "OMAP"; +			cpu_s = "3625/3725"; +			max_clk = "800 MHz"; +			break; +		case OMAP3725_1GHZ: +			cpu_family_s = "OMAP"; +			cpu_s = "3625/3725"; +			max_clk = "1 GHz"; +			break;  		case OMAP3730: +			cpu_family_s = "OMAP";  			cpu_s = "3630/3730"; +			max_clk = "800 MHz"; +			break; +		case OMAP3730_1GHZ: +			cpu_family_s = "OMAP"; +			cpu_s = "3630/3730"; +			max_clk = "1 GHz";  			break;  		default: +			cpu_family_s = "OMAP/AM";  			cpu_s = "36XX/37XX"; +			max_clk = "1 GHz";  			break;  		} -		max_clk = "1 GHz"; +  		break;  	default:  		cpu_family_s = "OMAP"; | 
