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