blob: a59b9bbafbdf82cf84eee82d8c89f1acfdc4b2b2 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Ilya Yanok7ac2fe22012-09-18 00:22:50 +00002/*
3 * (C) Copyright 2012
4 * Ilya Yanok, ilya.yanok@gmail.com
Ilya Yanok7ac2fe22012-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 Yamadae02ee252015-02-24 22:26:20 +090012
13#ifndef CONFIG_SPL_DM
14#undef CONFIG_DM_SERIAL
Masahiro Yamadae02ee252015-02-24 22:26:20 +090015#undef CONFIG_DM_I2C
Masahiro Yamadae02ee252015-02-24 22:26:20 +090016#endif
17
Masahiro Yamadad6489642015-02-24 22:26:21 +090018#undef CONFIG_DM_STDIO
19
Ilya Yanok7ac2fe22012-09-18 00:22:50 +000020#endif /* CONFIG_SPL_BUILD */
21#endif /* __CONFIG_UNCMD_SPL_H__ */