blob: c2f9735ce7912735fff331443093a5bc69bf743e [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Ilya Yanokf7a2c552012-09-18 00:22:50 +00002/*
3 * (C) Copyright 2012
4 * Ilya Yanok, ilya.yanok@gmail.com
Ilya Yanokf7a2c552012-09-18 00:22:50 +00005 */
6
7#ifndef __CONFIG_UNCMD_SPL_H__
8#define __CONFIG_UNCMD_SPL_H__
9
10#ifdef CONFIG_SPL_BUILD
11/* SPL needs only BOOTP + TFTP so undefine other stuff to save space */
Masahiro Yamada72fb32b2015-02-24 22:26:20 +090012
13#ifndef CONFIG_SPL_DM
14#undef CONFIG_DM_SERIAL
15#undef CONFIG_DM_GPIO
16#undef CONFIG_DM_I2C
17#undef CONFIG_DM_SPI
18#endif
19
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +090020#undef CONFIG_DM_WARN
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +090021#undef CONFIG_DM_STDIO
22
Ilya Yanokf7a2c552012-09-18 00:22:50 +000023#endif /* CONFIG_SPL_BUILD */
24#endif /* __CONFIG_UNCMD_SPL_H__ */