Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Simon Glass | a274e9c | 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 | a274e9c | 2015-03-26 09:29:28 -0600 | [diff] [blame] | 5 | */ |
6 | |||||
7 | #include <common.h> | ||||
8 | #include <dm.h> | ||||
Simon Glass | a274e9c | 2015-03-26 09:29:28 -0600 | [diff] [blame] | 9 | |
Simon Glass | a274e9c | 2015-03-26 09:29:28 -0600 | [diff] [blame] | 10 | UCLASS_DRIVER(lpc) = { |
11 | .id = UCLASS_LPC, | ||||
12 | .name = "lpc", | ||||
Simon Glass | 414cc15 | 2021-08-07 07:24:03 -0600 | [diff] [blame] | 13 | #if CONFIG_IS_ENABLED(OF_REAL) |
Simon Glass | 9119548 | 2016-07-05 17:10:10 -0600 | [diff] [blame] | 14 | .post_bind = dm_scan_fdt_dev, |
Simon Glass | 12e927b | 2019-09-25 08:56:43 -0600 | [diff] [blame] | 15 | #endif |
Simon Glass | a274e9c | 2015-03-26 09:29:28 -0600 | [diff] [blame] | 16 | }; |