1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
#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(); }