summaryrefslogtreecommitdiff
path: root/cesar/hal
diff options
context:
space:
mode:
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. */