diff options
author | Adam Ford <aford173@gmail.com> | 2017-01-20 14:03:52 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-01-28 14:04:40 -0500 |
commit | 7f668a6fbecdabf9ba84f7d205ba9b882c450aa5 (patch) | |
tree | d6bf975b7652794756338cea0e5cad57abc3de5d /arch/arm/include | |
parent | d5c9d4fbf02310110db815d21ff54ae96aaad2e8 (diff) | |
download | u-boot-7f668a6fbecdabf9ba84f7d205ba9b882c450aa5.tar.gz u-boot-7f668a6fbecdabf9ba84f7d205ba9b882c450aa5.tar.xz u-boot-7f668a6fbecdabf9ba84f7d205ba9b882c450aa5.zip |
arm: omap3: Update cpuinfo for DM3730, DM3725, AM3715, and AM3703
The check for OMAP3630/3730 only checks for 800MHz 3630/3730, but
anything else is lumped into 36XX/37XX with an assumed 1GHz speed.
Based on the DM3730 TRM bit 9 shows the MPU Frequency (800MHz/1GHZ).
This also adds the ability to distinguish between the DM3730, DM3725,
AM3715, and AM3703 and correctly display their maximum speed.
Signed-off-by: Adam Ford <aford173@gmail.com>
Tested-by: Ladislav Michl <ladis@linux-mips.org>
Diffstat (limited to 'arch/arm/include')
-rw-r--r-- | arch/arm/include/asm/arch-omap3/omap.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-omap3/omap.h b/arch/arm/include/asm/arch-omap3/omap.h index 417ff895f1..91d73c2f1d 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 |