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 | |
Jagan Teki | cba65a7 | 2015-12-06 23:29:02 +0530 | [diff] [blame] | 15 | obj-$(CONFIG_SPI_FLASH) += sf_probe.o spi_flash.o sf_params.o sf.o |
Jagan Teki | 6812484 | 2015-06-27 22:04:55 +0530 | [diff] [blame] | 16 | obj-$(CONFIG_SPI_FLASH_DATAFLASH) += sf_dataflash.o |
Daniel Schwierzeck | 9fe6d87 | 2015-04-27 07:42:04 +0200 | [diff] [blame] | 17 | obj-$(CONFIG_SPI_FLASH_MTD) += sf_mtd.o |
Mike Frysinger | ffdb20b | 2013-12-03 16:43:27 -0700 | [diff] [blame] | 18 | obj-$(CONFIG_SPI_FLASH_SANDBOX) += sandbox.o |