]>
Commit | Line | Data |
---|---|---|
83d290c5 | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
7ac2fe2d IY |
2 | /* |
3 | * (C) Copyright 2012 | |
4 | * Ilya Yanok, ilya.yanok@gmail.com | |
7ac2fe2d IY |
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 */ | |
e02ee254 MY |
12 | |
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 | ||
d648964f | 20 | #undef CONFIG_DM_WARN |
d648964f MY |
21 | #undef CONFIG_DM_STDIO |
22 | ||
7ac2fe2d IY |
23 | #endif /* CONFIG_SPL_BUILD */ |
24 | #endif /* __CONFIG_UNCMD_SPL_H__ */ |