Skip to contentSkip to conversation

x86: Add formal Kconfig parameter "X86_BOOTLOADER"

PATCH In review Alexander Shiyan 3 participants 5 messages Dec 16, 2012 – Dec 19, 2012

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/3 x86: Add formal Kconfig parameter "X86_BOOTLOADER"

---
 arch/x86/Kconfig |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
arch/x86/Kconfig +3 -0
index 777604f..6589ae7 100644
@@ -25,6 +25,9 @@ config X86
 	select HAVE_CONFIGURABLE_TEXT_BASE
 	default y
 
+config X86_BOOTLOADER
+	bool
+
 choice
 	prompt "Select your board"
 
Signature · 7 lines
1.7.8.6


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#1 lore raw

PATCH 2/3 lib: Add formal Kconfig parameter "BCH_CONST_PARAMS"

---
 lib/Kconfig |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
lib/Kconfig +3 -0
index 5966386..febb434 100644
@@ -20,6 +20,9 @@ config GENERIC_FIND_NEXT_BIT
 config PROCESS_ESCAPE_SEQUENCE
 	def_bool n
 
+config BCH_CONST_PARAMS
+	bool
+
 source lib/lzo/Kconfig
 
 config FDT
Signature · 7 lines
1.7.8.6


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#2 lore raw

Re: [PATCH 2/3] lib: Add formal Kconfig parameter "BCH_CONST_PARAMS"

Quoted 10 lines · Alexander Shiyan
---
 lib/Kconfig |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
lib/Kconfig +0 -0
index 5966386..febb434 100644

lib/Kconfig config GENERIC_FIND_NEXT_BIT · line 26

Quoted 7 lines
lib/Kconfig +3 -0
@@ -20,6 +20,9 @@ config GENERIC_FIND_NEXT_BIT
 config PROCESS_ESCAPE_SEQUENCE
 	def_bool n
 
+config BCH_CONST_PARAMS
+	bool
+
 source lib/lzo/Kconfig

No, this is incomplete.
If you want to enable compiler optimization of BCH algorithm, you should define also :
config BCH_CONST_M
int
range 5 15
help
Constant value for Galois field order 'm'. If 'k' is the number of data bits to protect, 'm' should be chosen such that (k + m*t) <= 2**m - 1.
Drivers should declare a default value for this symbol if they select option BCH_CONST_PARAMS.

config BCH_CONST_T
int
help
Constant value for error correction capability in bits 't'. Drivers should declare a default value for this symbol if they select option BCH_CONST_PARAMS.

Signature · 6 lines
Robert

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#3 lore raw

PATCH 3/3 ARM: OMAP: Remove unneeded dependencies for GPMC

In reply to Alexander Shiyan

ARCH_OMAP2 missing in barebox.
ARCH_OMAP3 and ARCH_OMAP4 is only choice for this target.

---
 arch/arm/mach-omap/Kconfig |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
arch/arm/mach-omap/Kconfig +0 -1
index e4103e2..d4a4e4b 100644
@@ -59,7 +59,6 @@ config OMAP3_CLOCK_CONFIG
 config OMAP_GPMC
 	prompt "Support for GPMC configuration"
 	bool
-	depends on (ARCH_OMAP2 || ARCH_OMAP3 || ARCH_OMAP4)
 	default y
 	help
 	  Enable this if you use Texas Instrument's General purpose Memory
Signature · 7 lines
1.7.8.6


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#4 lore raw
In reply to Alexander Shiyan
Quoted 2 lines · Alexander Shiyan

Applied 1/3 and 3/3. Please add a more descriptive message next time, something like symbol X86_BOOTLOADER is used but never defined

Sascha

Quoted 27 lines
---
 arch/x86/Kconfig |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
arch/x86/Kconfig +3 -0
index 777604f..6589ae7 100644
@@ -25,6 +25,9 @@ config X86
 	select HAVE_CONFIGURABLE_TEXT_BASE
 	default y
 
+config X86_BOOTLOADER
+	bool
+
 choice
 	prompt "Select your board"
 
Signature · 7 lines
1.7.8.6


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox