blob: 6b2edbb1e0d3aaf6c702bb4caf406bc9506402c9 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Stefan Roese073efd72015-04-25 06:29:56 +02002/*
3 * Copyright (C) 2014 Stefan Roese <sr@denx.de>
Stefan Roese073efd72015-04-25 06:29:56 +02004 */
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 Roese073efd72015-04-25 06:29:56 +020012
Stefan Roese073efd72015-04-25 06:29:56 +020013/* I2C */
Stefan Roese073efd72015-04-25 06:29:56 +020014#define CONFIG_I2C_MVTWSI_BASE0 MVEBU_TWSI_BASE
Stefan Roese073efd72015-04-25 06:29:56 +020015
Stefan Roese073efd72015-04-25 06:29:56 +020016/* Environment in SPI NOR flash */
Stefan Roese073efd72015-04-25 06:29:56 +020017
Stefan Roese073efd72015-04-25 06:29:56 +020018#define PHY_ANEG_TIMEOUT 8000 /* PHY needs a longer aneg time */
19
Stefan Roesec22b7012015-08-11 12:50:58 +020020/* PCIe support */
Stefan Roese83097cf2015-11-25 07:37:00 +010021#ifndef CONFIG_SPL_BUILD
Stefan Roesec22b7012015-08-11 12:50:58 +020022#define CONFIG_PCI_SCAN_SHOW
Stefan Roese83097cf2015-11-25 07:37:00 +010023#endif
Stefan Roesec22b7012015-08-11 12:50:58 +020024
Kevin Smith2366bcc2015-05-18 16:09:46 +000025/* 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 Roese073efd72015-04-25 06:29:56 +020030/*
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 */