Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Stefan Roese | 073efd7 | 2015-04-25 06:29:56 +0200 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2014 Stefan Roese <sr@denx.de> |
Stefan Roese | 073efd7 | 2015-04-25 06:29:56 +0200 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | #ifndef _CONFIG_DB_88F6820_GP_H |
| 7 | #define _CONFIG_DB_88F6820_GP_H |
| 8 | |
| 9 | /* |
| 10 | * High Level Configuration Options (easy to change) |
| 11 | */ |
Stefan Roese | 073efd7 | 2015-04-25 06:29:56 +0200 | [diff] [blame] | 12 | |
Stefan Roese | 073efd7 | 2015-04-25 06:29:56 +0200 | [diff] [blame] | 13 | /* I2C */ |
Stefan Roese | 073efd7 | 2015-04-25 06:29:56 +0200 | [diff] [blame] | 14 | #define CONFIG_I2C_MVTWSI_BASE0 MVEBU_TWSI_BASE |
Stefan Roese | 073efd7 | 2015-04-25 06:29:56 +0200 | [diff] [blame] | 15 | |
Stefan Roese | 073efd7 | 2015-04-25 06:29:56 +0200 | [diff] [blame] | 16 | /* Environment in SPI NOR flash */ |
Stefan Roese | 073efd7 | 2015-04-25 06:29:56 +0200 | [diff] [blame] | 17 | |
Stefan Roese | 073efd7 | 2015-04-25 06:29:56 +0200 | [diff] [blame] | 18 | #define PHY_ANEG_TIMEOUT 8000 /* PHY needs a longer aneg time */ |
| 19 | |
Stefan Roese | c22b701 | 2015-08-11 12:50:58 +0200 | [diff] [blame] | 20 | /* PCIe support */ |
Stefan Roese | 83097cf | 2015-11-25 07:37:00 +0100 | [diff] [blame] | 21 | #ifndef CONFIG_SPL_BUILD |
Stefan Roese | c22b701 | 2015-08-11 12:50:58 +0200 | [diff] [blame] | 22 | #define CONFIG_PCI_SCAN_SHOW |
Stefan Roese | 83097cf | 2015-11-25 07:37:00 +0100 | [diff] [blame] | 23 | #endif |
Stefan Roese | c22b701 | 2015-08-11 12:50:58 +0200 | [diff] [blame] | 24 | |
Kevin Smith | 2366bcc | 2015-05-18 16:09:46 +0000 | [diff] [blame] | 25 | /* Keep device tree and initrd in lower memory so the kernel can access them */ |
| 26 | #define CONFIG_EXTRA_ENV_SETTINGS \ |
| 27 | "fdt_high=0x10000000\0" \ |
| 28 | "initrd_high=0x10000000\0" |
| 29 | |
Stefan Roese | 073efd7 | 2015-04-25 06:29:56 +0200 | [diff] [blame] | 30 | /* |
| 31 | * mv-common.h should be defined after CMD configs since it used them |
| 32 | * to enable certain macros |
| 33 | */ |
| 34 | #include "mv-common.h" |
| 35 | |
| 36 | #endif /* _CONFIG_DB_88F6820_GP_H */ |