Tom Warren | 7c02bc9 | 2020-02-28 16:17:07 -0700 | [diff] [blame] | 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 */ |
Tom Rini | e660e97 | 2022-12-04 10:13:58 -0500 | [diff] [blame] | 14 | #define CFG_TEGRA_BOARD_STRING "NVIDIA P3450-0000" |
Tom Warren | 7c02bc9 | 2020-02-28 16:17:07 -0700 | [diff] [blame] | 15 | |
| 16 | /* Board-specific serial config */ |
Tom Warren | 7c02bc9 | 2020-02-28 16:17:07 -0700 | [diff] [blame] | 17 | |
| 18 | /* Only MMC/PXE/DHCP for now, add USB back in later when supported */ |
| 19 | #define BOOT_TARGET_DEVICES(func) \ |
| 20 | func(MMC, mmc, 1) \ |
| 21 | func(MMC, mmc, 0) \ |
| 22 | func(PXE, pxe, na) \ |
| 23 | func(DHCP, dhcp, na) |
| 24 | |
Tom Warren | 7c02bc9 | 2020-02-28 16:17:07 -0700 | [diff] [blame] | 25 | #define BOARD_EXTRA_ENV_SETTINGS \ |
| 26 | "preboot=if test -e mmc 1:1 /u-boot-preboot.scr; then " \ |
| 27 | "load mmc 1:1 ${scriptaddr} /u-boot-preboot.scr; " \ |
| 28 | "source ${scriptaddr}; " \ |
| 29 | "fi\0" |
| 30 | |
| 31 | /* General networking support */ |
Tom Warren | 7c02bc9 | 2020-02-28 16:17:07 -0700 | [diff] [blame] | 32 | #include "tegra-common-post.h" |
| 33 | |
Tom Warren | 7c02bc9 | 2020-02-28 16:17:07 -0700 | [diff] [blame] | 34 | #endif /* _P3450_0000_H */ |