
Changed all K&R style functions to ANSI-style declarations within the kernel directory. The code compiles and aparently works for i386. For arm my toolchain does not work, but I have changed the code with great care. Also, the make command fails for the test suite. Therefore, I strongly recommand to review the code with care. Edited by David van Moolenbroek to convert really all K&R functions. Change-Id: I58cde797d36f4caa9c72db4e4dc27d8545ab8866
23 lines
344 B
C
23 lines
344 B
C
#include <sys/types.h>
|
|
#include "bsp_init.h"
|
|
#include "bsp_padconf.h"
|
|
#include "omap_rtc.h"
|
|
#include "bsp_reset.h"
|
|
|
|
void
|
|
bsp_init(void)
|
|
{
|
|
|
|
/* map memory for padconf */
|
|
bsp_padconf_init();
|
|
|
|
/* map memory for rtc */
|
|
omap3_rtc_init();
|
|
|
|
/* map memory for reset control */
|
|
bsp_reset_init();
|
|
|
|
/* disable watchdog */
|
|
bsp_disable_watchdog();
|
|
}
|