summaryrefslogtreecommitdiff
path: root/nuttx/configs/sam3u-ek/src/up_boot.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/sam3u-ek/src/up_boot.c')
-rw-r--r--nuttx/configs/sam3u-ek/src/up_boot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/configs/sam3u-ek/src/up_boot.c b/nuttx/configs/sam3u-ek/src/up_boot.c
index c7367fe02..6892f3c9c 100644
--- a/nuttx/configs/sam3u-ek/src/up_boot.c
+++ b/nuttx/configs/sam3u-ek/src/up_boot.c
@@ -74,7 +74,7 @@ void sam_boardinitialize(void)
* sam_spiinitialize() has been brought into the link.
*/
-#ifdef CONFIG_SAM34_SPI
+#ifdef CONFIG_SAM34_SPI0
if (sam_spiinitialize)
{
sam_spiinitialize();