]> git.karo-electronics.de Git - karo-tx-uboot.git/commit
sh: sh7753evb: Fix build error
authorBin Meng <bmeng.cn@gmail.com>
Mon, 25 Jan 2016 05:45:46 +0000 (21:45 -0800)
committerTom Rini <trini@konsulko.com>
Mon, 25 Jan 2016 15:40:00 +0000 (10:40 -0500)
commitb3ce90815cee3ba311c2403b9772976daf9ed41c
tree56aa423afa2f0724fbbba7b7d407fd6d759f089b
parent84b8bf6d5d2a52fb40124c881de162b094ff5cc1
sh: sh7753evb: Fix build error

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@gmail.com>
board/renesas/sh7753evb/sh7753evb.c