external/ffspart: Allow # comments in input file
@@ -224,6 +224,10 @@ int main(int argc, char *argv[])
int side = -1;
uint32_t pbase, psize, pactual = 0;
+ /* Inline comments in input file */
+ if (line[0] == '#')
+ continue;
+
if (line[strlen(line) - 1] == '\n')
line[strlen(line) - 1] = '\0';
