summaryrefslogtreecommitdiff
path: root/src/mainboard/razer/blade_stealth_kbl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/razer/blade_stealth_kbl')
-rw-r--r--src/mainboard/razer/blade_stealth_kbl/spd/spd.h2
-rw-r--r--src/mainboard/razer/blade_stealth_kbl/spd/spd_util.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/mainboard/razer/blade_stealth_kbl/spd/spd.h b/src/mainboard/razer/blade_stealth_kbl/spd/spd.h
index 233d368567..36363cc702 100644
--- a/src/mainboard/razer/blade_stealth_kbl/spd/spd.h
+++ b/src/mainboard/razer/blade_stealth_kbl/spd/spd.h
@@ -21,8 +21,6 @@
#include <gpio.h>
#include "../gpio.h"
-#define RCOMP_TARGET_PARAMS 0x5
-
void mainboard_fill_dq_map_data(void *dq_map_ptr);
void mainboard_fill_dqs_map_data(void *dqs_map_ptr);
void mainboard_fill_rcomp_res_data(void *rcomp_ptr);
diff --git a/src/mainboard/razer/blade_stealth_kbl/spd/spd_util.c b/src/mainboard/razer/blade_stealth_kbl/spd/spd_util.c
index a6f31f0930..a81653f7fd 100644
--- a/src/mainboard/razer/blade_stealth_kbl/spd/spd_util.c
+++ b/src/mainboard/razer/blade_stealth_kbl/spd/spd_util.c
@@ -44,7 +44,7 @@ void mainboard_fill_rcomp_res_data(void *rcomp_ptr)
void mainboard_fill_rcomp_strength_data(void *rcomp_strength_ptr)
{
/* Rcomp target */
- static const u16 RcompTarget[RCOMP_TARGET_PARAMS] = {100, 40, 40, 23, 40};
+ static const u16 RcompTarget[5] = {100, 40, 40, 23, 40};
memcpy(rcomp_strength_ptr, RcompTarget, sizeof(RcompTarget));
}