1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * (C) Copyright 2018-2019 NVIDIA Corporation.
9 #include <linux/sizes.h>
11 #include "tegra210-common.h"
13 /* High-level configuration options */
14 #define CONFIG_TEGRA_BOARD_STRING "NVIDIA P3450-0000"
16 /* Board-specific serial config */
17 #define CONFIG_TEGRA_ENABLE_UARTA
19 /* Only MMC/PXE/DHCP for now, add USB back in later when supported */
20 #define BOOT_TARGET_DEVICES(func) \
26 /* Environment at end of QSPI, in the VER partition */
27 #define CONFIG_ENV_SPI_MAX_HZ 48000000
28 #define CONFIG_ENV_SPI_MODE SPI_MODE_0
29 #define CONFIG_SPI_FLASH_SIZE (4 << 20)
31 #define CONFIG_PREBOOT
33 #define BOARD_EXTRA_ENV_SETTINGS \
34 "preboot=if test -e mmc 1:1 /u-boot-preboot.scr; then " \
35 "load mmc 1:1 ${scriptaddr} /u-boot-preboot.scr; " \
36 "source ${scriptaddr}; " \
39 /* General networking support */
40 #include "tegra-common-usb-gadget.h"
41 #include "tegra-common-post.h"
43 /* Crystal is 38.4MHz. clk_m runs at half that rate */
44 #define COUNTER_FREQUENCY 19200000
46 #endif /* _P3450_0000_H */