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

Sergei Shtylyov sshtylyov at mvista.com
Sun Oct 3 13:19:21 CEST 2010


Hello.

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

> Signed-off-by: Marek Vasut <marek.vasut at 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


More information about the U-Boot mailing list