[U-Boot] [PATCH 2/4] OneNAND: Fixup command table on reloc

Sergei Shtylyov
2010-10-03T11:19:21Z

Hello.

On 02-10-2010 21:33, Marek Vasut wrote:

> Signed-off-by: Marek Vasut <marek.vasut@gmail.com>

[...]

> diff --git a/common/cmd_onenand.c b/common/cmd_onenand.c
> index 83d967b..fe84c3b 100644
> --- a/common/cmd_onenand.c
> +++ b/common/cmd_onenand.c
> @@ -525,6 +525,12 @@ static cmd_tbl_t cmd_onenand_sub[] = {
> U_BOOT_CMD_MKENT(markbad, CONFIG_SYS_MAXARGS, 0, do_onenand_markbad, "", ""),
> };
>
> +#ifndef CONFIG_RELOC_FIXUP_WORKS
> +void onenand_reloc(void) {

{ should be on a separate line.

WBR, Sergei