blob: 7786493be741485ec758ac7f02c8cda4e1e30fb8 [file] [log] [blame]
Simon Glass4e7a6ac2014-11-14 18:18:32 -07001/*
2 * Copyright (C) 2014 Google, Inc
3 *
4 * SPDX-License-Identifier: GPL-2.0+
5 */
6
7#ifndef _ASM_ARCH_BD82X6X_H
8#define _ASM_ARCH_BD82X6X_H
9
Simon Glass3ac83932014-11-14 18:18:38 -070010void bd82x6x_sata_init(pci_dev_t dev, const void *blob, int node);
11void bd82x6x_sata_enable(pci_dev_t dev, const void *blob, int node);
Simon Glass4e7a6ac2014-11-14 18:18:32 -070012void bd82x6x_pci_init(pci_dev_t dev);
Simon Glass9baeca42014-11-14 18:18:40 -070013void bd82x6x_usb_ehci_init(pci_dev_t dev);
Simon Glassa6d4c452014-11-14 18:18:42 -070014void bd82x6x_usb_xhci_init(pci_dev_t dev);
Simon Glasseffcf062014-11-14 20:56:36 -070015int gma_func0_init(pci_dev_t dev, struct pci_controller *hose,
16 const void *blob, int node);
Simon Glass4e7a6ac2014-11-14 18:18:32 -070017int bd82x6x_init(void);
18
Bin Meng63d54a62015-06-17 11:15:38 +080019/**
20 * struct x86_cpu_priv - Information about a single CPU
21 *
22 * @apic_id: Advanced Programmable Interrupt Controller Identifier, which is
23 * just a number representing the CPU core
24 *
25 * TODO: Move this to driver model once lifecycle is understood
26 */
27struct x86_cpu_priv {
28 int apic_id;
29 int start_err;
30};
31
Simon Glassbb80be32014-11-24 21:18:16 -070032int model_206ax_init(struct x86_cpu_priv *cpu);
33
Simon Glass4e7a6ac2014-11-14 18:18:32 -070034#endif