diff --git a/lmkconf/lmkconf b/lmkconf/lmkconf index 4b3214d..8a2d77b 100755 --- a/lmkconf/lmkconf +++ b/lmkconf/lmkconf @@ -16,6 +16,8 @@ infile, outfile = args.inputfile, args.outputfile with open(infile,"r") as inf, open(outfile,"w") as outf: outf.write("const struct {int reg; uint32_t val;} "+args.sname+"[] = {\n") + outf.write("{1, 0x800201C1}, //POWERDOWN\n") + outf.write("{1, 0x800001C1}, //POWERUP\n") for line in inf: tmp=line.split("\t") reg=tmp[0].partition(' ')[0][1:]