[U-Boot] sh: sh7753evb: Fix build error

Tom Rini trini at konsulko.com
Mon Jan 25 22:30:07 CET 2016


On Sun, Jan 24, 2016 at 09:45:46PM -0800, Bin Meng wrote:

> Currently buildman fails to build sh7753evb and reports the following:
> 
>   board/renesas/sh7753evb/built-in.o: In function 'init_gether_mdio':
>   board/renesas/sh7753evb/sh7753evb.c:94: undefined reference to 'PMB_ADDR_BASE'
>   board/renesas/sh7753evb/sh7753evb.c:94: undefined reference to 'PMB_DATA_BASE'
>   board/renesas/sh7753evb/sh7753evb.c:94: undefined reference to 'mk_pmb_addr_val'
>   board/renesas/sh7753evb/sh7753evb.c:94: undefined reference to 'mk_pmb_data_val'
>   make: *** [u-boot] Error 1
> 
> The fix is to wrap any codes that access these macros with CONFIG_SH_32BIT.
> 
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160125/6217b618/attachment.sig>


More information about the U-Boot mailing list