1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Copyright (c) 2011 The Chromium OS Authors.
5 * Graeme Russ, graeme.russ@gmail.com.
10 #ifndef __CONFIG_X86_COMMON_H
11 #define __CONFIG_X86_COMMON_H
13 /*-----------------------------------------------------------------------
17 #define CFG_SYS_STACK_SIZE (32 * 1024)
19 /*-----------------------------------------------------------------------
20 * Environment configuration
23 /*-----------------------------------------------------------------------
27 /* Default environment */
28 #define CONFIG_RAMDISK_ADDR 0x4000000
29 #if defined(CONFIG_GENERATE_ACPI_TABLE) || defined(CONFIG_EFI_STUB)
30 #define CONFIG_OTHBOOTARGS "othbootargs=\0"
32 #define CONFIG_OTHBOOTARGS "othbootargs=acpi=off\0"
35 #if defined(CONFIG_DISTRO_DEFAULTS)
36 #define DISTRO_BOOTENV BOOTENV
38 #define DISTRO_BOOTENV
41 #ifndef SPLASH_SETTINGS
42 #define SPLASH_SETTINGS
45 #define CFG_EXTRA_ENV_SETTINGS \
47 CONFIG_STD_DEVICES_SETTINGS \
51 "consoledev=ttyS0\0" \
53 "scriptaddr=0x7000000\0" \
54 "kernel_addr_r=0x1000000\0" \
55 "ramdisk_addr_r=0x4000000\0" \
56 "ramdiskfile=initramfs.gz\0"
59 #endif /* __CONFIG_H */