]> Git Repo - J-u-boot.git/commit
rockchip: rk3399: Fix TPL build of bob and kevin
authorJonas Karlman <[email protected]>
Thu, 12 Dec 2024 23:57:08 +0000 (23:57 +0000)
committerTom Rini <[email protected]>
Sat, 11 Jan 2025 00:56:18 +0000 (18:56 -0600)
commit4576e65a5d6b10fd207c3a44061676ce0220d794
tree740b6fd8cca62079f8fb8a5de13fdfd40dce04f7
parentddb3d7e635c41bd46dd386efdb0e9c21e94ba99e
rockchip: rk3399: Fix TPL build of bob and kevin

Building chromebook_bob/kevin with TPL=y ends with a linking error:

  arch/arm/mach-rockchip/rk3399/rk3399.o: in function `board_debug_uart_init':
  arch/arm/mach-rockchip/rk3399/rk3399.c:148:(.text.board_debug_uart_init+0x34):
    undefined reference to `spl_gpio_output'
  arch/arm/mach-rockchip/rk3399/rk3399.c:148:(.text.board_debug_uart_init+0x34):
    relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `spl_gpio_output'

  make[2]: *** [scripts/Makefile.xpl:542: tpl/u-boot-tpl] Error 1
  make[1]: *** [Makefile:2134: tpl/u-boot-tpl] Error 2
  make: *** [Makefile:568: __build_one_by_one] Error 2

Change to only use spl_gpio functions in SPL to fix this.

Signed-off-by: Jonas Karlman <[email protected]>
Reviewed-by: Kever Yang <[email protected]>
arch/arm/mach-rockchip/rk3399/rk3399.c
This page took 0.038262 seconds and 5 git commands to generate.