]> git.baikalelectronics.ru Git - uboot.git/commitdiff
baikal: bfk3: board: fix spi function call name
authorBaikal Electronics <support@baikalelectronics.ru>
Fri, 19 Aug 2022 18:39:36 +0000 (21:39 +0300)
committerBaikal Electronics <support@baikalelectronics.ru>
Fri, 19 Aug 2022 18:39:36 +0000 (21:39 +0300)
board/baikal/bfk3/board.c

index e0c9170adf82e43f11ccaa70b7e6e83865ef5d0d..c0e9266a33c2c36edaef65af1e26a5d351d8c798 100644 (file)
@@ -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);