Nitheesh Sekar | 20e7587 | 2018-09-14 11:24:10 +0530 | [diff] [blame^] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * Copyright (C) 2018, The Linux Foundation. All rights reserved. |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License version 2 and |
| 8 | * only version 2 as published by the Free Software Foundation. |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
| 14 | */ |
| 15 | |
| 16 | #include <device/device.h> |
| 17 | #include <timestamp.h> |
| 18 | |
| 19 | static void soc_read_resources(struct device *dev) |
| 20 | { |
| 21 | |
| 22 | } |
| 23 | |
| 24 | static void soc_init(struct device *dev) |
| 25 | { |
| 26 | |
| 27 | } |
| 28 | |
| 29 | static struct device_operations soc_ops = { |
| 30 | .read_resources = soc_read_resources, |
| 31 | .init = soc_init, |
| 32 | }; |
| 33 | |
| 34 | static void enable_soc_dev(struct device *dev) |
| 35 | { |
| 36 | dev->ops = &soc_ops; |
| 37 | } |
| 38 | |
| 39 | struct chip_operations soc_qualcomm_qcs405_ops = { |
| 40 | CHIP_NAME("SOC Qualcomm QCS405") |
| 41 | .enable_dev = enable_soc_dev, |
| 42 | }; |