AnsweredAssumed Answered

Compilation Issue while configuring Data Collection Manager(DCM) for board LS1021

Question asked by Nikhil Kumar on Jun 14, 2016
Latest reply on Jun 15, 2016 by alexander.yakovlev

Hi, 

 

I am trying to enable the configuration to include the DCM driver in the kernel and compile image for the board LS1021, but i am getting the compilation error as :

 

"| drivers/misc/fsl_dcm.c: In function 'write_sram':

| drivers/misc/fsl_dcm.c:83:2: error: implicit declaration of function 'out_8' [-Werror=implicit-function-declaration]

|   out_8(dcm->addr, offset);

|   ^

| drivers/misc/fsl_dcm.c: In function 'read_sram':

| drivers/misc/fsl_dcm.c:94:2: error: implicit declaration of function 'in_8' [-Werror=implicit-function-declaration]

|   return in_8(dcm->data);

|   ^".

 

Please provide inputs how to resolve this issue.

Outcomes