2003-10-15 23:53:47 +00:00
|
|
|
#
|
2006-09-01 17:49:50 +00:00
|
|
|
# (C) Copyright 2006
|
|
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
#
|
2003-10-15 23:53:47 +00:00
|
|
|
# (C) Copyright 2002,2003 Motorola Inc.
|
|
|
|
# Xianghua Xiao,X.Xiao@motorola.com
|
|
|
|
#
|
|
|
|
# See file CREDITS for list of people who contributed to this
|
|
|
|
# project.
|
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or
|
|
|
|
# modify it under the terms of the GNU General Public License as
|
|
|
|
# published by the Free Software Foundation; either version 2 of
|
|
|
|
# the License, or (at your option) any later version.
|
|
|
|
#
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program; if not, write to the Free Software
|
|
|
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
|
|
|
# MA 02111-1307 USA
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/config.mk
|
|
|
|
|
2010-11-05 14:48:07 +00:00
|
|
|
LIB = $(obj)lib$(CPU).o
|
2003-10-15 23:53:47 +00:00
|
|
|
|
|
|
|
START = start.o resetvec.o
|
2009-09-02 14:00:50 +00:00
|
|
|
SOBJS-$(CONFIG_MP) += release.o
|
2008-01-17 22:48:33 +00:00
|
|
|
SOBJS = $(SOBJS-y)
|
2009-09-02 14:00:50 +00:00
|
|
|
|
2010-06-10 03:59:41 +00:00
|
|
|
COBJS-$(CONFIG_CMD_ERRATA) += cmd_errata.o
|
2009-09-02 14:00:50 +00:00
|
|
|
COBJS-$(CONFIG_CPM2) += commproc.o
|
2008-08-26 20:01:29 +00:00
|
|
|
|
2008-08-27 02:34:55 +00:00
|
|
|
# supports ddr1
|
|
|
|
COBJS-$(CONFIG_MPC8540) += ddr-gen1.o
|
|
|
|
COBJS-$(CONFIG_MPC8560) += ddr-gen1.o
|
|
|
|
COBJS-$(CONFIG_MPC8541) += ddr-gen1.o
|
|
|
|
COBJS-$(CONFIG_MPC8555) += ddr-gen1.o
|
|
|
|
|
|
|
|
# supports ddr1/2
|
|
|
|
COBJS-$(CONFIG_MPC8548) += ddr-gen2.o
|
|
|
|
COBJS-$(CONFIG_MPC8568) += ddr-gen2.o
|
|
|
|
COBJS-$(CONFIG_MPC8544) += ddr-gen2.o
|
|
|
|
|
|
|
|
# supports ddr1/2/3
|
|
|
|
COBJS-$(CONFIG_MPC8572) += ddr-gen3.o
|
|
|
|
COBJS-$(CONFIG_MPC8536) += ddr-gen3.o
|
2009-03-27 21:02:44 +00:00
|
|
|
COBJS-$(CONFIG_MPC8569) += ddr-gen3.o
|
2011-01-13 16:09:27 +00:00
|
|
|
COBJS-$(CONFIG_P1010) += ddr-gen3.o
|
2009-08-20 13:27:45 +00:00
|
|
|
COBJS-$(CONFIG_P1011) += ddr-gen3.o
|
2010-03-31 04:06:53 +00:00
|
|
|
COBJS-$(CONFIG_P1012) += ddr-gen3.o
|
|
|
|
COBJS-$(CONFIG_P1013) += ddr-gen3.o
|
2011-01-13 16:10:05 +00:00
|
|
|
COBJS-$(CONFIG_P1014) += ddr-gen3.o
|
2009-07-31 06:38:27 +00:00
|
|
|
COBJS-$(CONFIG_P1020) += ddr-gen3.o
|
2010-03-31 04:06:53 +00:00
|
|
|
COBJS-$(CONFIG_P1021) += ddr-gen3.o
|
|
|
|
COBJS-$(CONFIG_P1022) += ddr-gen3.o
|
2011-02-05 19:45:07 +00:00
|
|
|
COBJS-$(CONFIG_P1024) += ddr-gen3.o
|
|
|
|
COBJS-$(CONFIG_P1025) += ddr-gen3.o
|
2009-08-20 13:27:45 +00:00
|
|
|
COBJS-$(CONFIG_P2010) += ddr-gen3.o
|
|
|
|
COBJS-$(CONFIG_P2020) += ddr-gen3.o
|
2011-05-13 06:16:07 +00:00
|
|
|
COBJS-$(CONFIG_PPC_P2041) += ddr-gen3.o
|
2010-01-27 16:26:46 +00:00
|
|
|
COBJS-$(CONFIG_PPC_P3041) += ddr-gen3.o
|
2009-03-19 07:39:17 +00:00
|
|
|
COBJS-$(CONFIG_PPC_P4080) += ddr-gen3.o
|
2009-10-21 18:32:58 +00:00
|
|
|
COBJS-$(CONFIG_PPC_P5020) += ddr-gen3.o
|
powerpc/85xx: Add P5040 processor support
Add support for the Freescale P5040 SOC, which is similar to the P5020.
Features of the P5040 are:
Four P5040 single-threaded e5500 cores built
Up to 2.4 GHz with 64-bit ISA support
Three levels of instruction: user, supervisor, hypervisor
CoreNet platform cache (CPC)
2.0 MB configures as dual 1 MB blocks hierarchical interconnect fabric
Two 64-bit DDR3/3L SDRAM memory controllers with ECC and interleaving
support Up to 1600MT/s
Memory pre-fetch engine
DPAA incorporating acceleration for the following functions
Packet parsing, classification, and distribution (FMAN)
Queue management for scheduling, packet sequencing and
congestion management (QMAN)
Hardware buffer management for buffer allocation and
de-allocation (BMAN)
Cryptography acceleration (SEC 5.2) at up to 40 Gbps SerDes
20 lanes at up to 5 Gbps
Supports SGMII, XAUI, PCIe rev1.1/2.0, SATA Ethernet interfaces
Two 10 Gbps Ethernet MACs
Ten 1 Gbps Ethernet MACs
High-speed peripheral interfaces
Two PCI Express 2.0/3.0 controllers
Additional peripheral interfaces
Two serial ATA (SATA 2.0) controllers
Two high-speed USB 2.0 controllers with integrated PHY
Enhanced secure digital host controller (SD/MMC/eMMC)
Enhanced serial peripheral interface (eSPI)
Two I2C controllers
Four UARTs
Integrated flash controller supporting NAND and NOR flash
DMA
Dual four channel
Support for hardware virtualization and partitioning enforcement
Extra privileged level for hypervisor support
QorIQ Trust Architecture 1.1
Secure boot, secure debug, tamper detection, volatile key storage
Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
2012-10-05 11:09:19 +00:00
|
|
|
COBJS-$(CONFIG_PPC_P5040) += ddr-gen3.o
|
2012-10-08 07:44:19 +00:00
|
|
|
COBJS-$(CONFIG_PPC_T4240) += ddr-gen3.o
|
powerpc/mpc85xx:Add BSC9131/BSC9130/BSC9231 Processor Support
- BSC9131 is integrated device that targets Femto base station market.
It combines Power Architecture e500v2 and DSP StarCore SC3850 core
technologies with MAPLE-B2F baseband acceleration processing elements.
- BSC9130 is exactly same as BSC9131 except that the max e500v2
core and DSP core frequencies are 800M(these are 1G in case of 9131).
- BSC9231 is similar to BSC9131 except no MAPLE
The BSC9131 SoC includes the following function and features:
. Power Architecture subsystem including a e500 processor with 256-Kbyte shared
L2 cache
. StarCore SC3850 DSP subsystem with a 512-Kbyte private L2 cache
. The Multi Accelerator Platform Engine for Femto BaseStation Baseband
Processing (MAPLE-B2F)
. A multi-standard baseband algorithm accelerator for Channel Decoding/Encoding,
Fourier Transforms, UMTS chip rate processing, LTE UP/DL Channel processing,
and CRC algorithms
. Consists of accelerators for Convolution, Filtering, Turbo Encoding,
Turbo Decoding, Viterbi decoding, Chiprate processing, and Matrix Inversion
operations
. DDR3/3L memory interface with 32-bit data width without ECC and 16-bit with
ECC, up to 400-MHz clock/800 MHz data rate
. Dedicated security engine featuring trusted boot
. DMA controller
. OCNDMA with four bidirectional channels
. Interfaces
. Two triple-speed Gigabit Ethernet controllers featuring network acceleration
including IEEE 1588. v2 hardware support and virtualization (eTSEC)
. eTSEC 1 supports RGMII/RMII
. eTSEC 2 supports RGMII
. High-speed USB 2.0 host and device controller with ULPI interface
. Enhanced secure digital (SD/MMC) host controller (eSDHC)
. Antenna interface controller (AIC), supporting three industry standard
JESD207/three custom ADI RF interfaces (two dual port and one single port)
and three MAXIM's MaxPHY serial interfaces
. ADI lanes support both full duplex FDD support and half duplex TDD support
. Universal Subscriber Identity Module (USIM) interface that facilitates
communication to SIM cards or Eurochip pre-paid phone cards
. TDM with one TDM port
. Two DUART, four eSPI, and two I2C controllers
. Integrated Flash memory controller (IFC)
. TDM with 256 channels
. GPIO
. Sixteen 32-bit timers
The DSP portion of the SoC consists of DSP core (SC3850) and various
accelerators pertaining to DSP operations.
This patch takes care of code pertaining to power side functionality only.
Signed-off-by: Ramneek Mehresh <ramneek.mehresh@freescale.com>
Signed-off-by: Priyanka Jain <Priyanka.Jain@freescale.com>
Signed-off-by: Akhil Goyal <Akhil.Goyal@freescale.com>
Signed-off-by: Poonam Aggrwal <poonam.aggrwal@freescale.com>
Signed-off-by: Rajan Srivastava <rajan.srivastava@freescale.com>
Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
2012-04-24 20:16:49 +00:00
|
|
|
COBJS-$(CONFIG_BSC9131) += ddr-gen3.o
|
2008-08-26 20:01:29 +00:00
|
|
|
|
2009-09-02 14:00:50 +00:00
|
|
|
COBJS-$(CONFIG_CPM2) += ether_fcc.o
|
|
|
|
COBJS-$(CONFIG_OF_LIBFDT) += fdt.o
|
2009-09-10 08:02:13 +00:00
|
|
|
COBJS-$(CONFIG_FSL_CORENET) += liodn.o
|
2009-09-02 14:00:50 +00:00
|
|
|
COBJS-$(CONFIG_MP) += mp.o
|
|
|
|
COBJS-$(CONFIG_PCI) += pci.o
|
2011-01-20 22:26:31 +00:00
|
|
|
COBJS-$(CONFIG_SYS_DPAA_QBMAN) += portals.o
|
2009-09-10 08:02:13 +00:00
|
|
|
|
|
|
|
# various SoC specific assignments
|
2011-07-21 05:20:19 +00:00
|
|
|
COBJS-$(CONFIG_PPC_P2041) += p2041_ids.o
|
2010-07-04 18:07:08 +00:00
|
|
|
COBJS-$(CONFIG_PPC_P3041) += p3041_ids.o
|
2009-09-10 08:02:13 +00:00
|
|
|
COBJS-$(CONFIG_PPC_P4080) += p4080_ids.o
|
2010-07-08 10:24:44 +00:00
|
|
|
COBJS-$(CONFIG_PPC_P5020) += p5020_ids.o
|
powerpc/85xx: Add P5040 processor support
Add support for the Freescale P5040 SOC, which is similar to the P5020.
Features of the P5040 are:
Four P5040 single-threaded e5500 cores built
Up to 2.4 GHz with 64-bit ISA support
Three levels of instruction: user, supervisor, hypervisor
CoreNet platform cache (CPC)
2.0 MB configures as dual 1 MB blocks hierarchical interconnect fabric
Two 64-bit DDR3/3L SDRAM memory controllers with ECC and interleaving
support Up to 1600MT/s
Memory pre-fetch engine
DPAA incorporating acceleration for the following functions
Packet parsing, classification, and distribution (FMAN)
Queue management for scheduling, packet sequencing and
congestion management (QMAN)
Hardware buffer management for buffer allocation and
de-allocation (BMAN)
Cryptography acceleration (SEC 5.2) at up to 40 Gbps SerDes
20 lanes at up to 5 Gbps
Supports SGMII, XAUI, PCIe rev1.1/2.0, SATA Ethernet interfaces
Two 10 Gbps Ethernet MACs
Ten 1 Gbps Ethernet MACs
High-speed peripheral interfaces
Two PCI Express 2.0/3.0 controllers
Additional peripheral interfaces
Two serial ATA (SATA 2.0) controllers
Two high-speed USB 2.0 controllers with integrated PHY
Enhanced secure digital host controller (SD/MMC/eMMC)
Enhanced serial peripheral interface (eSPI)
Two I2C controllers
Four UARTs
Integrated flash controller supporting NAND and NOR flash
DMA
Dual four channel
Support for hardware virtualization and partitioning enforcement
Extra privileged level for hypervisor support
QorIQ Trust Architecture 1.1
Secure boot, secure debug, tamper detection, volatile key storage
Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
2012-10-05 11:09:19 +00:00
|
|
|
COBJS-$(CONFIG_PPC_P5040) += p5040_ids.o
|
2012-10-08 07:44:19 +00:00
|
|
|
COBJS-$(CONFIG_PPC_T4240) += t4240_ids.o
|
2009-09-10 08:02:13 +00:00
|
|
|
|
2009-09-02 14:00:50 +00:00
|
|
|
COBJS-$(CONFIG_QE) += qe_io.o
|
|
|
|
COBJS-$(CONFIG_CPM2) += serial_scc.o
|
2012-10-08 07:44:15 +00:00
|
|
|
COBJS-$(CONFIG_SYS_FSL_QORIQ_CHASSIS1) += fsl_corenet_serdes.o
|
|
|
|
COBJS-$(CONFIG_SYS_FSL_QORIQ_CHASSIS2) += fsl_corenet2_serdes.o
|
2010-12-15 10:07:55 +00:00
|
|
|
|
|
|
|
# SoC specific SERDES support
|
|
|
|
COBJS-$(CONFIG_MPC8536) += mpc8536_serdes.o
|
2010-04-27 14:20:20 +00:00
|
|
|
COBJS-$(CONFIG_MPC8544) += mpc8544_serdes.o
|
2010-04-27 04:25:33 +00:00
|
|
|
COBJS-$(CONFIG_MPC8548) += mpc8548_serdes.o
|
2010-04-27 04:44:10 +00:00
|
|
|
COBJS-$(CONFIG_MPC8568) += mpc8568_serdes.o
|
2010-04-27 05:05:41 +00:00
|
|
|
COBJS-$(CONFIG_MPC8569) += mpc8569_serdes.o
|
2010-04-27 04:09:23 +00:00
|
|
|
COBJS-$(CONFIG_MPC8572) += mpc8572_serdes.o
|
2011-01-20 11:04:41 +00:00
|
|
|
COBJS-$(CONFIG_P1010) += p1010_serdes.o
|
2010-12-15 10:04:56 +00:00
|
|
|
COBJS-$(CONFIG_P1011) += p1021_serdes.o
|
|
|
|
COBJS-$(CONFIG_P1012) += p1021_serdes.o
|
2011-02-04 18:50:53 +00:00
|
|
|
COBJS-$(CONFIG_P1013) += p1022_serdes.o
|
2011-01-20 11:04:41 +00:00
|
|
|
COBJS-$(CONFIG_P1014) += p1010_serdes.o
|
2011-02-04 04:14:19 +00:00
|
|
|
COBJS-$(CONFIG_P1017) += p1023_serdes.o
|
2010-12-15 10:04:56 +00:00
|
|
|
COBJS-$(CONFIG_P1020) += p1021_serdes.o
|
|
|
|
COBJS-$(CONFIG_P1021) += p1021_serdes.o
|
2010-12-15 10:07:55 +00:00
|
|
|
COBJS-$(CONFIG_P1022) += p1022_serdes.o
|
2011-02-04 04:14:19 +00:00
|
|
|
COBJS-$(CONFIG_P1023) += p1023_serdes.o
|
2011-02-05 19:45:07 +00:00
|
|
|
COBJS-$(CONFIG_P1024) += p1021_serdes.o
|
|
|
|
COBJS-$(CONFIG_P1025) += p1021_serdes.o
|
2010-12-15 08:49:03 +00:00
|
|
|
COBJS-$(CONFIG_P2010) += p2020_serdes.o
|
|
|
|
COBJS-$(CONFIG_P2020) += p2020_serdes.o
|
2011-05-13 06:16:07 +00:00
|
|
|
COBJS-$(CONFIG_PPC_P2041) += p2041_serdes.o
|
2010-07-04 18:07:08 +00:00
|
|
|
COBJS-$(CONFIG_PPC_P3041) += p3041_serdes.o
|
2010-07-13 03:51:29 +00:00
|
|
|
COBJS-$(CONFIG_PPC_P4080) += p4080_serdes.o
|
2010-07-08 10:24:44 +00:00
|
|
|
COBJS-$(CONFIG_PPC_P5020) += p5020_serdes.o
|
powerpc/85xx: Add P5040 processor support
Add support for the Freescale P5040 SOC, which is similar to the P5020.
Features of the P5040 are:
Four P5040 single-threaded e5500 cores built
Up to 2.4 GHz with 64-bit ISA support
Three levels of instruction: user, supervisor, hypervisor
CoreNet platform cache (CPC)
2.0 MB configures as dual 1 MB blocks hierarchical interconnect fabric
Two 64-bit DDR3/3L SDRAM memory controllers with ECC and interleaving
support Up to 1600MT/s
Memory pre-fetch engine
DPAA incorporating acceleration for the following functions
Packet parsing, classification, and distribution (FMAN)
Queue management for scheduling, packet sequencing and
congestion management (QMAN)
Hardware buffer management for buffer allocation and
de-allocation (BMAN)
Cryptography acceleration (SEC 5.2) at up to 40 Gbps SerDes
20 lanes at up to 5 Gbps
Supports SGMII, XAUI, PCIe rev1.1/2.0, SATA Ethernet interfaces
Two 10 Gbps Ethernet MACs
Ten 1 Gbps Ethernet MACs
High-speed peripheral interfaces
Two PCI Express 2.0/3.0 controllers
Additional peripheral interfaces
Two serial ATA (SATA 2.0) controllers
Two high-speed USB 2.0 controllers with integrated PHY
Enhanced secure digital host controller (SD/MMC/eMMC)
Enhanced serial peripheral interface (eSPI)
Two I2C controllers
Four UARTs
Integrated flash controller supporting NAND and NOR flash
DMA
Dual four channel
Support for hardware virtualization and partitioning enforcement
Extra privileged level for hypervisor support
QorIQ Trust Architecture 1.1
Secure boot, secure debug, tamper detection, volatile key storage
Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
2012-10-05 11:09:19 +00:00
|
|
|
COBJS-$(CONFIG_PPC_P5040) += p5040_serdes.o
|
2012-10-08 07:44:19 +00:00
|
|
|
COBJS-$(CONFIG_PPC_T4240) += t4240_serdes.o
|
2009-09-02 14:00:50 +00:00
|
|
|
|
|
|
|
COBJS = $(COBJS-y)
|
|
|
|
COBJS += cpu.o
|
|
|
|
COBJS += cpu_init.o
|
2009-09-11 18:52:45 +00:00
|
|
|
COBJS += cpu_init_early.o
|
2009-09-02 14:00:50 +00:00
|
|
|
COBJS += interrupts.o
|
|
|
|
COBJS += speed.o
|
|
|
|
COBJS += tlb.o
|
|
|
|
COBJS += traps.o
|
2003-10-15 23:53:47 +00:00
|
|
|
|
2012-05-25 14:14:46 +00:00
|
|
|
# Stub implementations of cache management functions for USB
|
2012-07-19 23:00:02 +00:00
|
|
|
COBJS += cache.o
|
2012-05-25 14:14:46 +00:00
|
|
|
|
2006-09-01 17:49:50 +00:00
|
|
|
SRCS := $(START:.o=.S) $(SOBJS:.o=.S) $(COBJS:.o=.c)
|
|
|
|
OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))
|
|
|
|
START := $(addprefix $(obj),$(START))
|
|
|
|
|
|
|
|
all: $(obj).depend $(START) $(LIB)
|
2003-10-15 23:53:47 +00:00
|
|
|
|
|
|
|
$(LIB): $(OBJS)
|
2010-11-05 14:48:07 +00:00
|
|
|
$(call cmd_link_o_target, $(OBJS))
|
2003-10-15 23:53:47 +00:00
|
|
|
|
|
|
|
#########################################################################
|
|
|
|
|
2006-09-01 17:49:50 +00:00
|
|
|
# defines $(obj).depend target
|
|
|
|
include $(SRCTREE)/rules.mk
|
2003-10-15 23:53:47 +00:00
|
|
|
|
2006-09-01 17:49:50 +00:00
|
|
|
sinclude $(obj).depend
|
2003-10-15 23:53:47 +00:00
|
|
|
|
|
|
|
#########################################################################
|