Correct SPL uses of TEN64_CONTROLLER
authorSimon Glass <sjg@chromium.org>
Mon, 6 Feb 2023 00:55:21 +0000 (17:55 -0700)
committerTom Rini <trini@konsulko.com>
Fri, 10 Feb 2023 12:41:40 +0000 (07:41 -0500)
This converts 2 usages of this option to the non-SPL form, since there is
no SPL_TEN64_CONTROLLER defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
board/traverse/ten64/ten64.c

index 9e4c84a..5dfb716 100644 (file)
@@ -97,7 +97,7 @@ int checkboard(void)
                printf("Unknown boot source %d\n", src);
 
        puts("Controller: ");
-       if (CONFIG_IS_ENABLED(TEN64_CONTROLLER)) {
+       if (IS_ENABLED(CONFIG_TEN64_CONTROLLER)) {
                /* Driver not compatible with alpha/beta board MCU firmware */
                if (board_rev <= TEN64_BOARD_REV_C) {
                        if (ten64_read_board_info(&boardinfo)) {
@@ -375,7 +375,7 @@ static void ten64_board_retimer_ds110df410_init(void)
        /* Retimer power cycle not implemented on early board
         * revisions/controller firmwares
         */
-       if (CONFIG_IS_ENABLED(TEN64_CONTROLLER) &&
+       if (IS_ENABLED(CONFIG_TEN64_CONTROLLER) &&
            board_rev >= TEN64_BOARD_REV_C) {
                ret = board_cycle_retimer(&retim_dev);
                if (ret) {