summaryrefslogtreecommitdiff
path: root/cesar/hal
diff options
context:
space:
mode:
authorJean-Philippe SAVE2012-09-25 14:52:17 +0200
committerJean-Philippe SAVE2012-09-25 14:52:17 +0200
commit3388320ae117d25440163686ccab27e3f1ee277c (patch)
tree33bec8fb7c30a6bf69493294f46c72305094936c /cesar/hal
parentba38f5e6e7c3536b95b4fb337863430b9cc09c65 (diff)
cesar/hal/phy: change HLUT coef for mse500 asic, closes #3384
Diffstat (limited to 'cesar/hal')
-rw-r--r--cesar/hal/phy/src/hlut.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/cesar/hal/phy/src/hlut.c b/cesar/hal/phy/src/hlut.c
index da3a3b78ef..782ecd435c 100644
--- a/cesar/hal/phy/src/hlut.c
+++ b/cesar/hal/phy/src/hlut.c
@@ -65,6 +65,7 @@ phy_hlut_init (void)
{
/** HLUT table parameters for the gain function. */
static const u32 phy_hlut_table[] = {
+#if CONFIG_PHY_PLATFORM_DINI_PAMELA
0, 1, 2, 3, 4, 5, 6, 7,
8, 9, 10, 11, 12, 13, 14, 15,
16, 17, 18, 19, 20, 21, 22, 23,
@@ -73,6 +74,16 @@ phy_hlut_init (void)
40, 41, 41, 41, 41, 41, 41, 41,
41, 41, 41, 41, 41, 41, 41, 41,
41, 41, 41, 41, 41, 41, 41, 41
+#else /* !CONFIG_PHY_PLATFORM_DINI_PAMELA */
+ 0, 1, 2, 3, 4, 5, 6, 7,
+ 8, 9, 10, 11, 12, 13, 14, 15,
+ 16, 17, 18, 19, 20, 21, 22, 23,
+ 24, 25, 26, 27, 28, 29, 30, 31,
+ 32, 33, 34, 35, 36, 37, 38, 39,
+ 40, 41, 42, 43, 44, 45, 46, 47,
+ 48, 49, 50, 51, 52, 53, 54, 55,
+ 56, 57, 58, 59, 60, 61, 62, 63
+#endif /* !CONFIG_PHY_PLATFORM_DINI_PAMELA */
};
uint i;
/* Set the MAGIC HLUT parameters. */