Tony Dinh | 6e36f66 | 2022-01-23 22:17:12 -0800 | [diff] [blame] | 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 |
Tony Dinh | 6e36f66 | 2022-01-23 22:17:12 -0800 | [diff] [blame] | 41 | |
| 42 | /* |
Tony Dinh | 6e36f66 | 2022-01-23 22:17:12 -0800 | [diff] [blame] | 43 | * Support large disk for SATA and USB |
| 44 | */ |
| 45 | #define CONFIG_SYS_64BIT_LBA |
| 46 | #define CONFIG_LBA48 |
| 47 | |
| 48 | #endif /* _CONFIG_POGO_V4_H */ |