aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/keyboard/cypress/issp_main.c
diff options
context:
space:
mode:
authorFil Bergamo <fil.bergamo@riseup.net>2019-01-15 00:04:10 +0100
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2019-07-24 14:38:15 +0200
commit160424ba716cde87e4ff213972a03388e90bf75e (patch)
tree81c93ddddcafe37b25b28840dc62f67c0fabc3da /drivers/input/keyboard/cypress/issp_main.c
parentdf2c9f3af521069c5f116137a63d518321eed2d2 (diff)
downloadkernel_samsung_smdk4412-160424ba716cde87e4ff213972a03388e90bf75e.tar.gz
kernel_samsung_smdk4412-160424ba716cde87e4ff213972a03388e90bf75e.tar.bz2
kernel_samsung_smdk4412-160424ba716cde87e4ff213972a03388e90bf75e.zip
input: cypress touchkey: remove unused binary firmware data
This removes some files that contain hex-encoded firmwares which lack their corresponding source code. They seem to only have been used during factory testing for the touch keys and they are are not needed during normal operation. Signed-off-by: Fil Bergamo <fil.bergamo@riseup.net> GNUtoo@cyberdimension.org: edited the commit message Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'drivers/input/keyboard/cypress/issp_main.c')
-rw-r--r--drivers/input/keyboard/cypress/issp_main.c27
1 files changed, 1 insertions, 26 deletions
diff --git a/drivers/input/keyboard/cypress/issp_main.c b/drivers/input/keyboard/cypress/issp_main.c
index ddca59b4360..ef273770fd8 100644
--- a/drivers/input/keyboard/cypress/issp_main.c
+++ b/drivers/input/keyboard/cypress/issp_main.c
@@ -381,23 +381,6 @@ unsigned int iBlockCounter;
unsigned int iChecksumData;
unsigned int iChecksumTarget;
-#if defined(CONFIG_MACH_Q1_BD)
-#include "touchkey_fw_Q1.h"
-#elif defined(CONFIG_ARIES_NTT)
-#include "touchkey_fw_NTT.h"
-#elif defined(CONFIG_TARGET_LOCALE_NA)
-#include "touchkey_fw_NA.h"
-#elif defined(CONFIG_TARGET_LOCALE_NAATT)
-#include "touchkey_fw_NAATT.h"
-#elif defined(CONFIG_MACH_M0) || defined(CONFIG_MACH_C1) || \
- defined(CONFIG_MACH_M3)
-#include "touchkey_fw_M0.h"
-#elif defined(CONFIG_MACH_T0)
-#include "touchkey_fw_T0.h"
-#else
-#include "touchkey_fw_U1.h"
-#endif
-
#define EXT_I2C_SCL_HIGH\
do {\
int delay_count;\
@@ -764,13 +747,7 @@ this data should come from the HEX output of PSoC Designer.*/
return fIsError;
}
#endif
- /*firmware read.
- LoadProgramData(bBankCounter,
- (unsigned char)iBlockCounter);
- PTJ: this loads the Hydra with test data,
- not the krypton */
- LoadProgramData((unsigned char)iBlockCounter,
- bBankCounter);
+
iChecksumData += iLoadTarget();
/*dog_kick(); */
@@ -811,8 +788,6 @@ this data should come from the HEX output of PSoC Designer.*/
printk(KERN_DEBUG"Verify Loop: iBlockCounter %d",
iBlockCounter, 0, 0);
INTLOCK();
- LoadProgramData(bBankCounter,
- (unsigned char)iBlockCounter);
/*PTJ: READ-WRITE-SETUP used here
to select SRAM Bank 1, and TSYNC Enable */