UPSTREAM: soc/intel/quark: Fix reg_script display
Remove extra : following reigster type.
TEST=Build and run on Galileo Gen2
Change-Id: I57dd40a540d7b5371a6c45174f47a311b83a2aab
Original-Signed-off-by: Lee Leahy <leroy.p.leahy@intel.com>
Original-Reviewed-on: https://review.coreboot.org/14948
Original-Reviewed-by: Martin Roth <martinroth@google.com>
(cherry-picked from commit 6b24dfce74)
Signed-off-by: Martin Roth <martinroth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/348416
Reviewed-by: Furquan Shaikh <furquan@chromium.org>
This commit is contained in:
parent
baf25a0e50
commit
b7622710aa
1 changed files with 9 additions and 9 deletions
|
|
@ -216,21 +216,21 @@ static uint64_t reg_read(struct reg_script_context *ctx)
|
|||
return 0;
|
||||
|
||||
case GPE0_REGS:
|
||||
ctx->display_prefix = "GPE0: ";
|
||||
ctx->display_prefix = "GPE0";
|
||||
value = reg_gpe0_read(step->reg);
|
||||
break;
|
||||
|
||||
case GPIO_REGS:
|
||||
ctx->display_prefix = "GPIO: ";
|
||||
ctx->display_prefix = "GPIO";
|
||||
value = reg_gpio_read(step->reg);
|
||||
break;
|
||||
|
||||
case LEG_GPIO_REGS:
|
||||
ctx->display_prefix = "Legacy GPIO: ";
|
||||
ctx->display_prefix = "Legacy GPIO";
|
||||
value = reg_legacy_gpio_read(step->reg);
|
||||
|
||||
case PCIE_AFE_REGS:
|
||||
ctx->display_prefix = "PCIe AFE: ";
|
||||
ctx->display_prefix = "PCIe AFE";
|
||||
value = reg_pcie_afe_read(step->reg);
|
||||
break;
|
||||
|
||||
|
|
@ -265,28 +265,28 @@ static void reg_write(struct reg_script_context *ctx)
|
|||
return;
|
||||
|
||||
case GPE0_REGS:
|
||||
ctx->display_prefix = "GPE0: ";
|
||||
ctx->display_prefix = "GPE0";
|
||||
reg_gpe0_write(step->reg, (uint32_t)step->value);
|
||||
break;
|
||||
|
||||
case GPIO_REGS:
|
||||
ctx->display_prefix = "GPIO: ";
|
||||
ctx->display_prefix = "GPIO";
|
||||
reg_gpio_write(step->reg, (uint32_t)step->value);
|
||||
break;
|
||||
|
||||
case LEG_GPIO_REGS:
|
||||
ctx->display_prefix = "Legacy GPIO: ";
|
||||
ctx->display_prefix = "Legacy GPIO";
|
||||
reg_legacy_gpio_write(step->reg, (uint32_t)step->value);
|
||||
break;
|
||||
|
||||
case PCIE_AFE_REGS:
|
||||
ctx->display_prefix = "PCIe AFE: ";
|
||||
ctx->display_prefix = "PCIe AFE";
|
||||
reg_pcie_afe_write(step->reg, (uint32_t)step->value);
|
||||
break;
|
||||
|
||||
case PCIE_RESET:
|
||||
if (ctx->display_features) {
|
||||
ctx->display_prefix = "PCIe reset: ";
|
||||
ctx->display_prefix = "PCIe reset";
|
||||
ctx->display_features &= ~REG_SCRIPT_DISPLAY_REGISTER;
|
||||
}
|
||||
mainboard_gpio_pcie_reset(step->value);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue