arm/nxp_kinetis/k6x: always inline clock init function

The clkInit() is always called so this can be inlined.
This saves 32 bytes of ROM space compared to non-inlined version.

Change-Id: I2cb6d02c0996acad16029be243f6059183938089
Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
Daniel Leung 2016-04-28 15:08:11 -07:00 committed by Anas Nashif
commit ad6ed299b7

View file

@ -91,7 +91,7 @@ uint8_t __security_frdm_k64f_section __security_frdm_k64f[] = {
*
*/
static void clkInit(void)
static ALWAYS_INLINE void clkInit(void)
{
uint8_t temp_reg;
K20_MCG_t *mcg_p = (K20_MCG_t *)PERIPH_ADDR_BASE_MCG; /* clk gen. ctl */