Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 196209
b: refs/heads/master
c: 33f7ec8
h: refs/heads/master
i:
  196207: 7cddfac
v: v3
  • Loading branch information
Benoit Cousson authored and Paul Walmsley committed May 20, 2010
1 parent 2b869fa commit d28ea53
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9a23dfe12806920a8dfadec5ea5b83e5ca5378c9
refs/heads/master: 33f7ec81fb3e525eec0575f33dbab02240eda6d4
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-omap2/omap_hwmod.c
Original file line number Diff line number Diff line change
Expand Up @@ -808,7 +808,7 @@ static int _wait_target_ready(struct omap_hwmod *oh)

os = *oh->slaves + oh->_mpu_port_index;

if (!(os->flags & OCPIF_HAS_IDLEST))
if (oh->flags & HWMOD_NO_IDLEST)
return 0;

/* XXX check module SIDLEMODE */
Expand Down
8 changes: 5 additions & 3 deletions trunk/arch/arm/plat-omap/include/plat/omap_hwmod.h
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,8 @@ struct omap_hwmod_addr_space {
#define OCP_USER_SDMA (1 << 1)

/* omap_hwmod_ocp_if.flags bits */
#define OCPIF_HAS_IDLEST (1 << 0)
#define OCPIF_SWSUP_IDLE (1 << 1)
#define OCPIF_CAN_BURST (1 << 2)
#define OCPIF_SWSUP_IDLE (1 << 0)
#define OCPIF_CAN_BURST (1 << 1)

/**
* struct omap_hwmod_ocp_if - OCP interface data
Expand Down Expand Up @@ -351,13 +350,16 @@ struct omap_hwmod_omap4_prcm {
* when module is enabled, rather than the default, which is to
* enable autoidle
* HWMOD_SET_DEFAULT_CLOCKACT: program CLOCKACTIVITY bits at startup
* HWMOD_NO_IDLEST : this module does not have idle status - this is the case
* only for few initiator modules on OMAP2 & 3.
*/
#define HWMOD_SWSUP_SIDLE (1 << 0)
#define HWMOD_SWSUP_MSTANDBY (1 << 1)
#define HWMOD_INIT_NO_RESET (1 << 2)
#define HWMOD_INIT_NO_IDLE (1 << 3)
#define HWMOD_NO_OCP_AUTOIDLE (1 << 4)
#define HWMOD_SET_DEFAULT_CLOCKACT (1 << 5)
#define HWMOD_NO_IDLEST (1 << 6)

/*
* omap_hwmod._int_flags definitions
Expand Down

0 comments on commit d28ea53

Please sign in to comment.