diff options
author | Thomas Fitzsimmons <fitzsim@fitzsim.org> | 2018-08-22 18:37:55 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-09-10 21:19:31 -0400 |
commit | 3f20321ad8bdd7e84c3cfd2592b16ff65d05d04c (patch) | |
tree | 58e4d84c96eec92fc62aee6d632b8aa5f5777b66 /include | |
parent | 12109573042ce7b10bc67c20abcc07df5238094d (diff) | |
download | u-boot-3f20321ad8bdd7e84c3cfd2592b16ff65d05d04c.zip u-boot-3f20321ad8bdd7e84c3cfd2592b16ff65d05d04c.tar.gz u-boot-3f20321ad8bdd7e84c3cfd2592b16ff65d05d04c.tar.bz2 |
board: arm: Add support for Broadcom BCM7260
Add support for loading U-Boot on the Broadcom 7260 SoC. This port
assumes Broadcom's BOLT bootloader is acting as the second stage
bootloader, and U-Boot is acting as the third stage bootloader, loaded
as an ELF program by BOLT.
Signed-off-by: Thomas Fitzsimmons <fitzsim@fitzsim.org>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/bcm7260.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/include/configs/bcm7260.h b/include/configs/bcm7260.h new file mode 100644 index 0000000..a2d7f61 --- /dev/null +++ b/include/configs/bcm7260.h @@ -0,0 +1,40 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * (C) Copyright 2018 Cisco Systems, Inc. + * + * Author: Thomas Fitzsimmons <fitzsim@fitzsim.org> + * + * Configuration settings for the Broadcom BCM7260 SoC family. + */ + +#ifndef __CONFIG_H +#define __CONFIG_H + +#define CONFIG_SYS_NS16550_COM1 0xf040c000 + +#define CONFIG_SYS_TEXT_BASE 0x10100000 +#define CONFIG_SYS_INIT_RAM_ADDR 0x10200000 + +#define CONFIG_SYS_MALLOC_LEN ((40 * 1024) << 10) /* 40 MiB */ + +#include "bcmstb.h" + +#define BCMSTB_SDHCI_BASE 0xf0200300 +#define BCMSTB_TIMER_LOW 0xf0412008 +#define BCMSTB_TIMER_HIGH 0xf041200c +#define BCMSTB_TIMER_FREQUENCY 0xf0412020 +#define BCMSTB_HIF_MSPI_BASE 0xf0203c00 +#define BCMSTB_BSPI_BASE 0xf0203a00 +#define BCMSTB_HIF_SPI_INTR2 0xf0201a00 +#define BCMSTB_CS_REG 0xf0200920 + +/* + * Environment configuration for eMMC. + */ +#define CONFIG_ENV_OFFSET (0x000040a4 * 512) +#define CONFIG_SYS_MMC_ENV_DEV 0 +#define CONFIG_SYS_MMC_ENV_PART 0 + +#define CONFIG_CMD_GPT + +#endif /* __CONFIG_H */ |