blob: 8bd0716c08d2fd81da7a5de49e4762211041c7a2 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Simon Glassff7636c2014-11-10 18:00:23 -07002/*
3 * Copyright (c) 2011 The Chromium OS Authors.
4 * (C) Copyright 2008
5 * Graeme Russ, graeme.russ@gmail.com.
Simon Glassff7636c2014-11-10 18:00:23 -07006 */
7
Simon Glassff7636c2014-11-10 18:00:23 -07008#ifndef __CONFIG_X86_COMMON_H
9#define __CONFIG_X86_COMMON_H
10
Simon Glassff7636c2014-11-10 18:00:23 -070011/*-----------------------------------------------------------------------
Simon Glassff7636c2014-11-10 18:00:23 -070012 * USB configuration
13 */
Simon Glassff7636c2014-11-10 18:00:23 -070014
Bin Mengf95a6c82015-03-12 13:08:46 +080015/* Default environment */
Tom Rini0d5392d2022-12-04 10:13:39 -050016#define CFG_RAMDISK_ADDR 0x4000000
Bin Mengdc81d842018-08-23 08:24:11 -070017#if defined(CONFIG_GENERATE_ACPI_TABLE) || defined(CONFIG_EFI_STUB)
Tom Rini884d01b2022-12-04 10:13:24 -050018#define CFG_OTHBOOTARGS "othbootargs=\0"
Bin Meng2b81f612016-05-07 07:46:35 -070019#else
Tom Rini884d01b2022-12-04 10:13:24 -050020#define CFG_OTHBOOTARGS "othbootargs=acpi=off\0"
Bin Meng2b81f612016-05-07 07:46:35 -070021#endif
Bin Mengf95a6c82015-03-12 13:08:46 +080022
Simon Glass3d1a5082021-11-19 13:24:06 -070023#ifndef SPLASH_SETTINGS
24#define SPLASH_SETTINGS
25#endif
26
Tom Rinic9edebe2022-12-04 10:03:50 -050027#define CFG_EXTRA_ENV_SETTINGS \
Tom Rini86ec4512022-12-04 10:13:56 -050028 CFG_STD_DEVICES_SETTINGS \
Simon Glass3d1a5082021-11-19 13:24:06 -070029 SPLASH_SETTINGS \
Bin Mengde5b8b12015-05-24 00:12:32 +080030 "pciconfighost=1\0" \
Bin Mengf95a6c82015-03-12 13:08:46 +080031 "netdev=eth0\0" \
32 "consoledev=ttyS0\0" \
Tom Rini884d01b2022-12-04 10:13:24 -050033 CFG_OTHBOOTARGS \
Bin Meng11ca7162019-07-28 08:13:58 -070034 "scriptaddr=0x7000000\0" \
35 "kernel_addr_r=0x1000000\0" \
36 "ramdisk_addr_r=0x4000000\0" \
Bin Menga5e37ef2019-08-14 01:23:05 -070037 "ramdiskfile=initramfs.gz\0"
38
Bin Mengf95a6c82015-03-12 13:08:46 +080039
Simon Glassff7636c2014-11-10 18:00:23 -070040#endif /* __CONFIG_H */