1. 29 Jul, 2010 2 commits
  2. 27 Jul, 2010 1 commit
    • Carl-Daniel Hailfinger's avatar
      Split off programmer.h from flash.h · 5b997c3e
      Carl-Daniel Hailfinger authored
      
      Programmer specific functions are of absolutely no interest to any file
      except those dealing with programmer specific actions (special SPI
      commands and the generic core).
      
      The new header structure is as follows (and yes, improvements are
      possible):
      flashchips.h  flash chip IDs
      chipdrivers.h  chip-specific read/write/... functions
      flash.h  common header for all stuff that doesn't fit elsewhere
      hwaccess.h hardware access functions
      programmer.h  programmer specific functions
      coreboot_tables.h  header from coreboot, internal programmer only
      spi.h SPI command definitions
      
      Corresponding to flashrom svn r1112.
      Signed-off-by: default avatarCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
      Acked-by: default avatarUwe Hermann <uwe@hermann-uwe.de>
      5b997c3e
  3. 24 Jul, 2010 7 commits
  4. 21 Jul, 2010 1 commit
  5. 17 Jul, 2010 1 commit
  6. 08 Jul, 2010 1 commit
  7. 03 Jul, 2010 1 commit
  8. 12 Jun, 2010 2 commits
  9. 07 Jun, 2010 1 commit
  10. 04 Jun, 2010 1 commit
  11. 03 Jun, 2010 1 commit
  12. 01 Jun, 2010 2 commits
  13. 31 May, 2010 1 commit
  14. 30 May, 2010 1 commit
  15. 26 May, 2010 1 commit
    • Carl-Daniel Hailfinger's avatar
      Handle the following architectures in generic flashrom code · cceafa2a
      Carl-Daniel Hailfinger authored
      
      - x86/x86_64 (little endian)
      - PowerPC (big endian)
      - MIPS (big+little endian)
      
      No changes to programmer specific code. This means any drivers with MMIO
      access will _not_ suddenly start working on big endian systems, but with
      this patch everything is in place to fix them.
      
      Compilation should work on all architectures listed above for all
      drivers except nic3com and nicrealtek which require PCI Port IO which is
      x86-only for now.
      
      To compile without nic3com and nicrealtek, run
      make distclean
      make CONFIG_NIC3COM=no CONFIG_NICREALTEK=no
      
      Thanks to Misha Manulis for testing early versions of this patch on
      PowerPC (big endian) with the satasii programmer.
      Thanks to Segher Boessenkool for design review and for helping out with
      compiler tricks and pointing out that we need eieio on PowerPC.
      Thanks to Vladimir Serbinenko for compile testing on MIPS (little
      endian) and PowerPC (big endian) and for runtime testing on MIPS (little
      endian).
      Thanks to David Daney for compile testing on MIPS (big endian).
      Thanks to Uwe Hermann for compile and runtime testing on x86_64.
      
      DO NOT RUN flashrom ON NON-X86 AFTER APPLYING THIS PATCH!
      This patch only provides the infrastructure, but does not convert any
      drivers, so flashrom will compile, but it won't do the right thing on
      non-x86 platforms.
      
      Corresponding to flashrom svn r1013.
      Signed-off-by: default avatarCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
      Acked-by: default avatarMisha Manulis <misha@manulis.com>
      Acked-by: default avatarVladimir 'phcoder/φ-coder' Serbinenko <phcoder@gmail.com>
      Acked-by: default avatarUwe Hermann <uwe@hermann-uwe.de>
      Acked-by: default avatarSegher Boessenkool <segher@kernel.crashing.org>
      cceafa2a
  16. 24 May, 2010 1 commit
  17. 15 May, 2010 1 commit
  18. 25 Mar, 2010 2 commits
  19. 24 Mar, 2010 6 commits
  20. 14 Mar, 2010 1 commit
  21. 09 Mar, 2010 1 commit
  22. 23 Dec, 2009 1 commit
    • Luc Verhaegen's avatar
      Chipset/Board: vt8237: Set All mem cycles to LPC in chipset enable · 73d21194
      Luc Verhaegen authored
      
      Only done for VT8237R (possibly needed for VT8237 too), VT8235 does
      not need this (even if the original bios does so: Asus A7V8X-MX SE,
      MSI KT4V were verified).
      
      This then opens a floodgate of cleanups in the board enables.
      * EPIA SP board enable vanishes, taking EPIA CN match with it.
      * Asus A7V8X-MX/Tyan S2498 board enable then equals
        w836xx_memw_enable_2e
      * AOpen vKM400Am-S board enable then equals it8705_rom_write_enable
      * Epia M board enable becomes via_vt823x_gpio15_raise
      * Epia N board enable becomes via_vt823x_gpio9_raise
      * Asus M2V-MX board enable becomes via_vt823x_gpio5_raise
      * vt823x_gpio_set becomes via_vt823x_gpio_set, and now detects ISA
        bridge itself, in concordance with intel ich and nvidia mcp gpio.
      
      Corresponding to flashrom svn r815.
      Signed-off-by: default avatarLuc Verhaegen <libv@skynet.be>
      Acked-by: default avatarSean Nelson <audiohacked@gmail.com>
      Acked-by: default avatarCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
      73d21194
  23. 14 Dec, 2009 2 commits
  24. 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