Blame view

include/config_fallbacks.h 1.36 KB
26750c8ae   Tom Rini   CONFIG_SYS_BAUDRA...
1
2
3
4
5
6
7
8
9
10
  /*
   * Copyright 2012 Texas Instruments
   *
   * This file is licensed under the terms of the GNU General Public
   * License Version 2. This file is licensed "as is" without any
   * warranty of any kind, whether express or implied.
   */
  
  #ifndef __CONFIG_FALLBACKS_H
  #define __CONFIG_FALLBACKS_H
6113d3f27   Benoît Thébaudeau   Makefile: Change ...
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
  #ifdef CONFIG_SPL
  #ifdef CONFIG_SPL_PAD_TO
  #ifdef CONFIG_SPL_MAX_SIZE
  #if CONFIG_SPL_PAD_TO && CONFIG_SPL_PAD_TO < CONFIG_SPL_MAX_SIZE
  #error CONFIG_SPL_PAD_TO < CONFIG_SPL_MAX_SIZE
  #endif
  #endif
  #else
  #ifdef CONFIG_SPL_MAX_SIZE
  #define CONFIG_SPL_PAD_TO	CONFIG_SPL_MAX_SIZE
  #else
  #define CONFIG_SPL_PAD_TO	0
  #endif
  #endif
  #endif
26750c8ae   Tom Rini   CONFIG_SYS_BAUDRA...
26
27
28
  #ifndef CONFIG_SYS_BAUDRATE_TABLE
  #define CONFIG_SYS_BAUDRATE_TABLE	{ 9600, 19200, 38400, 57600, 115200 }
  #endif
72f09606d   Thomas Petazzoni   include/config_fa...
29
30
31
32
33
34
35
36
  /* Console I/O Buffer Size */
  #ifndef CONFIG_SYS_CBSIZE
  #if defined(CONFIG_CMD_KGDB)
  #define CONFIG_SYS_CBSIZE	1024
  #else
  #define CONFIG_SYS_CBSIZE	256
  #endif
  #endif
31cc2c85d   Fabio Estevam   config_fallbacks:...
37
  #ifndef CONFIG_SYS_PBSIZE
80c914f1b   Thomas Petazzoni   include/config_fa...
38
  #define CONFIG_SYS_PBSIZE	(CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16)
31cc2c85d   Fabio Estevam   config_fallbacks:...
39
  #endif
bb939d7a6   Thomas Petazzoni   include/config_fa...
40
41
42
  #ifndef CONFIG_SYS_MAXARGS
  #define CONFIG_SYS_MAXARGS	16
  #endif
21d29f7f9   Heiko Schocher   bootm: make use o...
43
44
45
46
47
48
49
  #ifndef CONFIG_FIT_SIGNATURE
  #define CONFIG_IMAGE_FORMAT_LEGACY
  #endif
  
  #ifdef CONFIG_DISABLE_IMAGE_LEGACY
  #undef CONFIG_IMAGE_FORMAT_LEGACY
  #endif
c6202d857   Simon Glass   dm: i2c: Add a uc...
50
51
52
53
54
  #ifdef CONFIG_DM_I2C
  # ifdef CONFIG_SYS_I2C
  #  error "Cannot define CONFIG_SYS_I2C when CONFIG_DM_I2C is used"
  # endif
  #endif
26750c8ae   Tom Rini   CONFIG_SYS_BAUDRA...
55
  #endif	/* __CONFIG_FALLBACKS_H */