diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-04-04 08:59:39 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-04-04 08:59:39 -0600 |
commit | 733f889c44e8aaa7898168ee79339adb1b658d44 (patch) | |
tree | e65cf5fcb459cba84202c893fc17d4d8d3a4d35a | |
parent | a6051b5d332687876175e0a55dcd32c9022e6288 (diff) | |
download | nuttx-733f889c44e8aaa7898168ee79339adb1b658d44.tar.gz nuttx-733f889c44e8aaa7898168ee79339adb1b658d44.tar.bz2 nuttx-733f889c44e8aaa7898168ee79339adb1b658d44.zip |
SAMA5: Update from David Sidrane to last RAM function change: Apparently inline functions need to placed into the same RAM section, or they do not get inlined. From David Sidrane
-rw-r--r-- | nuttx/arch/arm/src/sama5/sam_clockconfig.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/nuttx/arch/arm/src/sama5/sam_clockconfig.c b/nuttx/arch/arm/src/sama5/sam_clockconfig.c index 657edd6b3..ed8cb3bf6 100644 --- a/nuttx/arch/arm/src/sama5/sam_clockconfig.c +++ b/nuttx/arch/arm/src/sama5/sam_clockconfig.c @@ -109,7 +109,7 @@ ****************************************************************************/ #if defined(NEED_PLLSETUP) -static void sam_pmcwait(uint32_t bit) +static void __ramfunc__ sam_pmcwait(uint32_t bit) { /* There is no timeout on this wait. Why not? Because the symptoms there * is no fallback if the wait times out and if the wait does time out, it @@ -130,7 +130,7 @@ static void sam_pmcwait(uint32_t bit) ****************************************************************************/ #if defined(NEED_PLLSETUP) -static inline void sam_enablemosc(void) +static inline void __ramfunc__ sam_enablemosc(void) { uint32_t regval; @@ -185,7 +185,7 @@ static inline void sam_enablemosc(void) ****************************************************************************/ #if defined(NEED_PLLSETUP) -static inline void sam_selectmosc(void) +static inline void __ramfunc__ sam_selectmosc(void) { uint32_t regval; @@ -213,7 +213,7 @@ static inline void sam_selectmosc(void) ****************************************************************************/ #if defined(NEED_PLLSETUP) -static inline void sam_pllasetup(void) +static inline void __ramfunc__ sam_pllasetup(void) { uint32_t regval; @@ -243,7 +243,7 @@ static inline void sam_pllasetup(void) ****************************************************************************/ #if defined(NEED_PLLSETUP) -static inline void sam_plladivider(void) +static inline void __ramfunc__ sam_plladivider(void) { uint32_t regval; @@ -294,7 +294,7 @@ static inline void sam_plladivider(void) ****************************************************************************/ #if defined(NEED_PLLSETUP) -static inline void sam_mckprescaler(void) +static inline void __ramfunc__ sam_mckprescaler(void) { uint32_t regval; @@ -321,7 +321,7 @@ static inline void sam_mckprescaler(void) ****************************************************************************/ #if defined(NEED_PLLSETUP) -static inline void sam_mckdivider(void) +static inline void __ramfunc__ sam_mckdivider(void) { uint32_t regval; @@ -347,7 +347,7 @@ static inline void sam_mckdivider(void) ****************************************************************************/ #if defined(NEED_PLLSETUP) -static inline void sam_selectplla(void) +static inline void __ramfunc__ sam_selectplla(void) { uint32_t regval; |