diff options
author | Afzal Mohammed <afzal@ti.com> | 2014-02-07 11:21:25 +0100 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2014-03-01 00:33:27 +0100 |
commit | 7a2e05132424ea6bd5d957941ee9805774bad32f (patch) | |
tree | a551c92e63a28911d2197dbced4fd5e2c6e854e5 /arch/arm/mach-omap2/id.c | |
parent | ARM: OMAP2+: AM43x: Add ID for ES1.1 (diff) | |
download | linux-7a2e05132424ea6bd5d957941ee9805774bad32f.tar.xz linux-7a2e05132424ea6bd5d957941ee9805774bad32f.zip |
ARM: OMAP2+: AM43x: determine features
Determine AM43x device features by reusing AM335x helper as feature
register layout is similar.
And also exporting AM43xx family name.
Signed-off-by: Afzal Mohammed <afzal@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/id.c')
-rw-r--r-- | arch/arm/mach-omap2/id.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/id.c b/arch/arm/mach-omap2/id.c index 8a05eaf85f8a..157412e4273a 100644 --- a/arch/arm/mach-omap2/id.c +++ b/arch/arm/mach-omap2/id.c @@ -667,6 +667,8 @@ static const char * __init omap_get_family(void) return kasprintf(GFP_KERNEL, "OMAP4"); else if (soc_is_omap54xx()) return kasprintf(GFP_KERNEL, "OMAP5"); + else if (soc_is_am43xx()) + return kasprintf(GFP_KERNEL, "AM43xx"); else return kasprintf(GFP_KERNEL, "Unknown"); } |