1
/* Copyright 2013-2014 IBM Corp.
3
* Licensed under the Apache License, Version 2.0 (the "License");
4
* you may not use this file except in compliance with the License.
5
* You may obtain a copy of the License at
7
* http://www.apache.org/licenses/LICENSE-2.0
9
* Unless required by applicable law or agreed to in writing, software
10
* distributed under the License is distributed on an "AS IS" BASIS,
11
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
27
static bool apollo_probe(void)
29
return dt_node_is_compatible(dt_root, "ibm,apollo");
33
DECLARE_PLATFORM(apollo) = {
35
.probe = apollo_probe,
38
.cec_power_down = ibm_fsp_cec_power_down,
39
.cec_reboot = ibm_fsp_cec_reboot,
40
.pci_setup_phb = apollo_pci_setup_phb,
41
.pci_get_slot_info = apollo_pci_get_slot_info,
42
.nvram_info = fsp_nvram_info,
43
.nvram_start_read = fsp_nvram_start_read,
44
.nvram_write = fsp_nvram_write,
45
.elog_commit = elog_fsp_commit,
46
.start_preload_resource = fsp_start_preload_resource,
47
.resource_loaded = fsp_resource_loaded,
48
.sensor_read = ibm_fsp_sensor_read,
49
.terminate = ibm_fsp_terminate,