On Sep 8, 2009, at 3:29 PM, Wolfgang Denk wrote:

> Signed-off-by: Wolfgang Denk <w...@denx.de>
>
> ---
> v2: Fix building for TQM8548_BE
>
>    On TQM8548_BE, building failed like that:
>       Configuring for TQM85xx board...
>       common/libcommon.a(cmd_mtdparts.o): In function  
> `part_validate_eraseblock':
>       /home/wd/git/u-boot/work/common/cmd_mtdparts.c:316: undefined  
> reference to `get_mtd_device_nm'
>       common/libcommon.a(cmd_mtdparts.o): In function  
> `mtd_device_validate':
>       /home/wd/git/u-boot/work/common/cmd_mtdparts.c:706: undefined  
> reference to `get_mtd_device_nm'
>       make: *** [u-boot] Error 1
>
>    This was because CONFIG_CMD_MTDPARTS was defined after it was
>    used. Move the part that uses it after the #define.
> v3: Fix "undefined reference to `get_mtd_device_nm'" errors for
>    non-8548 boards; build-tested with ELDK 4.2 on TQM8540, TQM8541,
>    TQM8548, TQM8548_AG, TQM8548_BE, TQM8555 and TQM8560
>
> include/configs/TQM85xx.h |   51 +++++++++++++++++++++++ 
> +--------------------
> 1 files changed, 28 insertions(+), 23 deletions(-)

We never resolved this.

- k
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to