1. 07 Jan, 2010 2 commits
    • Carl-Daniel Hailfinger's avatar
      Allow one to disable programmer debug messages at compile time · 5609fa75
      Carl-Daniel Hailfinger authored
      
      Programmer debug messages during programmer init/shutdown are useful
      because they print hardware settings and desired configuration.
      
      They help in getting a quick overview of hardware and software state on
      startup and shutdown.
      
      Programmer debug messages during flash chip access are mostly a
      distraction in logs and should only be enabled if someone is having
      problems which are suspected to stem from a programmer hardware or
      programmer software bug. Disable those messages by default, they can be
      reenabled by #define COMM_DEBUG in the affected programmer file.
      
      An added benefit is a tremendous size reduction in verbose
      probe/read/write/erase logs because only flash chip driver messages
      remain. In some cases, logs will shrink from 65 MB to 10 kB or less.
      
      The right(tm) fix would be two different debug levels (DEBUG and SPEW)
      and the ability to differentiate between programmer debug messages and
      flash chip debug messages. Until the design for the message printing
      infrastructure is finished, this is the best stop-gap measure we can
      get.
      
      Corresponding to flashrom svn r834.
      Signed-off-by: default avatarCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
      Acked-by: default avatarSean Nelson <audioahcked@gmail.com>
      5609fa75
    • Carl-Daniel Hailfinger's avatar
      Move the CLI related functions main() and cli_usage() to cli_classic.c · a84835a7
      Carl-Daniel Hailfinger authored
      
      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: default avatarCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
      Acked-by: default avatarSean Nelson <audiohacked@gmail.com>
      a84835a7
  2. 06 Jan, 2010 4 commits
  3. 04 Jan, 2010 1 commit
  4. 03 Jan, 2010 3 commits
  5. 24 Dec, 2009 4 commits
  6. 23 Dec, 2009 6 commits
  7. 22 Dec, 2009 5 commits
  8. 21 Dec, 2009 1 commit
  9. 18 Dec, 2009 1 commit
  10. 17 Dec, 2009 4 commits
  11. 14 Dec, 2009 6 commits
  12. 13 Dec, 2009 1 commit
    • Carl-Daniel Hailfinger's avatar
      Internal (onboard) programming was the only feature which could not be disabled · 66ef4e5f
      Carl-Daniel Hailfinger authored
      
      Make various pieces of code conditional on support for internal
      programming. Code shared between PCI device programmers and onboard
      programming is now conditional as well.
      
      It is now possible to build only with dummy support:
      make CONFIG_INTERNAL=no CONFIG_NIC3COM=no CONFIG_SATASII=no
      CONFIG_DRKAISER=no CONFIG_SERPROG=no CONFIG_FT2232SPI=no
      
      This allows building for a specific use case only, and it also
      facilitates porting to a new architecture because it is possible to
      focus on highlevel code only.
      
      Note: Either internal or dummy programmer needs to be compiled in due to
      the current behaviour of always picking a default programmer if -p is
      not specified. Picking an arbitrary external programmer as default  
      wouldn't make sense.
      
      Build and runtime tested in all 1024 possible build combinations. The
      only failures are by design as mentioned above.
      
      Corresponding to flashrom svn r797.
      Signed-off-by: default avatarCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
      Acked-by: default avatarSean Nelson <audiohacked@gmail.com>
      66ef4e5f
  13. 09 Dec, 2009 2 commits
    • Luc Verhaegen's avatar
      Boards: Tighten up ID match list · a7e30503
      Luc Verhaegen authored
      
      Tighten up board id match table in preparation of upcoming matching
      changes.
      
      Some boards are deliberately broken so that we will receive reports
      or can remove support later (for instance, for agami aruma, which,
      probably is no longer available in the wild).
      
      * Acorp 6A815EPD: make autodetectable.
      * Agami Aruma: remove bogus subsystem ids. Due to lacking secondary
        main id, this match will break soon.
      * GIGABYTE GA-2761GXDK: Add secondary main id. Subsystem ids are not
        possible as they are all copies of the main ids. Will still require
        -m.
      * GIGABYTE GA-M57SLI-S4: add full set of subsystem ids. Will keep
        match name for coreboot name matching.
      * GIGABYTE GA-M61P-S3: Add secondary main id. Remove name match.
        Probably has good subsystem ids, but no info was found. So
        deliberately broken match.
      * GIGABYTE GA-MA790FX-DQ6: pointless name match.
      * IBM x3455: add full ids, remove name match.
      * Kontron 986LCD-M: remove full id match as it is bogus. Kontron is
        an embedded vendor and does not bother with subsystem ids, so
        make this board name match only.
      * MSI MS-6590 (KT4 Ultra): remove name match.
      * MSI MS-7135 (K8N Neo3): add full id set, keep name match for
        coreboot.
      * VIA EPIA-N/NL: remove name match.
      * VIA PC3500G: remove name match.
      
      Corresponding to flashrom svn r796.
      Signed-off-by: default avatarLuc Verhaegen <libv@skynet.be>
      Acked-by: default avatarSean Nelson <audiohacked@gmail.com>
      a7e30503
    • David Bartley's avatar
      Boards: Add Asus M2V-MX · f58d364f
      David Bartley authored
      
      Expands via vt823x gpio support to also accept gpio5.
      
      Corresponding to flashrom svn r795.
      Signed-off-by: default avatarDavid Bartley <dtbartle@csclub.uwaterloo.ca>
      Acked-by: default avatarLuc Verhaegen <libv@skynet.be>
      f58d364f