blob: 3c1499c6fb154c05992652317d29e10a7339519f [file] [log] [blame]
Ilya Yanok7ac2fe22012-09-18 00:22:50 +00001/*
2 * (C) Copyright 2012
3 * Ilya Yanok, ilya.yanok@gmail.com
4 *
Wolfgang Denk1a459662013-07-08 09:37:19 +02005 * SPDX-License-Identifier: GPL-2.0+
Ilya Yanok7ac2fe22012-09-18 00:22:50 +00006 */
7
8#ifndef __CONFIG_UNCMD_SPL_H__
9#define __CONFIG_UNCMD_SPL_H__
10
11#ifdef CONFIG_SPL_BUILD
12/* SPL needs only BOOTP + TFTP so undefine other stuff to save space */
Masahiro Yamadae02ee252015-02-24 22:26:20 +090013
14#ifndef CONFIG_SPL_DM
15#undef CONFIG_DM_SERIAL
16#undef CONFIG_DM_GPIO
17#undef CONFIG_DM_I2C
18#undef CONFIG_DM_SPI
19#endif
20
Masahiro Yamadad6489642015-02-24 22:26:21 +090021#undef CONFIG_DM_WARN
Masahiro Yamadad6489642015-02-24 22:26:21 +090022#undef CONFIG_DM_STDIO
23
Ilya Yanok7ac2fe22012-09-18 00:22:50 +000024#endif /* CONFIG_SPL_BUILD */
25#endif /* __CONFIG_UNCMD_SPL_H__ */