bwct_board.c revision 199767f8919635c4928607450d9e0abb932109ce
__FBSDID("$FreeBSD$");
#include "at91rm9200_lowlevel.h"
#include "at91rm9200.h"
#include "emac.h"
#include "lib.h"
#include "ee.h"
#include "board.h"
#include "sd-card.h"
static void USART0_Init();
static void USART1_Init();
static void USART2_Init();
static void USART3_Init();
static void DS1672_Init();
static void
DS1672_Init() {
}
static void
USART0_Init() {
// setup GPIO
// enable power
}
static void
USART1_Init() {
// setup GPIO
// enable power
}
static void
USART2_Init() {
// setup GPIO
// enable power
}
static void
USART3_Init() {
// setup GPIO
// enable power
}
void
board_init(void)
{
printf("\n\n");
printf("BWCT FSB-A920-1\n");
printf("\n");
#if defined(SDRAM_128M)
printf("AT92RM9200 180MHz 128MB\n");
#else
printf("AT92RM9200 180MHz 64MB\n");
#endif
printf("Initialising USART0\n");
USART0_Init();
printf("Initialising USART1\n");
USART1_Init();
printf("Initialising USART2\n");
USART2_Init();
printf("Initialising USART3\n");
USART3_Init();
printf("Initialising TWI\n");
EEInit();
printf("Initialising DS1672\n");
DS1672_Init();
printf("Initialising Ethernet\n");
EMAC_Init();
printf("Initialising SD-card\n");
sdcard_init();
}
int
{
}