kconfig: remove Kconfig BOARD_RPI_PICO_W safe guard.

Boards are defining two Kconfigs, `BOARD_<board_name>` and
`BOARD_<board_name>_<identifier>`.

For the raspberry pi pico, this is then BOARD_RPI_PICO and
BOARD_RPI_PICO_RP2040 / BOARD_RPI_PICO_RP2040_W.

Thus there is no BOARD_RPI_PICO_W.
As all occurences with BOARD_RPI_PICO_W, is done as:
BOARD_RPI_PICO || BOARD_RPI_PICO_W, then simply remove BOARD_RPI_PICO_W.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
This commit is contained in:
Torsten Rasmussen
2024-01-25 13:36:18 +01:00
committed by Jamie McCrae
parent f4442fa698
commit 6be3d4bc80

View File

@@ -1,7 +1,7 @@
# Copyright (c) 2021 Yonatan Schachter
# SPDX-License-Identifier: Apache-2.0
if BOARD_RPI_PICO || BOARD_RPI_PICO_W
if BOARD_RPI_PICO
config RP2_FLASH_W25Q080
default y
@@ -16,4 +16,4 @@ endif # I2C_DW
config USB_SELF_POWERED
default n
endif # BOARD_RPI_PICO || BOARD_RPI_PICO_W
endif # BOARD_RPI_PICO