David Hendricks uploaded patch set #5 to this change.

View Change

[RFC] tree: Prepare for reformatting

This makes minor changes in preparation for automated reformatting:
- Add INDENT-OFF and INDENT-ON markers for tables

- Regroup #includes for auto-sorting: platform.h comes first, followed
by global includes, followed by local includes.

- board_enable.c: Use `#if 0` to comment out code blocks so that
the multi-line commenting rules are not applied.

- dediprog.c: Remove unneeded comments that exceed column limit, and
use `#if 0` to comment out code blocks.

- flash.h: Move some trailing comments above their respective code
so that indenting can be applied without breaking them up. Usually
that wouldn't be a problem, but most of these comments are over the
the limit by only one or two words, so the dangling continued
comment looks ugly.

- flashchips.c: Modify some trailing comments so they don't get
broken awkwardly to conform to column limit. Also, reflow the
S25FL127S-64kB comment so it's less confusing to both humans and
reformatting tools.

- flashchips.h: Similar to flashchips.c w.r.t. trailing comments. Some
Macronix entries were especially problematic due to overused device
IDs for chips with different erase capabilities.

- ich_descriptors.c: Move open brace for freq_str string arrays to
set alignment leftward.

- ich_descriptors.h: Name all bitfields so spacing and alignment
rules are consistently applied.

- nicintel.c: Remove broken URL that doesn't format well.

- nicintel_spi.c: Remove a couple broken URLs, and use `#if 0` to
comment out some #defines

- realtek_mst_i2c_spi.c: Removed superfluous comment markers

- serial.c: Use BAUDENTRY macro for terminator.

- spi25_statusreg.c: Add parens around non-trivial case labels

Change-Id: I146a32e921d1c828a7d05ebb88373abe22e89053
Signed-off-by: David Hendricks <david.hendricks@gmail.com>
---
M at45db.c
M atahpt.c
M atapromise.c
M atavia.c
M bitbang_spi.c
M board_enable.c
M buspirate_spi.c
M cbtable.c
M ch341a_spi.c
M chipset_enable.c
M cli_classic.c
M cli_common.c
M cli_output.c
M dediprog.c
M developerbox_spi.c
M digilent_spi.c
M drkaiser.c
M dummyflasher.c
M edi.c
M flash.h
M flashchips.c
M flashchips.h
M flashrom.c
M fmap.c
M ft2232_spi.c
M gfxnvidia.c
M helpers.c
M hwaccess.c
M i2c_helper_linux.c
M ich_descriptors.c
M ich_descriptors.h
M ichspi.c
M internal.c
M it8212.c
M it85spi.c
M it87spi.c
M layout.c
M linux_spi.c
M mcp6x_spi.c
M mstarddc_spi.c
M nic3com.c
M nicintel.c
M nicintel_eeprom.c
M nicintel_spi.c
M nicnatsemi.c
M nicrealtek.c
M ogp_spi.c
M opaque.c
M pcidev.c
M physmap.c
M print.c
M print_wiki.c
M raiden_debug_spi.c
M rayer_spi.c
M realtek_mst_i2c_spi.c
M satamv.c
M sb600spi.c
M serial.c
M serprog.c
M sfdp.c
M spi.c
M spi25.c
M spi25_statusreg.c
M spi95.c
M udelay.c
M usb_device.c
M usbblaster_spi.c
M usbdev.c
M w29ee011.c
69 files changed, 326 insertions(+), 220 deletions(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/55/42555/5

To view, visit change 42555. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I146a32e921d1c828a7d05ebb88373abe22e89053
Gerrit-Change-Number: 42555
Gerrit-PatchSet: 5
Gerrit-Owner: David Hendricks <david.hendricks@gmail.com>
Gerrit-Reviewer: Angel Pons <th3fanbus@gmail.com>
Gerrit-Reviewer: David Hendricks <david.hendricks@gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter@users.sourceforge.net>
Gerrit-MessageType: newpatchset