Skip to content
Snippets Groups Projects
Commit f697c2ac authored by Peng Fan's avatar Peng Fan Committed by Stefano Babic
Browse files

imx: fix coding style


Fix coding style.

Signed-off-by: default avatarPeng Fan <Peng.Fan@freescale.com>
Cc: Stefano Babic <sbabic@denx.de>
parent 60dba188
No related branches found
No related tags found
No related merge requests found
...@@ -79,7 +79,7 @@ u32 get_cpu_temp_grade(int *minc, int *maxc) ...@@ -79,7 +79,7 @@ u32 get_cpu_temp_grade(int *minc, int *maxc)
val &= 0x3; val &= 0x3;
if (minc && maxc) { if (minc && maxc) {
if ( val == TEMP_AUTOMOTIVE) { if (val == TEMP_AUTOMOTIVE) {
*minc = -40; *minc = -40;
*maxc = 125; *maxc = 125;
} else if (val == TEMP_INDUSTRIAL) { } else if (val == TEMP_INDUSTRIAL) {
......
...@@ -44,8 +44,7 @@ void init_aips(void) ...@@ -44,8 +44,7 @@ void init_aips(void)
writel(0x00000000, &aips2->opacr3); writel(0x00000000, &aips2->opacr3);
writel(0x00000000, &aips2->opacr4); writel(0x00000000, &aips2->opacr4);
if (is_cpu_type(MXC_CPU_MX6SX) || is_soc_type(MXC_SOC_MX7)) if (is_cpu_type(MXC_CPU_MX6SX) || is_soc_type(MXC_SOC_MX7)) {
{
/* /*
* Set all MPROTx to be non-bufferable, trusted for R/W, * Set all MPROTx to be non-bufferable, trusted for R/W,
* not forced to user-mode. * not forced to user-mode.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment