diff options
Diffstat (limited to 'roms/u-boot/arch/x86/lib/lpc-uclass.c')
-rw-r--r-- | roms/u-boot/arch/x86/lib/lpc-uclass.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/roms/u-boot/arch/x86/lib/lpc-uclass.c b/roms/u-boot/arch/x86/lib/lpc-uclass.c new file mode 100644 index 000000000..1302a6e34 --- /dev/null +++ b/roms/u-boot/arch/x86/lib/lpc-uclass.c @@ -0,0 +1,16 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (c) 2015 Google, Inc + * Written by Simon Glass <sjg@chromium.org> + */ + +#include <common.h> +#include <dm.h> + +UCLASS_DRIVER(lpc) = { + .id = UCLASS_LPC, + .name = "lpc", +#if CONFIG_IS_ENABLED(OF_CONTROL) && !CONFIG_IS_ENABLED(OF_PLATDATA) + .post_bind = dm_scan_fdt_dev, +#endif +}; |