summaryrefslogtreecommitdiffstats
path: root/src/mainboard/asus/am1i-a
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@google.com>2021-02-11 14:40:01 +0100
committerPatrick Georgi <pgeorgi@google.com>2021-02-17 11:34:27 +0000
commit71555955e91e1aac6c4ef32ebb7ee817fc31e31f (patch)
tree82f13913e6ddddb39b79f25fa8d9ebd829cc9000 /src/mainboard/asus/am1i-a
parent2cba9e44b622be58caa577049bd544ddf17a26e1 (diff)
downloadcoreboot-71555955e91e1aac6c4ef32ebb7ee817fc31e31f.tar.gz
coreboot-71555955e91e1aac6c4ef32ebb7ee817fc31e31f.tar.bz2
coreboot-71555955e91e1aac6c4ef32ebb7ee817fc31e31f.zip
mb: guard irq_tables for clang-format
Some (notably older Intel) boards use a tabular description of irq routing that we want to keep pristine no matter what clang-format considers correct (as that's ugly). Change-Id: I259255a9f60208c659b658ecb81535e84a2aaa8c Signed-off-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/50545 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Diffstat (limited to 'src/mainboard/asus/am1i-a')
-rw-r--r--src/mainboard/asus/am1i-a/irq_tables.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/asus/am1i-a/irq_tables.c b/src/mainboard/asus/am1i-a/irq_tables.c
index ba58af639aab..3e0606e6fb1d 100644
--- a/src/mainboard/asus/am1i-a/irq_tables.c
+++ b/src/mainboard/asus/am1i-a/irq_tables.c
@@ -17,6 +17,7 @@ const struct irq_routing_table intel_irq_routing_table = {
* would give 0 after the sum of all bytes
* for this structure (including checksum).
*/
+ /* clang-format off */
{
/* bus, dev | fn, {link, bitmap}, {link, bitmap}, {link, bitmap}, {link, bitmap}, slot, rfu */
{0x00, (0x01 << 3) | 0x0, {{0x01, 0x9cb8}, {0x02, 0x9cb8}, {0x00, 0x0000}, {0x00, 0x0000}}, 0x0, 0x0},
@@ -30,6 +31,7 @@ const struct irq_routing_table intel_irq_routing_table = {
{0x01, (0x00 << 3) | 0x0, {{0x01, 0x9cb8}, {0x02, 0x9cb8}, {0x03, 0x9cb8}, {0x04, 0x9cb8}}, 0x0, 0x0},
{0x02, (0x00 << 3) | 0x0, {{0x02, 0x9cb8}, {0x00, 0x0000}, {0x00, 0x0000}, {0x00, 0x0000}}, 0x0, 0x0},
}
+ /* clang-format on */
};
unsigned long write_pirq_routing_table(unsigned long addr)