| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
CI is failing to build:
src/options_arm.c:65:3: error: ignoring return value of 'fscanf',
declared with attribute warn_unused_result [-Werror=unused-result]
fscanf(cfam_id_file, "0x%" PRIx32, &cfam_id);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If we don't get the expected value in fscanf, display an error. The
code already will do the correct thing and fall through to the unknown
device case.
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
|
|
| |
Signed-off-by: Alistair Popple <alistair@popple.id.au>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If a user explicitly specifies a backend assume they know what they're doing and
use it. If no backend is specified pick some sane defaults based on the detected
platform.
Fixes the following bug when specifying a backend is incorrectly determined to
be invalid:
Target p8 not possible
kernel: No target is necessary
i2c: No target is necessary
fsi: p8 p9w p9r p9z
Signed-off-by: Alistair Popple <alistair@popple.id.au>
|
|
|
|
|
|
|
|
|
|
|
| |
It's not only devices that have the AMI i2c path that can use pdbg over
i2c.
I chose not to plumb in the access check, as this can be done
when attempting to open the device (otherwise we're duplicating that
check).
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
|
|
| |
Signed-off-by: Amitay Isaacs <amitay@ozlabs.org>
|
|
|
|
| |
Signed-off-by: Cyril Bur <cyrilbur@gmail.com>
|
|
Signed-off-by: Cyril Bur <cyrilbur@gmail.com>
Signed-off-by: Alistair Popple <alistair@popple.id.au>
|