lkml.org 
[lkml]   [2022]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 2/3] ARM: Kconfig-nommu: Fix indentation and quotes
Date
The convention for indentation seems to be a single tab. Help text is
further indented by an additional two whitespaces. Fix the lines that
violate these rules.

While add it, replace single quotes with double-quotes.

Signed-off-by: Juerg Haefliger <juergh@canonical.com>
---
arch/arm/Kconfig-nommu | 34 +++++++++++++++++-----------------
1 file changed, 17 insertions(+), 17 deletions(-)

diff --git a/arch/arm/Kconfig-nommu b/arch/arm/Kconfig-nommu
index 36c80d3dd93f..5bc1b6d6526b 100644
--- a/arch/arm/Kconfig-nommu
+++ b/arch/arm/Kconfig-nommu
@@ -7,29 +7,29 @@
config SET_MEM_PARAM
bool "Set flash/sdram size and base addr"
help
- Say Y to manually set the base addresses and sizes.
- otherwise, the default values are assigned.
+ Say Y to manually set the base addresses and sizes.
+ otherwise, the default values are assigned.

config DRAM_BASE
- hex '(S)DRAM Base Address' if SET_MEM_PARAM
+ hex "(S)DRAM Base Address" if SET_MEM_PARAM
default 0x00800000

config DRAM_SIZE
- hex '(S)DRAM SIZE' if SET_MEM_PARAM
+ hex "(S)DRAM SIZE" if SET_MEM_PARAM
default 0x00800000

config FLASH_MEM_BASE
- hex 'FLASH Base Address' if SET_MEM_PARAM
+ hex "FLASH Base Address" if SET_MEM_PARAM
depends on CPU_ARM740T || CPU_ARM946E || CPU_ARM940T
default 0x00400000

config FLASH_SIZE
- hex 'FLASH Size' if SET_MEM_PARAM
+ hex "FLASH Size" if SET_MEM_PARAM
depends on CPU_ARM740T || CPU_ARM946E || CPU_ARM940T
default 0x00400000

config PROCESSOR_ID
- hex 'Hard wire the processor ID'
+ hex "Hard wire the processor ID"
default 0x00007700
depends on !(CPU_CP15 || CPU_V7M)
help
@@ -37,7 +37,7 @@ config PROCESSOR_ID
used instead of the auto-probing which utilizes the register.

config REMAP_VECTORS_TO_RAM
- bool 'Install vectors to the beginning of RAM'
+ bool "Install vectors to the beginning of RAM"
help
The kernel needs to change the hardware exception vectors.
In nommu mode, the hardware exception vectors are normally
@@ -54,13 +54,13 @@ config REMAP_VECTORS_TO_RAM
the writable versions located at DRAM_BASE.

config ARM_MPU
- bool 'Use the ARM v7 PMSA Compliant MPU'
- depends on CPU_V7 || CPU_V7M
- default y if CPU_V7
- help
- Some ARM systems without an MMU have instead a Memory Protection
- Unit (MPU) that defines the type and permissions for regions of
- memory.
+ bool "Use the ARM v7 PMSA Compliant MPU"
+ depends on CPU_V7 || CPU_V7M
+ default y if CPU_V7
+ help
+ Some ARM systems without an MMU have instead a Memory Protection
+ Unit (MPU) that defines the type and permissions for regions of
+ memory.

- If your CPU has an MPU then you should choose 'y' here unless you
- know that you do not want to use the MPU.
+ If your CPU has an MPU then you should choose 'y' here unless you
+ know that you do not want to use the MPU.
--
2.32.0
\
 
 \ /
  Last update: 2022-05-17 16:16    [W:0.056 / U:1.492 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site