Haavard Skinnemoen | 2f5bfb7 | 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 | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | # SPDX-License-Identifier: GPL-2.0+ |
Haavard Skinnemoen | 2f5bfb7 | 2008-05-16 11:10:33 +0200 | [diff] [blame] | 6 | # |
| 7 | |
Simon Glass | d6eedf7 | 2014-10-13 23:42:06 -0600 | [diff] [blame] | 8 | obj-$(CONFIG_DM_SPI_FLASH) += sf-uclass.o |
| 9 | |
Christian Riesch | 23f16a8 | 2011-12-09 09:47:35 +0000 | [diff] [blame] | 10 | ifdef CONFIG_SPL_BUILD |
Masahiro Yamada | 25bb3af | 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 | 23f16a8 | 2011-12-09 09:47:35 +0000 | [diff] [blame] | 13 | endif |
| 14 | |
Simon Glass | d6eedf7 | 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 | 20e45bc | 2013-12-23 23:34:42 +0530 | [diff] [blame] | 18 | obj-$(CONFIG_CMD_SF) += sf.o |
Simon Glass | d6eedf7 | 2014-10-13 23:42:06 -0600 | [diff] [blame] | 19 | obj-$(CONFIG_SPI_FLASH) += sf_ops.o sf_params.o |
Masahiro Yamada | 25bb3af | 2013-10-17 17:34:55 +0900 | [diff] [blame] | 20 | obj-$(CONFIG_SPI_FRAM_RAMTRON) += ramtron.o |
Mike Frysinger | b375ad9 | 2013-12-03 16:43:27 -0700 | [diff] [blame] | 21 | obj-$(CONFIG_SPI_FLASH_SANDBOX) += sandbox.o |
Masahiro Yamada | 25bb3af | 2013-10-17 17:34:55 +0900 | [diff] [blame] | 22 | obj-$(CONFIG_SPI_M95XXX) += eeprom_m95xxx.o |