blob: 1302a6e34a144a9f3441ae92d7ecce9768b00666 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Simon Glassa274e9c2015-03-26 09:29:28 -06002/*
3 * Copyright (c) 2015 Google, Inc
4 * Written by Simon Glass <sjg@chromium.org>
Simon Glassa274e9c2015-03-26 09:29:28 -06005 */
6
7#include <common.h>
8#include <dm.h>
Simon Glassa274e9c2015-03-26 09:29:28 -06009
Simon Glassa274e9c2015-03-26 09:29:28 -060010UCLASS_DRIVER(lpc) = {
11 .id = UCLASS_LPC,
12 .name = "lpc",
Simon Glass12e927b2019-09-25 08:56:43 -060013#if CONFIG_IS_ENABLED(OF_CONTROL) && !CONFIG_IS_ENABLED(OF_PLATDATA)
Simon Glass91195482016-07-05 17:10:10 -060014 .post_bind = dm_scan_fdt_dev,
Simon Glass12e927b2019-09-25 08:56:43 -060015#endif
Simon Glassa274e9c2015-03-26 09:29:28 -060016};