From fb512f1f373b06b9f23a21a1a5c0d122545d7411 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 3 Mar 2016 16:41:39 -0600 Subject: [PATCH] i.MX1: Rename imx_boardinitialize to imx_board_initialize --- configs/mx1ads/include/board.h | 2 +- configs/mx1ads/src/Makefile | 2 +- configs/mx1ads/src/{mx1_boot.c => mx1_boardinit.c} | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) rename configs/mx1ads/src/{mx1_boot.c => mx1_boardinit.c} (97%) diff --git a/configs/mx1ads/include/board.h b/configs/mx1ads/include/board.h index a9d6c2daf7..80bbc249dd 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 49c34fa747..b655069b9e 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 ef88442490..33fec23c77 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;