bab02dc2d6eda5e1fcf2f701104d4b7630141ea0
[platform/kernel/u-boot.git] / include / configs / p3450-0000.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * (C) Copyright 2018-2019 NVIDIA Corporation.
4  */
5
6 #ifndef _P3450_0000_H
7 #define _P3450_0000_H
8
9 #include <linux/sizes.h>
10
11 #include "tegra210-common.h"
12
13 /* High-level configuration options */
14 #define CONFIG_TEGRA_BOARD_STRING       "NVIDIA P3450-0000"
15
16 /* Board-specific serial config */
17 #define CONFIG_TEGRA_ENABLE_UARTA
18
19 /* Only MMC/PXE/DHCP for now, add USB back in later when supported */
20 #define BOOT_TARGET_DEVICES(func) \
21         func(MMC, mmc, 1) \
22         func(MMC, mmc, 0) \
23         func(PXE, pxe, na) \
24         func(DHCP, dhcp, na)
25
26 #define BOARD_EXTRA_ENV_SETTINGS \
27         "preboot=if test -e mmc 1:1 /u-boot-preboot.scr; then " \
28                 "load mmc 1:1 ${scriptaddr} /u-boot-preboot.scr; " \
29                 "source ${scriptaddr}; " \
30         "fi\0"
31
32 /* General networking support */
33 #include "tegra-common-post.h"
34
35 #endif /* _P3450_0000_H */