Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Ilya Yanok | 7ac2fe2 | 2012-09-18 00:22:50 +0000 | [diff] [blame] | 2 | /* |
| 3 | * (C) Copyright 2012 |
| 4 | * Ilya Yanok, ilya.yanok@gmail.com |
Ilya Yanok | 7ac2fe2 | 2012-09-18 00:22:50 +0000 | [diff] [blame] | 5 | */ |
| 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 Yamada | e02ee25 | 2015-02-24 22:26:20 +0900 | [diff] [blame] | 12 | |
| 13 | #ifndef CONFIG_SPL_DM |
| 14 | #undef CONFIG_DM_SERIAL |
Masahiro Yamada | e02ee25 | 2015-02-24 22:26:20 +0900 | [diff] [blame] | 15 | #undef CONFIG_DM_I2C |
| 16 | #undef CONFIG_DM_SPI |
| 17 | #endif |
| 18 | |
Masahiro Yamada | d648964 | 2015-02-24 22:26:21 +0900 | [diff] [blame] | 19 | #undef CONFIG_DM_STDIO |
| 20 | |
Ilya Yanok | 7ac2fe2 | 2012-09-18 00:22:50 +0000 | [diff] [blame] | 21 | #endif /* CONFIG_SPL_BUILD */ |
| 22 | #endif /* __CONFIG_UNCMD_SPL_H__ */ |