From 2e918da325b497cf60b93581e872e0831b11768c Mon Sep 17 00:00:00 2001 From: Martin Stein Date: Mon, 28 May 2012 11:47:25 +0200 Subject: [PATCH] Enhance specs that concern 'base-hw'. Add specs for the PandaboardBoard A2 and according devices. Refine axisting specs for Cortex A9 systems. --- base/mk/spec-arm_v7a.mk | 2 ++ base/mk/spec-cortex_a9.mk | 16 ++++++++++++++++ base/mk/spec-pl011.mk | 9 +++++++++ base/mk/spec-pl390.mk | 8 ++++++++ base/mk/spec-platform_panda_a2.mk | 16 ++++++++++++++++ base/mk/spec-platform_pbxa9.mk | 5 +++-- base/mk/spec-platform_vea9x4.mk | 5 +++-- base/mk/spec-tl16c750.mk | 9 +++++++++ 8 files changed, 66 insertions(+), 4 deletions(-) create mode 100644 base/mk/spec-cortex_a9.mk create mode 100644 base/mk/spec-pl011.mk create mode 100644 base/mk/spec-pl390.mk create mode 100644 base/mk/spec-platform_panda_a2.mk create mode 100644 base/mk/spec-tl16c750.mk diff --git a/base/mk/spec-arm_v7a.mk b/base/mk/spec-arm_v7a.mk index 0eb6e8be7e..03509f9a0b 100644 --- a/base/mk/spec-arm_v7a.mk +++ b/base/mk/spec-arm_v7a.mk @@ -5,4 +5,6 @@ SPECS += arm # CC_MARCH += -march=armv7-a +REP_INC_DIR += include/arm_v7a + include $(call select_from_repositories,mk/spec-arm.mk) diff --git a/base/mk/spec-cortex_a9.mk b/base/mk/spec-cortex_a9.mk new file mode 100644 index 0000000000..103f5439e6 --- /dev/null +++ b/base/mk/spec-cortex_a9.mk @@ -0,0 +1,16 @@ +# +# \brief Build-system configurations specifically for the ARM Cortex A9 +# \author Martin Stein +# \date 2011-12-20 +# + +# denote wich specs are also fullfilled by this spec +SPECS += arm_v7a pl390 + +# add repository relative include paths +REP_INC_DIR += include/cortex_a9 + +# include implied specs +include $(call select_from_repositories,mk/spec-arm_v7a.mk) +include $(call select_from_repositories,mk/spec-pl390.mk) + diff --git a/base/mk/spec-pl011.mk b/base/mk/spec-pl011.mk new file mode 100644 index 0000000000..330f54dd78 --- /dev/null +++ b/base/mk/spec-pl011.mk @@ -0,0 +1,9 @@ +# +# \brief Build-system configurations specifically for the ARM PL011 +# \author Martin Stein +# \date 2011-12-20 +# + +# add repository relative include paths +REP_INC_DIR += include/pl011 + diff --git a/base/mk/spec-pl390.mk b/base/mk/spec-pl390.mk new file mode 100644 index 0000000000..ef800ecca4 --- /dev/null +++ b/base/mk/spec-pl390.mk @@ -0,0 +1,8 @@ +# +# \brief Build-system configurations specifically for the ARM PL390 +# \author Martin Stein +# \date 2011-12-20 +# + +# add repository relative include paths +REP_INC_DIR += include/pl390 diff --git a/base/mk/spec-platform_panda_a2.mk b/base/mk/spec-platform_panda_a2.mk new file mode 100644 index 0000000000..dab5d2c913 --- /dev/null +++ b/base/mk/spec-platform_panda_a2.mk @@ -0,0 +1,16 @@ +# +# \brief Build-system configurations specifically for the PandaBoard A2 +# \author Martin Stein +# \date 2011-12-20 +# + +# denote wich specs are also fullfilled by this spec +SPECS += cortex_a9 tl16c750 omap44xx + +# add repository relative include paths +REP_INC_DIR += include/platform/panda_a2 + +# include implied specs +include $(call select_from_repositories,mk/spec-cortex_a9.mk) +include $(call select_from_repositories,mk/spec-tl16c750.mk) + diff --git a/base/mk/spec-platform_pbxa9.mk b/base/mk/spec-platform_pbxa9.mk index 87d23c16f6..e1d96495ce 100644 --- a/base/mk/spec-platform_pbxa9.mk +++ b/base/mk/spec-platform_pbxa9.mk @@ -6,11 +6,12 @@ SPECS += pl050 pl11x ps2 pl180 lan9118 pl011 # # Pull in CPU specifics # -SPECS += arm_v7a +SPECS += cortex_a9 # # Add device parameters to include search path # REP_INC_DIR += include/platform/pbxa9 -include $(call select_from_repositories,mk/spec-arm_v7a.mk) +include $(call select_from_repositories,mk/spec-cortex_a9.mk) +include $(call select_from_repositories,mk/spec-pl011.mk) diff --git a/base/mk/spec-platform_vea9x4.mk b/base/mk/spec-platform_vea9x4.mk index 6551b7cb47..000dabf55d 100644 --- a/base/mk/spec-platform_vea9x4.mk +++ b/base/mk/spec-platform_vea9x4.mk @@ -6,11 +6,12 @@ SPECS += pl050 pl11x ps2 pl180 lan9118 pl011 # # Pull in CPU specifics # -SPECS += arm_v7a +SPECS += cortex_a9 # # Add device parameters to include search path # REP_INC_DIR += include/platform/vea9x4 -include $(call select_from_repositories,mk/spec-arm_v7a.mk) +include $(call select_from_repositories,mk/spec-cortex_a9.mk) +include $(call select_from_repositories,mk/spec-pl011.mk) diff --git a/base/mk/spec-tl16c750.mk b/base/mk/spec-tl16c750.mk new file mode 100644 index 0000000000..2936c926d7 --- /dev/null +++ b/base/mk/spec-tl16c750.mk @@ -0,0 +1,9 @@ +# +# \brief Build-system configurations specifically for the TL16C750 +# \author Martin Stein +# \date 2011-12-20 +# + +# add repository relative include paths +REP_INC_DIR += include/tl16c750 +