Dear Valeriy Glushkov,

In message <12323711841178-git-send-email-...@lstec.com> you wrote:
> When U-boot starting from NAND the pointers to chip names are set before 
> relocation.
> If the original memory block is overwritten after relocation that led to 
> invalid
> string data in the nand utility.

This means that the pointers need to be manually relocated.

> -                                    i, nand_info[i].name,
> +                                    i, nand_info[i].name + gd->reloc_off,

Such relocation shouldbe done exactly once, right after relocation.

Doing this everywhere where the pointers are references is error
prone, ugly and wastes memory.

Please change your patch to fix the pointers. Thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
"We all agree on the necessity of compromise. We just can't agree  on
when it's necessary to compromise."
                - Larry Wall in  <1991nov13.194420.28...@netlabs.com>
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to