]> git.ipfire.org Git - thirdparty/u-boot.git/blame - include/config_uncmd_spl.h
cbfs: Don't require the CBFS size with cbfs_init_mem()
[thirdparty/u-boot.git] / include / config_uncmd_spl.h
CommitLineData
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
e02ee254
MY
15#undef CONFIG_DM_I2C
16#undef CONFIG_DM_SPI
17#endif
18
d648964f 19#undef CONFIG_DM_WARN
d648964f
MY
20#undef CONFIG_DM_STDIO
21
7ac2fe2d
IY
22#endif /* CONFIG_SPL_BUILD */
23#endif /* __CONFIG_UNCMD_SPL_H__ */