2 * Copyright (c) 2015 Google, Inc
3 * Written by Simon Glass <sjg@chromium.org>
5 * SPDX-License-Identifier: GPL-2.0+
12 DECLARE_GLOBAL_DATA_PTR;
14 static int lpc_uclass_post_bind(struct udevice *bus)
17 * Scan the device tree for devices
19 * Before relocation, only bind devices marked for pre-relocation
22 return dm_scan_fdt_node(bus, gd->fdt_blob, bus->of_offset,
23 gd->flags & GD_FLG_RELOC ? false : true);
26 UCLASS_DRIVER(lpc) = {
29 .post_bind = lpc_uclass_post_bind,