Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Chris Packham | c0def24 | 2016-09-22 12:56:14 +1200 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2014 Stefan Roese <sr@denx.de> |
Chris Packham | c0def24 | 2016-09-22 12:56:14 +1200 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | #ifndef _CONFIG_DB_88F6820_AMC_H |
| 7 | #define _CONFIG_DB_88F6820_AMC_H |
| 8 | |
| 9 | /* |
| 10 | * High Level Configuration Options (easy to change) |
| 11 | */ |
| 12 | |
Chris Packham | c0def24 | 2016-09-22 12:56:14 +1200 | [diff] [blame] | 13 | /* Environment in SPI NOR flash */ |
Chris Packham | c0def24 | 2016-09-22 12:56:14 +1200 | [diff] [blame] | 14 | |
Chris Packham | c0def24 | 2016-09-22 12:56:14 +1200 | [diff] [blame] | 15 | #define PHY_ANEG_TIMEOUT 8000 /* PHY needs a longer aneg time */ |
| 16 | |
Chris Packham | 42f7505 | 2016-09-22 12:56:15 +1200 | [diff] [blame] | 17 | /* NAND */ |
Chris Packham | 42f7505 | 2016-09-22 12:56:15 +1200 | [diff] [blame] | 18 | |
Chris Packham | c0def24 | 2016-09-22 12:56:14 +1200 | [diff] [blame] | 19 | /* Keep device tree and initrd in lower memory so the kernel can access them */ |
| 20 | #define CONFIG_EXTRA_ENV_SETTINGS \ |
| 21 | "fdt_high=0x10000000\0" \ |
| 22 | "initrd_high=0x10000000\0" |
| 23 | |
Chris Packham | c0def24 | 2016-09-22 12:56:14 +1200 | [diff] [blame] | 24 | /* |
| 25 | * mv-common.h should be defined after CMD configs since it used them |
| 26 | * to enable certain macros |
| 27 | */ |
| 28 | #include "mv-common.h" |
Chris Packham | c0def24 | 2016-09-22 12:56:14 +1200 | [diff] [blame] | 29 | |
| 30 | #endif /* _CONFIG_DB_88F6820_AMC_H */ |