Simon Glass | 4e7a6ac | 2014-11-14 18:18:32 -0700 | [diff] [blame] | 1 | /* |
| 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 Glass | 3ac8393 | 2014-11-14 18:18:38 -0700 | [diff] [blame] | 10 | void bd82x6x_sata_init(pci_dev_t dev, const void *blob, int node); |
| 11 | void bd82x6x_sata_enable(pci_dev_t dev, const void *blob, int node); |
Simon Glass | 4e7a6ac | 2014-11-14 18:18:32 -0700 | [diff] [blame] | 12 | void bd82x6x_pci_init(pci_dev_t dev); |
Simon Glass | 9baeca4 | 2014-11-14 18:18:40 -0700 | [diff] [blame] | 13 | void bd82x6x_usb_ehci_init(pci_dev_t dev); |
Simon Glass | a6d4c45 | 2014-11-14 18:18:42 -0700 | [diff] [blame] | 14 | void bd82x6x_usb_xhci_init(pci_dev_t dev); |
Simon Glass | effcf06 | 2014-11-14 20:56:36 -0700 | [diff] [blame] | 15 | int gma_func0_init(pci_dev_t dev, struct pci_controller *hose, |
| 16 | const void *blob, int node); |
Simon Glass | 4e7a6ac | 2014-11-14 18:18:32 -0700 | [diff] [blame] | 17 | int bd82x6x_init(void); |
| 18 | |
Bin Meng | 63d54a6 | 2015-06-17 11:15:38 +0800 | [diff] [blame] | 19 | /** |
| 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 | */ |
| 27 | struct x86_cpu_priv { |
| 28 | int apic_id; |
| 29 | int start_err; |
| 30 | }; |
| 31 | |
Simon Glass | bb80be3 | 2014-11-24 21:18:16 -0700 | [diff] [blame] | 32 | int model_206ax_init(struct x86_cpu_priv *cpu); |
| 33 | |
Simon Glass | 4e7a6ac | 2014-11-14 18:18:32 -0700 | [diff] [blame] | 34 | #endif |