summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-02-05 17:55:21 -0700
committerTom Rini <trini@konsulko.com>2023-02-10 07:41:40 -0500
commit1677705c937ec88aea159b443791fa2dcb1af8cd (patch)
treee398c6aa704b640d7c4a5c2a46067238867891cd
parentd84855fe82d1725497773b8048817ae5788e1442 (diff)
downloadu-boot-1677705c937ec88aea159b443791fa2dcb1af8cd.tar.gz
Correct SPL uses of TEN64_CONTROLLER
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>
-rw-r--r--board/traverse/ten64/ten64.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/traverse/ten64/ten64.c b/board/traverse/ten64/ten64.c
index 9e4c84ad2f..5dfb7165c0 100644
--- a/board/traverse/ten64/ten64.c
+++ b/board/traverse/ten64/ten64.c
@@ -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) {