Created a new directory called bsp (board support package) to hold board or system on chip specific code. The idea is the following. Change-Id: Ica5886806940facae2fa5492fcc938b3c2b989be
16 lines
288 B
C
16 lines
288 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(){
|
|
/* map memory for padconf */
|
|
bsp_padconf_init();
|
|
|
|
/* map memory for rtc */
|
|
omap3_rtc_init();
|
|
|
|
/* map memory for reset control */
|
|
bsp_reset_init();
|
|
}
|