Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 295554
b: refs/heads/master
c: fb3cfb1
h: refs/heads/master
v: v3
  • Loading branch information
Afzal Mohammed authored and Tony Lindgren committed Mar 6, 2012
1 parent 40d23b0 commit dd05497
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f611b020e74a41fb6460a5d5ca085d0c361b8b2f
refs/heads/master: fb3cfb1ff9745e0c3aab92cc141c1b353839b0ab
5 changes: 5 additions & 0 deletions trunk/arch/arm/mach-omap2/control.h
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,11 @@
#define AM35XX_HECC_SW_RST BIT(3)
#define AM35XX_VPFE_PCLK_SW_RST BIT(4)

/*
* CONTROL AM33XX STATUS register
*/
#define AM33XX_CONTROL_STATUS 0x040

/*
* CONTROL OMAP STATUS register to identify OMAP3 features
*/
Expand Down
2 changes: 2 additions & 0 deletions trunk/arch/arm/mach-omap2/id.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ int omap_type(void)

if (cpu_is_omap24xx()) {
val = omap_ctrl_readl(OMAP24XX_CONTROL_STATUS);
} else if (cpu_is_am33xx()) {
val = omap_ctrl_readl(AM33XX_CONTROL_STATUS);
} else if (cpu_is_omap34xx()) {
val = omap_ctrl_readl(OMAP343X_CONTROL_STATUS);
} else if (cpu_is_omap44xx()) {
Expand Down

0 comments on commit dd05497

Please sign in to comment.