mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-15 01:03:24 +09:00
9ed781a6ff
Instead of calling the northbridge and PCH init from bd82x6x_init_extra() when the PCI bus is probed, call it from the respective drivers. Also drop the Northbridge init as it has no effect. The registers it touches appear to be read-only. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
18 lines
468 B
C
18 lines
468 B
C
/*
|
|
* Copyright (C) 2014 Google, Inc
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef _ASM_ARCH_BD82X6X_H
|
|
#define _ASM_ARCH_BD82X6X_H
|
|
|
|
void bd82x6x_sata_init(pci_dev_t dev, const void *blob, int node);
|
|
void bd82x6x_sata_enable(pci_dev_t dev, const void *blob, int node);
|
|
void bd82x6x_usb_ehci_init(pci_dev_t dev);
|
|
void bd82x6x_usb_xhci_init(pci_dev_t dev);
|
|
int gma_func0_init(struct udevice *dev, const void *blob, int node);
|
|
int bd82x6x_init_extra(void);
|
|
|
|
#endif
|