• Randy Dunlap's avatar
    ARM: sunplus: fix serial console kconfig and build problems · 1e6989a3
    Randy Dunlap authored
    Fix kconfig dependency warnings and subsequent build errors:
    
    WARNING: unmet direct dependencies detected for SERIAL_SUNPLUS
      Depends on [n]: TTY [=n] && HAS_IOMEM [=y] && (ARCH_SUNPLUS [=y] || COMPILE_TEST [=n])
      Selected by [y]:
      - SOC_SP7021 [=y] && ARCH_SUNPLUS [=y]
    
    WARNING: unmet direct dependencies detected for SERIAL_SUNPLUS_CONSOLE
      Depends on [n]: TTY [=n] && HAS_IOMEM [=y] && SERIAL_SUNPLUS [=y]
      Selected by [y]:
      - SOC_SP7021 [=y] && ARCH_SUNPLUS [=y]
    
    (samples, not all:)
    drivers/tty/serial/sunplus-uart.c:342: undefined reference to `uart_get_baud_rate'
    arm-linux-gnueabi-ld: drivers/tty/serial/sunplus-uart.c:379: undefined reference to `uart_update_timeout'
    drivers/tty/serial/sunplus-uart.c:526: undefined reference to `uart_console_write'
    arm-linux-gnueabi-ld: drivers/tty/serial/sunplus-uart.c:274: undefined reference to `tty_flip_buffer_push'
    arm-linux-gnueabi-ld: drivers/tty/serial/sunplus-uart.o:(.data+0xa8): undefined refere...
    1e6989a3
Kconfig 872 Bytes