blob: 20b99a1021df662198a492fad51a5f7f5440c69f [file] [log] [blame]
Park, Aiden9835d6d2019-08-03 08:31:11 +00001/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Copyright (C) 2019 Intel Corporation <www.intel.com>
4 */
5
6#ifndef __SLIMBOOTLOADER_CONFIG_H__
7#define __SLIMBOOTLOADER_CONFIG_H__
8
9#include <configs/x86-common.h>
10
Tom Rini86ec4512022-12-04 10:13:56 -050011#define CFG_STD_DEVICES_SETTINGS \
Park, Aiden9835d6d2019-08-03 08:31:11 +000012 "stdin=serial,i8042-kbd,usbkbd\0" \
13 "stdout=serial\0" \
14 "stderr=serial\0"
15
16/*
Tom Rinic9edebe2022-12-04 10:03:50 -050017 * Override CFG_EXTRA_ENV_SETTINGS in x86-common.h
Park, Aiden9835d6d2019-08-03 08:31:11 +000018 */
Tom Rinic9edebe2022-12-04 10:03:50 -050019#undef CFG_EXTRA_ENV_SETTINGS
20#define CFG_EXTRA_ENV_SETTINGS \
Tom Rini86ec4512022-12-04 10:13:56 -050021 CFG_STD_DEVICES_SETTINGS \
Park, Aiden9835d6d2019-08-03 08:31:11 +000022 "netdev=eth0\0" \
23 "consoledev=ttyS0\0" \
24 "ramdiskaddr=0x4000000\0" \
25 "ramdiskfile=initrd\0" \
26 "bootdev=usb\0" \
27 "bootdevnum=0\0" \
28 "bootdevpart=0\0" \
29 "bootfsload=fatload\0" \
30 "bootusb=setenv bootdev usb; boot\0" \
31 "bootscsi=setenv bootdev scsi; boot\0" \
32 "bootmmc=setenv bootdev mmc; boot\0" \
33 "bootargs=console=ttyS0,115200 console=tty0\0"
34
35/*
36 * Override CONFIG_BOOTCOMMAND in x86-common.h
37 */
Park, Aiden9835d6d2019-08-03 08:31:11 +000038
39#endif /* __SLIMBOOTLOADER_CONFIG_H__ */