From: Robert Jarzmik <robert.jarzmik@free.fr>
To: Alexander Shiyan <shc_work@mail.ru>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH 2/3] lib: Add formal Kconfig parameter "BCH_CONST_PARAMS"
Date: Sun, 16 Dec 2012 11:35:07 +0100 [thread overview]
Message-ID: <87bodunv38.fsf@free.fr> (raw)
In-Reply-To: <1355643775-4981-2-git-send-email-shc_work@mail.ru> (Alexander Shiyan's message of "Sun, 16 Dec 2012 11:42:54 +0400")
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
next prev parent reply other threads:[~2012-12-16 10:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bodunv38.fsf@free.fr \
--to=robert.jarzmik@free.fr \
--cc=barebox@lists.infradead.org \
--cc=shc_work@mail.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.