summaryrefslogtreecommitdiffstats
path: root/sst28sf040.c
diff options
context:
space:
mode:
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2010-01-07 03:24:05 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2010-01-07 03:24:05 +0000
commita84835a7eadadb715a61d993da6766bdf1b37c5e (patch)
treeb6a0fe549c2e282938dc500c5e186f7724435af0 /sst28sf040.c
parente48654cf70f1c9c357b488f9506962c4485c46f5 (diff)
downloadast2050-flashrom-a84835a7eadadb715a61d993da6766bdf1b37c5e.zip
ast2050-flashrom-a84835a7eadadb715a61d993da6766bdf1b37c5e.tar.gz
Move the CLI related functions main() and cli_usage() to cli_classic.c
And rename them accordingly. For now, main() just calls cli_classic(), but alternative frontends can be switched in main(). Annotate remaining help texts with CLI dependency inside flashrom.c with a FIXME comment. Now people can go and create different frontends and be happy. Please note that any other frontend will have to sort of duplicate the probing code in cli_classic.c. Refactoring that part of the code is possible, but not easy because we still want to print instructive help messages for users. Corresponding to flashrom svn r833. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Sean Nelson <audiohacked@gmail.com>
Diffstat (limited to 'sst28sf040.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud