diff --git a/configs/mx1ads/include/board.h b/configs/mx1ads/include/board.h index a9d6c2daf70..80bbc249ddd 100644 --- a/configs/mx1ads/include/board.h +++ b/configs/mx1ads/include/board.h @@ -159,7 +159,7 @@ * and mapped but before any devices have been initialized. */ -extern void imx_boardinitialize(void); +void imx_board_initialize(void); #endif diff --git a/configs/mx1ads/src/Makefile b/configs/mx1ads/src/Makefile index 49c34fa7476..b655069b9e3 100644 --- a/configs/mx1ads/src/Makefile +++ b/configs/mx1ads/src/Makefile @@ -36,6 +36,6 @@ -include $(TOPDIR)/Make.defs ASRCS = -CSRCS = mx1_boot.c mx1_leds.c mx1_network.c +CSRCS = mx1_boardinit.c mx1_leds.c mx1_network.c include $(TOPDIR)/configs/Board.mk diff --git a/configs/mx1ads/src/mx1_boot.c b/configs/mx1ads/src/mx1_boardinit.c similarity index 97% rename from configs/mx1ads/src/mx1_boot.c rename to configs/mx1ads/src/mx1_boardinit.c index ef88442490c..33fec23c778 100644 --- a/configs/mx1ads/src/mx1_boot.c +++ b/configs/mx1ads/src/mx1_boardinit.c @@ -1,5 +1,5 @@ /************************************************************************************ - * configs/mx1ads/src/mx1_boot.c + * configs/mx1ads/src/mx1_boardinit`.c * * Copyright (C) 2009 Gregory Nutt. All rights reserved. * Author: Gregory Nutt @@ -60,7 +60,7 @@ ************************************************************************************/ /************************************************************************************ - * Name: imx_boardinitialize + * Name: imx_board_initialize * * Description: * All i.MX architectures must provide the following entry point. This entry point @@ -68,7 +68,7 @@ * and mapped but before any devices have been initialized. ************************************************************************************/ -void imx_boardinitialize(void) +void imx_board_initialize(void) { uint32_t regval;