Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Chris Packham | a90dd4c | 2016-09-22 12:56:14 +1200 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2014 Stefan Roese <sr@denx.de> |
Chris Packham | a90dd4c | 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 | a90dd4c | 2016-09-22 12:56:14 +1200 | [diff] [blame] | 13 | /* Environment in SPI NOR flash */ |
Chris Packham | a90dd4c | 2016-09-22 12:56:14 +1200 | [diff] [blame] | 14 | |
Chris Packham | a90dd4c | 2016-09-22 12:56:14 +1200 | [diff] [blame] | 15 | #define PHY_ANEG_TIMEOUT 8000 /* PHY needs a longer aneg time */ |
| 16 | |
Chris Packham | 228efd0 | 2016-09-22 12:56:15 +1200 | [diff] [blame] | 17 | /* NAND */ |
Chris Packham | 228efd0 | 2016-09-22 12:56:15 +1200 | [diff] [blame] | 18 | |
Chris Packham | a90dd4c | 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 | a90dd4c | 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 | a90dd4c | 2016-09-22 12:56:14 +1200 | [diff] [blame] | 29 | |
| 30 | #endif /* _CONFIG_DB_88F6820_AMC_H */ |