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 | |
Park, Aiden | 9835d6d | 2019-08-03 08:31:11 +0000 | [diff] [blame] | 11 | #define CONFIG_STD_DEVICES_SETTINGS \ |
| 12 | "stdin=serial,i8042-kbd,usbkbd\0" \ |
| 13 | "stdout=serial\0" \ |
| 14 | "stderr=serial\0" |
| 15 | |
| 16 | /* |
| 17 | * Override CONFIG_EXTRA_ENV_SETTINGS in x86-common.h |
| 18 | */ |
| 19 | #undef CONFIG_EXTRA_ENV_SETTINGS |
| 20 | #define CONFIG_EXTRA_ENV_SETTINGS \ |
| 21 | CONFIG_STD_DEVICES_SETTINGS \ |
| 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__ */ |