David Hendricks uploaded patch set #5 to this change.

View Change

[WIP] Add .clang-format to help with patch formatting

This is based on CB:38208 but with a few added items. It's just a
brain dump that has not been thoroughly tested. If it's useful and
gets polished up then it will be squashed into Vadim's version.

For now, this patch has the sources and headers modified as per the
current patchset's .clang-format to illustrate its effects. We might
choose not to modify the sources at the same time the config file is
merged.

See also CB:42556 which uses uncrustify instead of clang-format.

Change-Id: I1fe22809c4a2d73fa02f4de55290d990a9750b86
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Signed-off-by: David Hendricks <david.hendricks@gmail.com>
---
A .clang-format
M 82802ab.c
M amd_imc.c
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 chipdrivers.h
M chipset_enable.c
M cli_classic.c
M cli_common.c
M cli_output.c
M coreboot_tables.h
M custom_baud.c
M dediprog.c
M developerbox_spi.c
M digilent_spi.c
M dmi.c
M drkaiser.c
M dummyflasher.c
M edi.c
M edi.h
M en29lv640b.c
M ene.h
M flash.h
M flashchips.c
M flashchips.h
M flashrom.c
M fmap.c
M fmap.h
M ft2232_spi.c
M gfxnvidia.c
M helpers.c
M hwaccess.c
M hwaccess.h
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 jedec.c
M jlink_spi.c
M layout.c
M layout.h
M libflashrom.c
M libflashrom.h
M linux_mtd.c
M linux_spi.c
M lspcon_i2c_spi.c
M mcp6x_spi.c
M mstarddc_spi.c
M ni845x_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 os.h
M pcidev.c
M physmap.c
M pickit2_spi.c
M platform.h
M pony_spi.c
M print.c
M print_wiki.c
M processor_enable.c
M programmer.c
M programmer.h
M raiden_debug_spi.c
M rayer_spi.c
M realtek_mst_i2c_spi.c
M satamv.c
M satasii.c
M sb600spi.c
M serial.c
M serprog.c
M serprog.h
M sfdp.c
M spi.c
M spi.h
M spi25.c
M spi25_statusreg.c
M spi95.c
M sst28sf040.c
M sst49lfxxxc.c
M sst_fwhub.c
M stlinkv3_spi.c
M stm50.c
M udelay.c
M usb_device.c
M usb_device.h
M usbblaster_spi.c
M usbdev.c
M w29ee011.c
M w39.c
M wbsio_spi.c
107 files changed, 6,737 insertions(+), 7,547 deletions(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/73/38673/5

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

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I1fe22809c4a2d73fa02f4de55290d990a9750b86
Gerrit-Change-Number: 38673
Gerrit-PatchSet: 5
Gerrit-Owner: David Hendricks <david.hendricks@gmail.com>
Gerrit-Reviewer: David Hendricks <david.hendricks@gmail.com>
Gerrit-Reviewer: Vadim Bendebury <vbendeb@chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-MessageType: newpatchset