lib/coreboot_table: Rename lb_fill_pcie
By convention 'fill_lb_xxx' is used. Change-Id: I046016b3898308bb56b4ad6a5834ab942fdd50f2 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/69183 Reviewed-by: Hung-Te Lin <hungte@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
9948c521a6
commit
8c740b08a3
|
@ -22,7 +22,7 @@ void lb_add_gpios(struct lb_gpios *gpios, const struct lb_gpio *gpio_table,
|
|||
enum cb_err fill_lb_serial(struct lb_serial *serial);
|
||||
void lb_add_console(uint16_t consoletype, void *data);
|
||||
|
||||
enum cb_err lb_fill_pcie(struct lb_pcie *pcie);
|
||||
enum cb_err fill_lb_pcie(struct lb_pcie *pcie);
|
||||
|
||||
/* Define this in mainboard.c to add board-specific table entries. */
|
||||
void lb_board(struct lb_header *header);
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
void lb_string_platform_blob_version(struct lb_header *header);
|
||||
#endif
|
||||
|
||||
__weak enum cb_err lb_fill_pcie(struct lb_pcie *pcie)
|
||||
__weak enum cb_err fill_lb_pcie(struct lb_pcie *pcie)
|
||||
{
|
||||
return CB_ERR_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
@ -129,7 +129,7 @@ static void lb_pcie(struct lb_header *header)
|
|||
{
|
||||
struct lb_pcie pcie = { .tag = LB_TAG_PCIE, .size = sizeof(pcie) };
|
||||
|
||||
if (lb_fill_pcie(&pcie) != CB_SUCCESS)
|
||||
if (fill_lb_pcie(&pcie) != CB_SUCCESS)
|
||||
return;
|
||||
|
||||
memcpy(lb_new_record(header), &pcie, sizeof(pcie));
|
||||
|
|
|
@ -211,7 +211,7 @@ void mtk_pcie_domain_set_resources(struct device *dev)
|
|||
pci_domain_set_resources(dev);
|
||||
}
|
||||
|
||||
enum cb_err lb_fill_pcie(struct lb_pcie *pcie)
|
||||
enum cb_err fill_lb_pcie(struct lb_pcie *pcie)
|
||||
{
|
||||
if (!pci_root_bus())
|
||||
return CB_ERR;
|
||||
|
|
|
@ -414,7 +414,7 @@ static enum cb_err qcom_dw_pcie_enable(struct qcom_pcie_cntlr_t *pcie)
|
|||
* Fill coreboot table with PCIe info.
|
||||
* It allows exporting this info to payloads.
|
||||
*/
|
||||
enum cb_err lb_fill_pcie(struct lb_pcie *pcie)
|
||||
enum cb_err fill_lb_pcie(struct lb_pcie *pcie)
|
||||
{
|
||||
pcie_cntlr_cfg_t *pcierc = qcom_pcie_cfg.cntlr_cfg;
|
||||
pcie->ctrl_base = (uintptr_t)pcierc->dbi_base;
|
||||
|
|
Loading…
Reference in New Issue