Re: [PATCH v4] platform/chrome: cros_ec_trace: update generating script
From: Tzung-Bi Shih
Date: Thu Aug 01 2019 - 09:04:18 EST
On Thu, Aug 1, 2019 at 6:59 PM Enric Balletbo i Serra
> Hi Tzung-Bi
> On 30/7/19 16:07, Tzung-Bi Shih wrote:
> > Hi Enric,
> > I found it is error-prone to replace the EC_CMDS after updated.
> > Perhaps, we should introduce an intermediate file "cros_ec_trace.inc".
> I am not sure I get you here, a .inc? could you explain a bit more?
Manually generate .inc for all EC host commands:
sed ... include/linux/mfd/cros_ec_commands.h | awk ...
#define EC_CMDS \
Override the whole file instead of replacing part of file to prevent