blob: b2493488146d03cd670adc9e8a64921e715b5788 [file] [log] [blame]
Kyungmin Park17aa2802007-09-10 17:14:34 +09001#
Stefan Roese30363e92007-09-17 08:20:47 +02002# Copyright (C) 2005-2007 Samsung Electronics.
3# Kyungmin Park <kyungmin.park@samsung.com>
Kyungmin Park17aa2802007-09-10 17:14:34 +09004#
Wolfgang Denk1a459662013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
Kyungmin Park17aa2802007-09-10 17:14:34 +09006#
7
Marek Vasut54cd51b2011-10-31 14:14:15 +01008ifndef CONFIG_SPL_BUILD
Masahiro Yamada2fc7ef62013-10-17 17:34:55 +09009obj-$(CONFIG_CMD_ONENAND) := onenand_uboot.o onenand_base.o onenand_bbt.o
10obj-$(CONFIG_SAMSUNG_ONENAND) += samsung.o
Marek Vasut54cd51b2011-10-31 14:14:15 +010011else
Masahiro Yamada2fc7ef62013-10-17 17:34:55 +090012obj-y := onenand_spl.o
Marek Vasut54cd51b2011-10-31 14:14:15 +010013endif