summaryrefslogtreecommitdiffstats
path: root/src/usr/pnor/makefile
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2014-06-17 10:27:07 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2014-10-14 08:49:13 -0500
commitf058c4b71a182364fd664f5a4d93cd1fe3e07d19 (patch)
tree348cab519fb07d2172fad68d1df689381c437793 /src/usr/pnor/makefile
parent4b16ee65fc46cb19aca69bd54b6024a948316315 (diff)
downloadblackbird-hostboot-f058c4b71a182364fd664f5a4d93cd1fe3e07d19.tar.gz
blackbird-hostboot-f058c4b71a182364fd664f5a4d93cd1fe3e07d19.zip
Split out SFC logic and add support for AST2400
Refactored the PNOR device driver to pull all SFC-specific code into a new set of classes. Any time a new type of serial flash controller (SFC) is introduced, a new subclass should be created to support it. Also added the full support for the AST2400 BMC that is being used on Palmetto. Change-Id: I9cdbf9b48bbf94615a39804920e170a3142ec386 Origin: Google Shared Technology RTC: 97493 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/13229 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/pnor/makefile')
-rw-r--r--src/usr/pnor/makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/usr/pnor/makefile b/src/usr/pnor/makefile
index c9a37cc3e..e6585c123 100644
--- a/src/usr/pnor/makefile
+++ b/src/usr/pnor/makefile
@@ -6,6 +6,7 @@
# OpenPOWER HostBoot Project
#
# Contributors Listed Below - COPYRIGHT 2011,2014
+# [+] Google Inc.
# [+] International Business Machines Corp.
#
#
@@ -29,6 +30,16 @@ OBJS += pnorrp.o
OBJS += pnordd.o
OBJS += pnorvalid.o
OBJS += ecc.o
+OBJS += sfcdd.o
+
+#SFC Implementations
+OBJS += $(if $(CONFIG_SFC_IS_IBM_DPSS),sfc_ibm.o)
+OBJS += $(if $(CONFIG_SFC_IS_AST2400),sfc_ast2400.o)
+OBJS += $(if $(CONFIG_SFC_IS_FAKE),sfc_fake.o)
+
+#NOR Implementations
+OBJS += $(if $(CONFIG_ALLOW_MICRON_PNOR),nor_micron.o)
+
SUBDIRS += test.d
OpenPOWER on IntegriCloud