308520b8f2
This removes the following unreferenced CONFIG symbols: CONFIG_FDTADDR CONFIG_FDTFILE CONFIG_FLASH_SECTOR_SIZE CONFIG_FSL_CPLD CONFIG_HDMI_ENCODER_I2C_ADDR CONFIG_I2C_MVTWSI CONFIG_I2C_RTC_ADDR CONFIG_IRAM_END CONFIG_IRAM_SIZE CONFIG_KSNET_MDIO_PHY_CONFIG_ENABLE CONFIG_L1_INIT_RAM CONFIG_MACB_SEARCH_PHY CONFIG_MIU_2BIT_21_7_INTERLEAVED CONFIG_MTD_NAND_VERIFY_WRITE CONFIG_MVGBE_PORTS CONFIG_NETDEV CONFIG_NUM_DSP_CPUS CONFIG_PHY_BASE_ADR CONFIG_PHY_INTERFACE_MODE CONFIG_PSRAM_SCFG CONFIG_RAMBOOT_SPIFLASH CONFIG_RAMBOOT_TEXT_BASE CONFIG_RD_LVL CONFIG_ROCKCHIP_SDHCI_MAX_FREQ CONFIG_SETUP_INITRD_TAG CONFIG_SH_QSPI_BASE CONFIG_SMDK5420 CONFIG_SOCRATES CONFIG_SPI_ADDR CONFIG_SPI_FLASH_QUAD CONFIG_SPI_FLASH_SIZE CONFIG_SPI_HALF_DUPLEX CONFIG_SPI_N25Q256A_RESET CONFIG_TEGRA_SLINK_CTRLS CONFIG_TPM_TIS_BASE_ADDRESS CONFIG_UBOOT_SECTOR_COUNT CONFIG_UBOOT_SECTOR_START CONFIG_VAR_SIZE_SPL CONFIG_VERY_BIG_RAM And also: BL1_SIZE PHY_NO RESERVE_BLOCK_SIZE Signed-off-by: Tom Rini <trini@konsulko.com>
62 lines
1.7 KiB
C
62 lines
1.7 KiB
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright 2011-2014 Freescale Semiconductor, Inc.
|
|
*/
|
|
|
|
/*
|
|
* Corenet DS style board configuration file
|
|
*/
|
|
#ifndef __QEMU_PPCE500_H
|
|
#define __QEMU_PPCE500_H
|
|
|
|
/* Needed to fill the ccsrbar pointer */
|
|
|
|
/* Virtual address to CCSRBAR */
|
|
#define CFG_SYS_CCSRBAR 0xe0000000
|
|
/* Physical address should be a function call */
|
|
#ifndef __ASSEMBLY__
|
|
extern unsigned long long get_phys_ccsrbar_addr_early(void);
|
|
#define CFG_SYS_CCSRBAR_PHYS_HIGH (get_phys_ccsrbar_addr_early() >> 32)
|
|
#define CFG_SYS_CCSRBAR_PHYS_LOW get_phys_ccsrbar_addr_early()
|
|
#else
|
|
#define CFG_SYS_CCSRBAR_PHYS_HIGH 0x0
|
|
#define CFG_SYS_CCSRBAR_PHYS_LOW CFG_SYS_CCSRBAR
|
|
#endif
|
|
|
|
/* Virtual address to a temporary map if we need it (max 128MB) */
|
|
#define CFG_SYS_TMPVIRT 0xe8000000
|
|
|
|
/*
|
|
* DDR Setup
|
|
*/
|
|
#define CFG_SYS_DDR_SDRAM_BASE 0x00000000
|
|
#define CFG_SYS_SDRAM_BASE CFG_SYS_DDR_SDRAM_BASE
|
|
|
|
#define CFG_SYS_INIT_RAM_ADDR 0x00100000
|
|
#define CFG_SYS_INIT_RAM_ADDR_PHYS_HIGH 0x0
|
|
#define CFG_SYS_INIT_RAM_ADDR_PHYS_LOW 0x00100000
|
|
/* The assembler doesn't like typecast */
|
|
#define CFG_SYS_INIT_RAM_ADDR_PHYS \
|
|
((CFG_SYS_INIT_RAM_ADDR_PHYS_HIGH * 1ull << 32) | \
|
|
CFG_SYS_INIT_RAM_ADDR_PHYS_LOW)
|
|
#define CFG_SYS_INIT_RAM_SIZE 0x00004000
|
|
|
|
#define CFG_SYS_INIT_SP_OFFSET (CFG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE)
|
|
|
|
/*
|
|
* Miscellaneous configurable options
|
|
*/
|
|
|
|
/*
|
|
* For booting Linux, the board info and command line data
|
|
* have to be in the first 64 MB of memory, since this is
|
|
* the maximum mapped by the Linux kernel during initialization.
|
|
*/
|
|
#define CFG_SYS_BOOTMAPSZ (64 << 20) /* Initial map for Linux*/
|
|
|
|
/*
|
|
* Environment Configuration
|
|
*/
|
|
|
|
#endif /* __QEMU_PPCE500_H */
|