summaryrefslogtreecommitdiff
path: root/cesar/hal/phy/Module
diff options
context:
space:
mode:
authorNĂ©lio Laranjeiro2012-06-07 14:47:32 +0200
committerCyril Jourdan2012-09-20 17:00:12 +0200
commitc0cf8a066bcacddd422d1e4cd1c8101a1e18c232 (patch)
tree7fadf03fee674c7779583956617b78b6160e7cc7 /cesar/hal/phy/Module
parentc295ecf3e7bb0035b4454745478d7dd88f657d0a (diff)
cesar/hal/phy: support phy_params multiple files for DINI platform, refs #3147
Specific values for the DINI proto can be modified or added in the phy_params_dini_pamela.txt file. This will undifined values and redifine it.
Diffstat (limited to 'cesar/hal/phy/Module')
-rw-r--r--cesar/hal/phy/Module7
1 files changed, 6 insertions, 1 deletions
diff --git a/cesar/hal/phy/Module b/cesar/hal/phy/Module
index a8b438757c..ca2adc288e 100644
--- a/cesar/hal/phy/Module
+++ b/cesar/hal/phy/Module
@@ -89,9 +89,14 @@ $(hal_phy_resys_prog_di_dis): $(hal_phy_resys_prog_di_hex)
$(hal_phy_resys_offsettable_hex): $(hal_phy_resys_prog_di_hex)
:
-hal_phy_params_txt = $(call src2src,phy_params.txt,hal/phy/inc)
+hal_phy_params = phy_params.txt
+ifeq ($(CONFIG_PHY_PLATFORM_DINI_PAMELA),y)
+hal_phy_params += phy_params_dini_pamela.txt
+endif
+hal_phy_params_txt = $(call src2src,$(hal_phy_params),hal/phy/inc)
vpath %/phy_params.txt $(BASE)
+vpath %/phy_params_dini_pamela.txt $(BASE)
vpath %/phy_params.pl $(BASE)
$(hal_phy_params_h): $(call src2src,phy_params.pl,hal/phy/src) \