From 1f7df26f24882da9a9a1b2a7a52787704cdc36b4 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Mon, 30 Nov 2015 15:20:21 -0600 Subject: [PATCH] SAME70: Initialization has to be done a little differently because the board has no 32.768KHz crystal installed --- configs/same70-xplained/include/board.h | 4 +++- configs/samv71-xult/include/board.h | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/configs/same70-xplained/include/board.h b/configs/same70-xplained/include/board.h index a8577f84e7..41f4e365b1 100644 --- a/configs/same70-xplained/include/board.h +++ b/configs/same70-xplained/include/board.h @@ -57,9 +57,11 @@ * Master Clock (MCK): Source = PLLACK, Prescalar = 1 to generate MCK = 120MHz * CPU clock: 120MHz * - * There are two on-board crystals: + * There can be two on-board crystals. However, the the 32.768 crystal is not + * populated on the stock SAME70. */ +#undef BOARD_HAVE_SLOWXTAL /* Slow crystal not populated */ #define BOARD_SLOWCLK_FREQUENCY (32768) /* 32.768 KHz slow crystal oscillator */ #define BOARD_MAINOSC_FREQUENCY (12000000) /* 12 MHz main oscillator */ diff --git a/configs/samv71-xult/include/board.h b/configs/samv71-xult/include/board.h index 6a7448f79c..97a0195cc4 100644 --- a/configs/samv71-xult/include/board.h +++ b/configs/samv71-xult/include/board.h @@ -60,6 +60,7 @@ * There are two on-board crystals: */ +#define BOARD_HAVE_SLOWXTAL 1 /* Slow crystal is populated */ #define BOARD_SLOWCLK_FREQUENCY (32768) /* 32.768 KHz slow crystal oscillator */ #define BOARD_MAINOSC_FREQUENCY (12000000) /* 12 MHz main oscillator */