summaryrefslogtreecommitdiff
path: root/cesar/hal/boot_params/src/boot_params_handlers.c
blob: 50e84aab3e2f6cd9d3a043a9da8402e96a9ec849 (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
/* Cesar project {{{
 *
 * Copyright (C) 2011 Spidcom
 *
 * <<<Licence>>>
 *
 * }}} */
/**
 * \file    hal/boot_params/src/boot_params_handlers.c
 * \brief   List of the boot parameters and their handlers.
 * \ingroup hal_boot_params
 *
 * The handlers for the boot parameters are specified in this file.
 * To add a handler function "fct" for the boot parameter "p":
 * - add a line
 *    BOOT_PARAM_HANDLER("p", fct)
 * - include the header file for "fct".
 */

#include "common/std.h"

#include "hal/boot_params/inc/boot_params_handlers.h"
#include "hal/mem/mem.h"
#include "hal/clk/clk.h"

BEGIN_BOOT_PARAM_HANDLERS

BOOT_PARAM_HANDLER ("mem", mem_handle_boot_param_mem)
BOOT_PARAM_HANDLER ("sysclk_mhz", hal_clk_boot_param_sysclk_mhz)

END_BOOT_PARAM_HANDLERS