Park, Aiden | 9835d6d | 2019-08-03 08:31:11 +0000 | [diff] [blame] | 1 | /* 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 Rini | 86ec451 | 2022-12-04 10:13:56 -0500 | [diff] [blame^] | 11 | #define CFG_STD_DEVICES_SETTINGS \ |
Park, Aiden | 9835d6d | 2019-08-03 08:31:11 +0000 | [diff] [blame] | 12 | "stdin=serial,i8042-kbd,usbkbd\0" \ |
| 13 | "stdout=serial\0" \ |
| 14 | "stderr=serial\0" |
| 15 | |
| 16 | /* |
Tom Rini | c9edebe | 2022-12-04 10:03:50 -0500 | [diff] [blame] | 17 | * Override CFG_EXTRA_ENV_SETTINGS in x86-common.h |
Park, Aiden | 9835d6d | 2019-08-03 08:31:11 +0000 | [diff] [blame] | 18 | */ |
Tom Rini | c9edebe | 2022-12-04 10:03:50 -0500 | [diff] [blame] | 19 | #undef CFG_EXTRA_ENV_SETTINGS |
| 20 | #define CFG_EXTRA_ENV_SETTINGS \ |
Tom Rini | 86ec451 | 2022-12-04 10:13:56 -0500 | [diff] [blame^] | 21 | CFG_STD_DEVICES_SETTINGS \ |
Park, Aiden | 9835d6d | 2019-08-03 08:31:11 +0000 | [diff] [blame] | 22 | "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, Aiden | 9835d6d | 2019-08-03 08:31:11 +0000 | [diff] [blame] | 38 | |
| 39 | #endif /* __SLIMBOOTLOADER_CONFIG_H__ */ |