summaryrefslogtreecommitdiff
path: root/cesar/hal/clk/clk.h
blob: 83233c507b42f0d63fd6c21ea429d62682996216 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef hal_clk_clk_h
#define hal_clk_clk_h
/* Cesar project {{{
 *
 * Copyright (C) 2012 Spidcom
 *
 * <<<Licence>>>
 *
 * }}} */
/**
 * \file    hal/clk/clk.h
 * \brief   Boot param handler to get the system/uart clocks.
 * \ingroup hal
 *
 * For MSE500 the system/uart clocks differs from the one of the SPC300, the
 * main objective is to keep the same binary for both chips.
 */

BEGIN_DECLS

/**
 * Handle the boot parameter "sysclk_mhz".
 * \param  param_value  value passed for the "sysclk_mhz" parameter
 * \return  0 on success, -1 otherwise
 */
int
hal_clk_boot_param_sysclk_mhz (const char *param_value);

END_DECLS

#endif /* hal_clk_clk_h */