1
/* Copyright 2013-2014 IBM Corp.
3
* Licensed under the Apache License, Version 2.0 (the "License");
4
* you may not use this file except in compliance with the License.
5
* You may obtain a copy of the License at
7
* http://www.apache.org/licenses/LICENSE-2.0
9
* Unless required by applicable law or agreed to in writing, software
10
* distributed under the License is distributed on an "AS IS" BASIS,
11
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
21
#define HAVE_BUILTIN_TYPES_COMPATIBLE_P 1
23
/* Keep -Wundef happy by defining whatever isn't on commandline to 0 */
24
#if defined(HAVE_LITTLE_ENDIAN) && HAVE_LITTLE_ENDIAN
25
#define HAVE_BIG_ENDIAN 0
27
#if defined(HAVE_BIG_ENDIAN) && HAVE_BIG_ENDIAN
28
#define HAVE_LITTLE_ENDIAN 0
31
/* We don't have a byteswap.h, and thus no bswap_64 */
32
#define HAVE_BYTESWAP_H 0
33
#define HAVE_BSWAP_64 0
39
/* Enable lock debugging */
42
/* Enable malloc debugging */
43
#define DEBUG_MALLOC 1
45
/* Enable OPAL entry point tracing */
46
//#define OPAL_TRACE_ENTRY 1
48
/* Enable tracing of event state change */
49
//#define OPAL_TRACE_EVT_CHG 1
51
/* Enable various levels of OPAL_console debug */
52
//#define OPAL_DEBUG_CONSOLE_IO 1
53
//#define OPAL_DEBUG_CONSOLE_POLL 1
55
/* Enable this to force all writes to the in-memory console to
56
* be mirrored on the mambo console
58
//#define MAMBO_DEBUG_CONSOLE 1
60
/* Enable this to hookup SkiBoot log to the DVS console */
63
/* Enable this to force the dummy console to the kernel.
64
* (ie, an OPAL console that injects into skiboot own console)
65
* Where possible, leave this undefined and enable it dynamically using
66
* the chosen->sapphire,enable-dummy-console in the device tree.
68
* Note: This only gets enabled if there is no FSP console. If there
69
* is one it always takes over for now. This also cause the LPC UART
70
* node to be marked "reserved" so Linux doesn't instanciate a 8250
73
//#define FORCE_DUMMY_CONSOLE 1
75
/* Enable this to do fast resets. Currently unreliable... */
76
//#define ENABLE_FAST_RESET 1
78
/* Enable this to make fast reboot clear memory */
79
//#define FAST_REBOOT_CLEARS_MEMORY 1
81
/* Enable this to disable setting of the output pending event when
82
* sending things on the console. The FSP is very slow to consume
83
* and older kernels wait after each character during early boot so
84
* things get very slow. Eventually, we may want to create an OPAL
85
* API for the kernel to activate or deactivate that functionality
87
#define DISABLE_CON_PENDING_EVT 1
89
/* Configure this to provide some additional kernel command line
90
* arguments to the bootloader
92
//#define KERNEL_COMMAND_LINE "debug"
94
#endif /* __CONFIG_H */