Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Simon Glass | a5caa37 | 2015-03-26 09:29:28 -0600 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (c) 2015 Google, Inc |
| 4 | * Written by Simon Glass <sjg@chromium.org> |
Simon Glass | a5caa37 | 2015-03-26 09:29:28 -0600 | [diff] [blame] | 5 | */ |
| 6 | |
| 7 | #include <common.h> |
| 8 | #include <dm.h> |
Simon Glass | a5caa37 | 2015-03-26 09:29:28 -0600 | [diff] [blame] | 9 | |
Simon Glass | a5caa37 | 2015-03-26 09:29:28 -0600 | [diff] [blame] | 10 | UCLASS_DRIVER(lpc) = { |
| 11 | .id = UCLASS_LPC, |
| 12 | .name = "lpc", |
Simon Glass | d164213 | 2019-09-25 08:56:43 -0600 | [diff] [blame] | 13 | #if CONFIG_IS_ENABLED(OF_CONTROL) && !CONFIG_IS_ENABLED(OF_PLATDATA) |
Simon Glass | 1823034 | 2016-07-05 17:10:10 -0600 | [diff] [blame] | 14 | .post_bind = dm_scan_fdt_dev, |
Simon Glass | d164213 | 2019-09-25 08:56:43 -0600 | [diff] [blame] | 15 | #endif |
Simon Glass | a5caa37 | 2015-03-26 09:29:28 -0600 | [diff] [blame] | 16 | }; |