mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-02 19:03:20 +09:00
![Simon Glass](/assets/img/avatar_default.png)
Move chromebook_link over to driver model for PCI. This involves: - adding a uclass for platform controller hub - removing most of the existing PCI driver - adjusting how CPU init works to use driver model instead - rename the lpc compatible string (it will be removed later) This does not really take advantage of driver model fully, but it does work. Furture work will improve the code structure to remove many of the explicit calls to init the board. Signed-off-by: Simon Glass <sjg@chromium.org>
23 lines
598 B
C
23 lines
598 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_pci_init(pci_dev_t dev);
|
|
void bd82x6x_usb_ehci_init(pci_dev_t dev);
|
|
void bd82x6x_usb_xhci_init(pci_dev_t dev);
|
|
int gma_func0_init(pci_dev_t dev, struct pci_controller *hose,
|
|
const void *blob, int node);
|
|
int bd82x6x_init(void);
|
|
|
|
struct x86_cpu_priv;
|
|
int model_206ax_init(struct x86_cpu_priv *cpu);
|
|
|
|
#endif
|