blob: e60f42eaa728917acbe922923ff6872eba67e90e [file] [log] [blame]
Tom Warren7c02bc92020-02-28 16:17:07 -07001/* 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 Rinie660e972022-12-04 10:13:58 -050014#define CFG_TEGRA_BOARD_STRING "NVIDIA P3450-0000"
Tom Warren7c02bc92020-02-28 16:17:07 -070015
16/* Board-specific serial config */
Tom Warren7c02bc92020-02-28 16:17:07 -070017
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 Warren7c02bc92020-02-28 16:17:07 -070025#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 Warren7c02bc92020-02-28 16:17:07 -070032#include "tegra-common-post.h"
33
Tom Warren7c02bc92020-02-28 16:17:07 -070034#endif /* _P3450_0000_H */