aboutsummaryrefslogtreecommitdiff
path: root/package/fmlib/Config.in
diff options
context:
space:
mode:
authorGravatar Matt Weber <matthew.weber@rockwellcollins.com>2016-05-18 08:41:26 -0500
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-06-12 22:20:12 +0200
commitb8ff08014737e84198bcc6a3b2fedcabf411b567 (patch)
tree7f998a641a8c4cdb4149d2920abc2e0d1a3ef3e5 /package/fmlib/Config.in
parent4fba2da4e63e4c36f168219bce247977c3592f5f (diff)
downloadbuildroot-b8ff08014737e84198bcc6a3b2fedcabf411b567.tar.gz
buildroot-b8ff08014737e84198bcc6a3b2fedcabf411b567.tar.bz2
fmlib: add powerpc e6500 support
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com> Signed-off-by: Ronak Desai <ronak.desai@rockwellcollins.com> [Thomas: remove existing definition of FMLIB_ARCHTYPE in the .mk file, change QORIQ to QorIQ.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/fmlib/Config.in')
-rw-r--r--package/fmlib/Config.in38
1 files changed, 36 insertions, 2 deletions
diff --git a/package/fmlib/Config.in b/package/fmlib/Config.in
index 3cc6a2b7af..d399cabe2a 100644
--- a/package/fmlib/Config.in
+++ b/package/fmlib/Config.in
@@ -1,10 +1,10 @@
comment "fmlib needs a Linux kernel to be built"
- depends on BR2_powerpc_e500mc
+ depends on BR2_powerpc_e500mc || BR2_powerpc_e6500
depends on !BR2_LINUX_KERNEL
config BR2_PACKAGE_FMLIB
bool "fmlib"
- depends on BR2_powerpc_e500mc
+ depends on BR2_powerpc_e500mc || BR2_powerpc_e6500
depends on BR2_LINUX_KERNEL
help
The Frame Manager library provides Freescale PowerPC platforms an
@@ -13,3 +13,37 @@ config BR2_PACKAGE_FMLIB
parameters and PCD (parse - classify - distribute) rules.
http://git.freescale.com/git/cgit.cgi/ppc/sdk/fmlib.git/tree/README
+
+if BR2_PACKAGE_FMLIB
+choice
+ prompt "QorIQ Target Family"
+ help
+ Select the family of QorIQ processor.
+
+config BR2_FMLIB_QORIQ_FAMILY_P4080
+ bool "p40xx"
+ depends on BR2_powerpc_e500mc
+
+config BR2_FMLIB_QORIQ_FAMILY_T4240
+ bool "t42xx"
+ depends on BR2_powerpc_e500mc
+
+config BR2_FMLIB_QORIQ_FAMILY_T2080
+ bool "t208x"
+ depends on BR2_powerpc_e6500
+
+endchoice
+
+config BR2_PACKAGE_FMLIB_ARCHTYPE
+ string
+ default "e500mc" if BR2_powerpc_e500mc
+ default "ppc64e6500" if BR2_powerpc_e6500 && BR2_powerpc64
+ default "ppc32e6500" if BR2_powerpc_e6500 && BR2_powerpc
+
+config BR2_PACKAGE_FMLIB_PLATFORM
+ string
+ default "P4080" if BR2_FMLIB_QORIQ_FAMILY_P4080
+ default "T4240" if BR2_FMLIB_QORIQ_FAMILY_T4240
+ default "FMAN_V3H" if BR2_FMLIB_QORIQ_FAMILY_T2080
+
+endif