aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/keyboard/cypressbln/issp_driver_routines.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/keyboard/cypressbln/issp_driver_routines.c')
-rw-r--r--drivers/input/keyboard/cypressbln/issp_driver_routines.c37
1 files changed, 0 insertions, 37 deletions
diff --git a/drivers/input/keyboard/cypressbln/issp_driver_routines.c b/drivers/input/keyboard/cypressbln/issp_driver_routines.c
index a3b4fcf806f..55edf15f4ba 100644
--- a/drivers/input/keyboard/cypressbln/issp_driver_routines.c
+++ b/drivers/input/keyboard/cypressbln/issp_driver_routines.c
@@ -83,8 +83,6 @@ extern int touchkey_ldo_on(bool on);
unsigned int nBlockCount = 1; // test, KIMC
-extern unsigned char firmware_data[];
-
// ((((((((((((((((((((((( DEMO ISSP SUBROUTINE SECTION )))))))))))))))))))))))
// ((((( Demo Routines can be deleted in final ISSP project if not used )))))
// ((((((((((((((((((((((((((((((((((((()))))))))))))))))))))))))))))))))))))))
@@ -151,41 +149,6 @@ void Delay(unsigned char n) // by KIMC
udelay(n);
}
-// ********************* LOW-LEVEL ISSP SUBROUTINE SECTION ********************
-// ****************************************************************************
-// **** PROCESSOR SPECIFIC ****
-// ****************************************************************************
-// **** USER ATTENTION REQUIRED ****
-// ****************************************************************************
-// LoadProgramData()
-// The final application should load program data from HEX file generated by
-// PSoC Designer into a 64 byte host ram buffer.
-// 1. Read data from next line in hex file into ram buffer. One record
-// (line) is 64 bytes of data.
-// 2. Check host ram buffer + record data (Address, # of bytes) against hex
-// record checksum at end of record line
-// 3. If error reread data from file or abort
-// 4. Exit this Function and Program block or verify the block.
-// This demo program will, instead, load predetermined data into each block.
-// The demo does it this way because there is no comm link to get data.
-// ****************************************************************************
-void LoadProgramData(unsigned char bBlockNum, unsigned char bBankNum)
-{
- // >>> The following call is for demo use only. <<<
- // Function InitTargetTestData fills buffer for demo
- // InitTargetTestData(bBlockNum, bBankNum);
- // create unique data for each block
- int dataNum = 0;
- for (dataNum = 0; dataNum < TARGET_DATABUFF_LEN; dataNum++) {
- abTargetDataOUT[dataNum] =
- firmware_data[bBlockNum * TARGET_DATABUFF_LEN + dataNum];
- // abTargetDataOUT[bTargetDataPtr] = bTargetDataPtr + bBlockNum + bBankNum;
- }
-
- // Note:
- // Error checking should be added for the final version as noted above.
- // For demo use this function just returns VOID.
-}
// ********************* LOW-LEVEL ISSP SUBROUTINE SECTION ********************
// ****************************************************************************