MIPS: convert CONFIG_SYS_MIPS_TIMER_FREQ to Kconfig
[platform/kernel/u-boot.git] / include / configs / x86-common.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright (c) 2011 The Chromium OS Authors.
4  * (C) Copyright 2008
5  * Graeme Russ, graeme.russ@gmail.com.
6  */
7
8 #include <asm/ibmpc.h>
9
10 #ifndef __CONFIG_X86_COMMON_H
11 #define __CONFIG_X86_COMMON_H
12
13 /*
14  * High Level Configuration Options
15  * (easy to change)
16  */
17
18 /* Generic TPM interfaced through LPC bus */
19 #define CONFIG_TPM_TIS_BASE_ADDRESS        0xfed40000
20
21 /*-----------------------------------------------------------------------
22  * Real Time Clock Configuration
23  */
24 #define CONFIG_SYS_ISA_IO_BASE_ADDRESS  0
25 #define CONFIG_SYS_ISA_IO      CONFIG_SYS_ISA_IO_BASE_ADDRESS
26
27 /*-----------------------------------------------------------------------
28  * Serial Configuration
29  */
30 #define CONFIG_SYS_NS16550_PORT_MAPPED
31
32 /*
33  * Miscellaneous configurable options
34  */
35
36 /*-----------------------------------------------------------------------
37  * CPU Features
38  */
39
40 #define CONFIG_SYS_STACK_SIZE                   (32 * 1024)
41
42 /*-----------------------------------------------------------------------
43  * Environment configuration
44  */
45
46 /*-----------------------------------------------------------------------
47  * USB configuration
48  */
49
50 /* Default environment */
51 #define CONFIG_ROOTPATH         "/opt/nfsroot"
52 #define CONFIG_HOSTNAME         "x86"
53 #define CONFIG_RAMDISK_ADDR     0x4000000
54 #if defined(CONFIG_GENERATE_ACPI_TABLE) || defined(CONFIG_EFI_STUB)
55 #define CONFIG_OTHBOOTARGS      "othbootargs=\0"
56 #else
57 #define CONFIG_OTHBOOTARGS      "othbootargs=acpi=off\0"
58 #endif
59
60 #if defined(CONFIG_DISTRO_DEFAULTS)
61 #define DISTRO_BOOTENV          BOOTENV
62 #else
63 #define DISTRO_BOOTENV
64 #endif
65
66 #ifndef SPLASH_SETTINGS
67 #define SPLASH_SETTINGS
68 #endif
69
70 #define CONFIG_EXTRA_ENV_SETTINGS                       \
71         DISTRO_BOOTENV                                  \
72         CONFIG_STD_DEVICES_SETTINGS                     \
73         SPLASH_SETTINGS                                 \
74         "pciconfighost=1\0"                             \
75         "netdev=eth0\0"                                 \
76         "consoledev=ttyS0\0"                            \
77         CONFIG_OTHBOOTARGS                              \
78         "scriptaddr=0x7000000\0"                        \
79         "kernel_addr_r=0x1000000\0"                     \
80         "ramdisk_addr_r=0x4000000\0"                    \
81         "ramdiskfile=initramfs.gz\0"
82
83
84 #endif  /* __CONFIG_H */