mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/3] x86: Add formal Kconfig parameter "X86_BOOTLOADER"
@ 2012-12-16  7:42 Alexander Shiyan
  2012-12-16  7:42 ` [PATCH 2/3] lib: Add formal Kconfig parameter "BCH_CONST_PARAMS" Alexander Shiyan
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Alexander Shiyan @ 2012-12-16  7:42 UTC (permalink / raw)
  To: barebox


Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
---
 arch/x86/Kconfig |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 777604f..6589ae7 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -25,6 +25,9 @@ config X86
 	select HAVE_CONFIGURABLE_TEXT_BASE
 	default y
 
+config X86_BOOTLOADER
+	bool
+
 choice
 	prompt "Select your board"
 
-- 
1.7.8.6


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 2/3] lib: Add formal Kconfig parameter "BCH_CONST_PARAMS"
  2012-12-16  7:42 [PATCH 1/3] x86: Add formal Kconfig parameter "X86_BOOTLOADER" Alexander Shiyan
@ 2012-12-16  7:42 ` Alexander Shiyan
  2012-12-16 10:35   ` Robert Jarzmik
  2012-12-16  7:42 ` [PATCH 3/3] ARM: OMAP: Remove unneeded dependencies for GPMC Alexander Shiyan
  2012-12-19 20:44 ` [PATCH 1/3] x86: Add formal Kconfig parameter "X86_BOOTLOADER" Sascha Hauer
  2 siblings, 1 reply; 5+ messages in thread
From: Alexander Shiyan @ 2012-12-16  7:42 UTC (permalink / raw)
  To: barebox


Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
---
 lib/Kconfig |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/lib/Kconfig b/lib/Kconfig
index 5966386..febb434 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -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
-- 
1.7.8.6


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 3/3] ARM: OMAP: Remove unneeded dependencies for GPMC
  2012-12-16  7:42 [PATCH 1/3] x86: Add formal Kconfig parameter "X86_BOOTLOADER" Alexander Shiyan
  2012-12-16  7:42 ` [PATCH 2/3] lib: Add formal Kconfig parameter "BCH_CONST_PARAMS" Alexander Shiyan
@ 2012-12-16  7:42 ` Alexander Shiyan
  2012-12-19 20:44 ` [PATCH 1/3] x86: Add formal Kconfig parameter "X86_BOOTLOADER" Sascha Hauer
  2 siblings, 0 replies; 5+ messages in thread
From: Alexander Shiyan @ 2012-12-16  7:42 UTC (permalink / raw)
  To: barebox

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

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
---
 arch/arm/mach-omap/Kconfig |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-omap/Kconfig b/arch/arm/mach-omap/Kconfig
index e4103e2..d4a4e4b 100644
--- a/arch/arm/mach-omap/Kconfig
+++ b/arch/arm/mach-omap/Kconfig
@@ -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
-- 
1.7.8.6


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 2/3] lib: Add formal Kconfig parameter "BCH_CONST_PARAMS"
  2012-12-16  7:42 ` [PATCH 2/3] lib: Add formal Kconfig parameter "BCH_CONST_PARAMS" Alexander Shiyan
@ 2012-12-16 10:35   ` Robert Jarzmik
  0 siblings, 0 replies; 5+ messages in thread
From: Robert Jarzmik @ 2012-12-16 10:35 UTC (permalink / raw)
  To: Alexander Shiyan; +Cc: barebox

Alexander Shiyan <shc_work@mail.ru> writes:

> Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
> ---
>  lib/Kconfig |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/lib/Kconfig b/lib/Kconfig
> index 5966386..febb434 100644
> --- a/lib/Kconfig
> +++ b/lib/Kconfig
> @@ -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.

-- 
Robert

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/3] x86: Add formal Kconfig parameter "X86_BOOTLOADER"
  2012-12-16  7:42 [PATCH 1/3] x86: Add formal Kconfig parameter "X86_BOOTLOADER" Alexander Shiyan
  2012-12-16  7:42 ` [PATCH 2/3] lib: Add formal Kconfig parameter "BCH_CONST_PARAMS" Alexander Shiyan
  2012-12-16  7:42 ` [PATCH 3/3] ARM: OMAP: Remove unneeded dependencies for GPMC Alexander Shiyan
@ 2012-12-19 20:44 ` Sascha Hauer
  2 siblings, 0 replies; 5+ messages in thread
From: Sascha Hauer @ 2012-12-19 20:44 UTC (permalink / raw)
  To: Alexander Shiyan; +Cc: barebox

On Sun, Dec 16, 2012 at 11:42:53AM +0400, Alexander Shiyan wrote:
> 
> Signed-off-by: Alexander Shiyan <shc_work@mail.ru>

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

> ---
>  arch/x86/Kconfig |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
> index 777604f..6589ae7 100644
> --- a/arch/x86/Kconfig
> +++ b/arch/x86/Kconfig
> @@ -25,6 +25,9 @@ config X86
>  	select HAVE_CONFIGURABLE_TEXT_BASE
>  	default y
>  
> +config X86_BOOTLOADER
> +	bool
> +
>  choice
>  	prompt "Select your board"
>  
> -- 
> 1.7.8.6
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
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
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-12-19 20:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-16  7:42 [PATCH 1/3] x86: Add formal Kconfig parameter "X86_BOOTLOADER" Alexander Shiyan
2012-12-16  7:42 ` [PATCH 2/3] lib: Add formal Kconfig parameter "BCH_CONST_PARAMS" Alexander Shiyan
2012-12-16 10:35   ` Robert Jarzmik
2012-12-16  7:42 ` [PATCH 3/3] ARM: OMAP: Remove unneeded dependencies for GPMC Alexander Shiyan
2012-12-19 20:44 ` [PATCH 1/3] x86: Add formal Kconfig parameter "X86_BOOTLOADER" Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox