1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Copyright 2019 Google LLC
7 * board/config.h - configuration options, board-specific
13 #define CONFIG_BOOTCOMMAND \
14 "tpm init; tpm startup TPM2_SU_CLEAR; " \
15 "read mmc 2:2 100000 0 80; setexpr loader *001004f0; " \
16 "setexpr size *00100518; setexpr blocks $size / 200; " \
17 "read mmc 2:2 100000 80 $blocks; setexpr setup $loader - 1000; " \
18 "setexpr cmdline $loader - 2000; " \
19 "part uuid mmc 2:2 uuid; setenv bootargs_U $uuid; " \
20 "zboot start 100000 0 0 0 $setup $cmdline; " \
21 "zboot load; zboot setup; zboot dump; zboot go"
23 #include <configs/x86-common.h>
24 #include <configs/x86-chromebook.h>
26 #undef CONFIG_STD_DEVICES_SETTINGS
27 #define CONFIG_STD_DEVICES_SETTINGS "stdin=usbkbd,i8042-kbd,serial\0" \
28 "stdout=vidconsole,serial\0" \
29 "stderr=vidconsole,serial\0"
31 #define CONFIG_ENV_SECT_SIZE 0x1000
32 #define CONFIG_ENV_OFFSET 0x003f8000
34 #define CONFIG_TPL_TEXT_BASE 0xffff8000
36 #define CONFIG_SYS_NS16550_MEM32
37 #undef CONFIG_SYS_NS16550_PORT_MAPPED
39 #endif /* __CONFIG_H */