2014-11-15 01:18:32 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2014 Google, Inc
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _ASM_ARCH_BD82X6X_H
|
|
|
|
#define _ASM_ARCH_BD82X6X_H
|
|
|
|
|
2014-11-15 01:18:38 +00:00
|
|
|
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);
|
2014-11-15 01:18:32 +00:00
|
|
|
void bd82x6x_pci_init(pci_dev_t dev);
|
2014-11-15 01:18:40 +00:00
|
|
|
void bd82x6x_usb_ehci_init(pci_dev_t dev);
|
2014-11-15 01:18:42 +00:00
|
|
|
void bd82x6x_usb_xhci_init(pci_dev_t dev);
|
2015-11-29 20:17:55 +00:00
|
|
|
int gma_func0_init(struct udevice *dev, const void *blob, int node);
|
2014-11-15 01:18:32 +00:00
|
|
|
int bd82x6x_init(void);
|
|
|
|
|
2015-06-17 03:15:38 +00:00
|
|
|
/**
|
|
|
|
* struct x86_cpu_priv - Information about a single CPU
|
|
|
|
*
|
|
|
|
* @apic_id: Advanced Programmable Interrupt Controller Identifier, which is
|
|
|
|
* just a number representing the CPU core
|
|
|
|
*
|
|
|
|
* TODO: Move this to driver model once lifecycle is understood
|
|
|
|
*/
|
|
|
|
struct x86_cpu_priv {
|
|
|
|
int apic_id;
|
|
|
|
int start_err;
|
|
|
|
};
|
|
|
|
|
2014-11-25 04:18:16 +00:00
|
|
|
int model_206ax_init(struct x86_cpu_priv *cpu);
|
|
|
|
|
2014-11-15 01:18:32 +00:00
|
|
|
#endif
|