24cbf6b72ea70747335a681f6b59d6dabe69127a
[platform/kernel/u-boot.git] / include / configs / pogo_v4.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright (C) 2014-2022 Tony Dinh <mibodhi@gmail.com>
4  *
5  * Based on
6  * Copyright (C) 2012
7  * David Purdy <david.c.purdy@gmail.com>
8  *
9  * Based on Kirkwood support:
10  * (C) Copyright 2009
11  * Marvell Semiconductor <www.marvell.com>
12  * Written-by: Prafulla Wadaskar <prafulla@marvell.com>
13  */
14
15 #ifndef _CONFIG_POGO_V4_H
16 #define _CONFIG_POGO_V4_H
17
18 /*
19  * mv-common.h should be defined after CMD configs since it used them
20  * to enable certain macros
21  */
22 #include "mv-common.h"
23
24 /*
25  * Default environment variables
26  */
27 #define CONFIG_EXTRA_ENV_SETTINGS \
28         "dtb_file=/boot/dts/" CONFIG_DEFAULT_DEVICE_TREE ".dtb\0" \
29         "mtdparts=" CONFIG_MTDPARTS_DEFAULT "\0"\
30         "mtdids=nand0=orion_nand\0"\
31         "bootargs_console=console=ttyS0,115200\0" \
32         "bootcmd_usb=usb start; load usb 0:1 0x00800000 /boot/uImage; " \
33         "load usb 0:1 0x01100000 /boot/uInitrd; " \
34         "load usb 0:1 0x2c00000 $dtb_file\0"
35
36 /*
37  * Ethernet Driver configuration
38  */
39 #define CONFIG_MVGBE_PORTS      {1, 0}  /* enable port 0 only */
40 #define CONFIG_PHY_BASE_ADR     0
41
42 #endif /* _CONFIG_POGO_V4_H */