arch: lpc2378: Fix for Mixed Case Identifier errors

Fix for Mixed Case Identifier errors reported by nxstyle tool

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
This commit is contained in:
Alin Jerpelea
2021-04-09 12:58:07 +02:00
committed by Xiang Xiao
parent 56abcb2b97
commit 6f5537eae2
3 changed files with 13 additions and 13 deletions
+2 -2
View File
@@ -137,8 +137,8 @@ __start:
/* Call lowlevel init C-function */ /* Call lowlevel init C-function */
.extern ConfigurePLL .extern configure_pll
ldr r0, =ConfigurePLL ldr r0, =configure_pll
mov lr, pc mov lr, pc
bx r0 bx r0
+2 -2
View File
@@ -53,14 +53,14 @@
****************************************************************************/ ****************************************************************************/
/**************************************************************************** /****************************************************************************
* Name: IO_Init() * Name: io_init()
* *
* Description: * Description:
* Initialize the target board before running the main() * Initialize the target board before running the main()
* *
****************************************************************************/ ****************************************************************************/
void IO_Init(void) void io_init(void)
{ {
uint32_t regval; uint32_t regval;
+9 -9
View File
@@ -70,7 +70,7 @@
#include "lpc23xx_pinsel.h" #include "lpc23xx_pinsel.h"
#include "lpc23xx_scb.h" #include "lpc23xx_scb.h"
void IO_Init(void); void io_init(void);
/**************************************************************************** /****************************************************************************
* Pre-processor Definitions * Pre-processor Definitions
@@ -163,13 +163,13 @@ static inline void up_scbpllfeed(void)
} }
/**************************************************************************** /****************************************************************************
* Name: ConfigurePLL * Name: configure_pll
****************************************************************************/ ****************************************************************************/
void ConfigurePLL(void) void configure_pll(void)
{ {
uint32_t MSel; uint32_t m_sel;
uint32_t NSel; uint32_t n_sel;
/* LPC2378 Rev.'-' errata Enable the Ethernet block to enable 16k EnetRAM */ /* LPC2378 Rev.'-' errata Enable the Ethernet block to enable 16k EnetRAM */
@@ -232,9 +232,9 @@ void ConfigurePLL(void)
while ((SCB_PLLSTAT & (1 << 26)) == 0); while ((SCB_PLLSTAT & (1 << 26)) == 0);
MSel = SCB_PLLSTAT & 0x00007fff; m_sel = SCB_PLLSTAT & 0x00007fff;
NSel = (SCB_PLLSTAT & 0x00ff0000) >> 16; n_sel = (SCB_PLLSTAT & 0x00ff0000) >> 16;
while ((MSel != PLL_M) && (NSel != PLL_N)); while ((m_sel != PLL_M) && (n_sel != PLL_N));
/* Enable and connect */ /* Enable and connect */
@@ -255,7 +255,7 @@ void ConfigurePLL(void)
SCB_SCS |= 0x01; SCB_SCS |= 0x01;
IO_Init(); io_init();
return; return;
} }