/* Cesar project {{{ * * Copyright (C) 2011 Spidcom * * <<>> * * }}} */ /** * \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) BOOT_PARAM_HANDLER ("dspclk_mhz", hal_clk_boot_param_dspclk_mhz) BOOT_PARAM_HANDLER ("uartclk_mhz", hal_clk_boot_param_uartclk_mhz) END_BOOT_PARAM_HANDLERS