[U-Boot] [PATCH v3] TQM85xx: enable partition support, sort commands

Kumar Gala galak at kernel.crashing.org
Fri Oct 16 19:44:23 CEST 2009


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

> Signed-off-by: Wolfgang Denk <wd at 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


More information about the U-Boot mailing list