summaryrefslogtreecommitdiff
path: root/board/freescale/mpc8540ads
diff options
context:
space:
mode:
authorPrabhakar Kushwaha <prabhakar@freescale.com>2013-08-16 14:52:26 +0530
committerYork Sun <yorksun@freescale.com>2013-08-20 09:57:51 -0700
commit997399fa42b098d0a4163e1a3461bd9a34aab8ac (patch)
treec3eef2281fe034340db0cff3260c2da7adb83c7f /board/freescale/mpc8540ads
parent5d97fe2a0421247f6b89591c666d7aa94d40beb0 (diff)
downloadu-boot-imx-997399fa42b098d0a4163e1a3461bd9a34aab8ac.zip
u-boot-imx-997399fa42b098d0a4163e1a3461bd9a34aab8ac.tar.gz
u-boot-imx-997399fa42b098d0a4163e1a3461bd9a34aab8ac.tar.bz2
powerpc: Fix CamelCase checkpatch warnings
85xx, 86xx PowerPC folders have code variables with CamelCase naming conventions. because of this code checkpatch script generates "WARNING: Avoid CamelCase". Convert variables name to normal naming convention and modify board, driver files with updated the new structure. Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com> Acked-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'board/freescale/mpc8540ads')
-rw-r--r--board/freescale/mpc8540ads/mpc8540ads.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/mpc8540ads/mpc8540ads.c b/board/freescale/mpc8540ads/mpc8540ads.c
index 7a84cd2..2fb4037 100644
--- a/board/freescale/mpc8540ads/mpc8540ads.c
+++ b/board/freescale/mpc8540ads/mpc8540ads.c
@@ -68,7 +68,7 @@ local_bus_init(void)
get_sys_info(&sysinfo);
clkdiv = lbc->lcrr & LCRR_CLKDIV;
- lbc_hz = sysinfo.freqSystemBus / 1000000 / clkdiv;
+ lbc_hz = sysinfo.freq_systembus / 1000000 / clkdiv;
if (lbc_hz < 66) {
lbc->lcrr = CONFIG_SYS_LBC_LCRR | LCRR_DBYP; /* DLL Bypass */