diff options
author | Alistair Popple <alistair@popple.id.au> | 2017-01-19 12:19:38 +1100 |
---|---|---|
committer | Alistair Popple <alistair@popple.id.au> | 2017-01-19 12:25:01 +1100 |
commit | 4b1c617f2a469e7033b3376a1b591f26c5010787 (patch) | |
tree | 4bf9e37b630d4be25f9016236f21dce76f5bcca7 /libpdbg | |
parent | 6554a4a6bf73c22766650977eec07f90502b7438 (diff) | |
download | pdbg-4b1c617f2a469e7033b3376a1b591f26c5010787.tar.gz pdbg-4b1c617f2a469e7033b3376a1b591f26c5010787.zip |
libpdbg/bmcfsi.c: Fix selection of p9r device type
Commit 4ecabf7 (libpdbg/bmcfsi.c: Add Zaius gpio pinout) introduced
support for the Zaius platform. Unfortunately a break statement was
missed which resulted in the Zaius pin mappings also being used for
the Romulus target.
Add the break statement so that the Romulus platform can be selected.
Signed-off-by: Alistair Popple <alistair@popple.id.au>
Diffstat (limited to 'libpdbg')
-rw-r--r-- | libpdbg/bmcfsi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libpdbg/bmcfsi.c b/libpdbg/bmcfsi.c index 61f719f..64dbd69 100644 --- a/libpdbg/bmcfsi.c +++ b/libpdbg/bmcfsi.c @@ -518,6 +518,7 @@ int fsi_target_init(struct target *target, const char *name, enum fsi_system_typ case FSI_SYSTEM_P9R: gpio_pins = p9r_gpio_pins; clock_delay = P9R_CLOCK_DELAY; + break; case FSI_SYSTEM_P9Z: gpio_pins = p9z_gpio_pins; clock_delay = P9Z_CLOCK_DELAY; |