1
2#
3# This is just a Makefile fragment -- it is included by the master
4# makefile, cfe.mk
5#
6# This file should just append object file names to "ALLOBJS"
7#
8
9ALLOBJS += bcm1480_cpu.o sb1_cpuinit.o bcm1480_altcpu.o bcm1480_l1cache.o \
10           bcm1480_l2cache.o bcm1480_draminit.o bcm1480_utils.o bcm1480_hsp_utils.o
11
12ifeq ($(strip ${CFG_PCI}),1)
13ALLOBJS += bcm1480_pci_machdep.o
14endif
15
16#
17# Enable 1480-family-specific code sections
18#
19CFLAGS += -DSIBYTE_BCM1480
20
21#
22# Deal with pass1's little quirks
23#
24CFLAGS += -D_BCM1480_PASS1_WORKAROUNDS_=1
25
26#
27# Deal with pass2's little quirks
28#
29CFLAGS += -D_BCM1480_PASS2_WORKAROUNDS_=1
30
31#
32# If you have a BCM1480 S0 (first preproduction sample), the 
33# define below must be enabled to work around erratum SOC-81
34# which restricts the available divisors in the memory controller.
35# Revision An samples may have fuse problems, reporting incorrect
36# chip revisions at high temperatures, so this particular fix must
37# be made at compile time, not run-time.
38#
39# CFLAGS += -D_BCM1480_S0_WORKAROUNDS_=1
40
41
42