Skip to content

Commit

Permalink
core/pci-quirk: Clean up commented code in quirk_astbmc_vga()
Browse files Browse the repository at this point in the history
Also remove the comment associated with the commented code.

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
  • Loading branch information
amboar authored and stewartsmith committed Jul 17, 2018
1 parent 467b00f commit 7a5af6d
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions core/pci-quirk.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,6 @@ static void quirk_astbmc_vga(struct phb *phb __unused,
dt_add_property_cells(np, "aspeed,mcr-configuration", mcr_configuration);
dt_add_property_cells(np, "aspeed,mcr-scu-mpll", mcr_scu_mpll);
dt_add_property_cells(np, "aspeed,mcr-scu-strap", mcr_scu_strap);

/*
* if
* - the petitboot kernel supports an ast driver that uses DT
* - every host kernel supports an ast driver that uses DT
* - the host can't flash unsigned skiboots
*
* then enabling the line below will allow the host and the BMC to be
* securely isolated from each other, without changing what's running
* on the BMC.
*/

/* ast_ahb_writel(0x79, 0x1E6E2180); */
}

/* Quirks are: {fixup function, vendor ID, (device ID or PCI_ANY_ID)} */
Expand Down

0 comments on commit 7a5af6d

Please sign in to comment.