From: Baikal Electronics Date: Fri, 19 Aug 2022 18:39:36 +0000 (+0300) Subject: baikal: bfk3: board: fix spi function call name X-Git-Tag: baikal/mips/sdk5.9~1 X-Git-Url: https://git.baikalelectronics.ru/?a=commitdiff_plain;h=f5e1a33602a5dca23da8193ad164ffa80c127590;p=uboot.git baikal: bfk3: board: fix spi function call name --- diff --git a/board/baikal/bfk3/board.c b/board/baikal/bfk3/board.c index e0c9170adf..c0e9266a33 100644 --- a/board/baikal/bfk3/board.c +++ b/board/baikal/bfk3/board.c @@ -85,11 +85,11 @@ unsigned long get_spi_chip_id(void) op.data.buf.in = (uint8_t *)buf + 1; flash_chip_id[BOOT_FLASH_ID_LEN * 2] = '\0'; - rc = spi_get_bus_and_cs(CONFIG_SF_DEFAULT_BUS, - CONFIG_SF_DEFAULT_CS, - CONFIG_SF_DEFAULT_SPEED, - CONFIG_SF_DEFAULT_MODE, - NULL, 0, &bus, &slave); + rc = _spi_get_bus_and_cs(CONFIG_SF_DEFAULT_BUS, + CONFIG_SF_DEFAULT_CS, + CONFIG_SF_DEFAULT_SPEED, + CONFIG_SF_DEFAULT_MODE, + NULL, 0, &bus, &slave); if (rc) { printf("Error: Failed to get spi bus (%d)\n", rc); return env_get_ulong("cpu_serial", 10, 0);