Haavard Skinnemoen | d25ce7d | 2008-05-16 11:10:33 +0200 | [diff] [blame] | 1 | # |
| 2 | # (C) Copyright 2006 |
| 3 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
| 4 | # |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | # SPDX-License-Identifier: GPL-2.0+ |
Haavard Skinnemoen | d25ce7d | 2008-05-16 11:10:33 +0200 | [diff] [blame] | 6 | # |
| 7 | |
Simon Glass | 4c2dbef | 2014-10-13 23:42:06 -0600 | [diff] [blame] | 8 | obj-$(CONFIG_DM_SPI_FLASH) += sf-uclass.o |
| 9 | |
Christian Riesch | 32b1127 | 2011-12-09 09:47:35 +0000 | [diff] [blame] | 10 | ifdef CONFIG_SPL_BUILD |
Masahiro Yamada | 2fc7ef6 | 2013-10-17 17:34:55 +0900 | [diff] [blame] | 11 | obj-$(CONFIG_SPL_SPI_LOAD) += spi_spl_load.o |
| 12 | obj-$(CONFIG_SPL_SPI_BOOT) += fsl_espi_spl.o |
Christian Riesch | 32b1127 | 2011-12-09 09:47:35 +0000 | [diff] [blame] | 13 | endif |
| 14 | |
Simon Glass | 4c2dbef | 2014-10-13 23:42:06 -0600 | [diff] [blame] | 15 | #ifndef CONFIG_DM_SPI |
| 16 | obj-$(CONFIG_SPI_FLASH) += sf_probe.o |
| 17 | #endif |
Jagannadha Sutradharudu Teki | 33adfb5 | 2013-12-23 23:34:42 +0530 | [diff] [blame] | 18 | obj-$(CONFIG_CMD_SF) += sf.o |
Simon Glass | 4c2dbef | 2014-10-13 23:42:06 -0600 | [diff] [blame] | 19 | obj-$(CONFIG_SPI_FLASH) += sf_ops.o sf_params.o |
Jagan Teki | 6812484 | 2015-06-27 22:04:55 +0530 | [diff] [blame] | 20 | obj-$(CONFIG_SPI_FLASH_DATAFLASH) += sf_dataflash.o |
Daniel Schwierzeck | 9fe6d87 | 2015-04-27 07:42:04 +0200 | [diff] [blame] | 21 | obj-$(CONFIG_SPI_FLASH_MTD) += sf_mtd.o |
Mike Frysinger | ffdb20b | 2013-12-03 16:43:27 -0700 | [diff] [blame] | 22 | obj-$(CONFIG_SPI_FLASH_SANDBOX) += sandbox.o |
Masahiro Yamada | 2fc7ef6 | 2013-10-17 17:34:55 +0900 | [diff] [blame] | 23 | obj-$(CONFIG_SPI_M95XXX) += eeprom_m95xxx.o |