summaryrefslogtreecommitdiff
path: root/zephyr/drivers/cros_flash/CMakeLists.txt
blob: 7a8a41b15f75d8845d7cae51ea9585aeb744c35d (plain)
1
2
3
4
5
6
7
8
9
10
11
# Copyright 2021 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

zephyr_library_sources_ifdef(CONFIG_CROS_FLASH_IT8XXX2	cros_flash_it8xxx2.c)
zephyr_library_sources_ifdef(CONFIG_CROS_FLASH_NPCX	cros_flash_npcx.c)
zephyr_library_sources_ifdef(CONFIG_CROS_FLASH_XEC	cros_flash_xec.c)

zephyr_library_link_libraries_ifdef(CONFIG_PLATFORM_EC_SPI_FLASH_REGS
    spi_flash_reg
)