diff options
author | Francis Rowe <info@gluglug.org.uk> | 2016-01-02 22:10:32 +0000 |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2016-01-04 20:28:39 +0000 |
commit | d1f408f3725aa02bc1d76c4c6aadb4697bd073c0 (patch) | |
tree | 7eed036543ae1f8c57b56825880a722a8efbedf1 /resources/libreboot/patch/kgpe-d16/0143-device-smbus-Avoid-infinite-loop-if-i2c-device-has-w.patch | |
parent | 91aec7e72005dcda72d19f2d024a02d8c0f86590 (diff) | |
download | librebootfr-d1f408f3725aa02bc1d76c4c6aadb4697bd073c0.tar.gz librebootfr-d1f408f3725aa02bc1d76c4c6aadb4697bd073c0.zip |
Use different coreboot revisions and patches per board
The release archives will be bigger, but this is a necessary change
that makes libreboot development easier.
At present, there are boards maintained in libreboot by different
people. By doing it this way, that becomes much easier. This is in
contrast to the present situation, where a change to one board
potentially affects all other boards, especially when updating to
a new version of coreboot.
Coreboot-libre scripts, download scripts, build scripts - everything.
The entire build system has been modified to reflect this change
of development.
For reasons of consistency, cbfstool and nvramtool are no longer
included in the util archives.
Diffstat (limited to 'resources/libreboot/patch/kgpe-d16/0143-device-smbus-Avoid-infinite-loop-if-i2c-device-has-w.patch')
-rw-r--r-- | resources/libreboot/patch/kgpe-d16/0143-device-smbus-Avoid-infinite-loop-if-i2c-device-has-w.patch | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/resources/libreboot/patch/kgpe-d16/0143-device-smbus-Avoid-infinite-loop-if-i2c-device-has-w.patch b/resources/libreboot/patch/kgpe-d16/0143-device-smbus-Avoid-infinite-loop-if-i2c-device-has-w.patch deleted file mode 100644 index bf9c8291..00000000 --- a/resources/libreboot/patch/kgpe-d16/0143-device-smbus-Avoid-infinite-loop-if-i2c-device-has-w.patch +++ /dev/null @@ -1,39 +0,0 @@ -From 54ef1e4efe549e310b29258fe9c2efcc367ae942 Mon Sep 17 00:00:00 2001 -From: Timothy Pearson <tpearson@raptorengineeringinc.com> -Date: Thu, 22 Oct 2015 17:19:19 -0500 -Subject: [PATCH 143/143] device/smbus: Avoid infinite loop if i2c device has - wrong parent - -Change-Id: I4c615f3c5b3908178b8223cb6620c393bbfb4e7f -Signed-off-by: Timothy Pearson <tpearson@raptorengineeringinc.com> ---- - src/device/smbus_ops.c | 13 +++++++++++-- - 1 file changed, 11 insertions(+), 2 deletions(-) - -diff --git a/src/device/smbus_ops.c b/src/device/smbus_ops.c -index 184a06a..f4b1355 100644 ---- a/src/device/smbus_ops.c -+++ b/src/device/smbus_ops.c -@@ -29,8 +29,17 @@ struct bus *get_pbus_smbus(device_t dev) - { - struct bus *pbus = dev->bus; - -- while (pbus && pbus->dev && !ops_smbus_bus(pbus)) -- pbus = pbus->dev->bus; -+ while (pbus && pbus->dev && !ops_smbus_bus(pbus)) { -+ if (pbus->dev->bus != pbus) { -+ pbus = pbus->dev->bus; -+ } -+ else { -+ printk(BIOS_WARNING, -+ "%s Find SMBus bus operations: unable to proceed\n", -+ dev_path(dev)); -+ break; -+ } -+ } - - if (!pbus || !pbus->dev || !pbus->dev->ops - || !pbus->dev->ops->ops_smbus_bus) { --- -1.7.9.5 - |