diff options
author | Simon Glass <sjg@chromium.org> | 2016-01-17 23:11:15 (GMT) |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2016-01-24 04:08:16 (GMT) |
commit | e40a6e3f104fc632a66553e29a7ea1d4500e6189 (patch) | |
tree | dcc8a9facf2247dd012f03e8bdf87b2346249bd3 /arch/x86/cpu/ivybridge | |
parent | 5544757ce97c72119359eb47aa57d28e46fdf405 (diff) | |
download | u-boot-e40a6e3f104fc632a66553e29a7ea1d4500e6189.tar.xz |
x86: ivybridge: Add a driver for the bd82x6x northbridge
Add a driver with an empty probe function where we can move init code in
follow-on patches.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/x86/cpu/ivybridge')
-rw-r--r-- | arch/x86/cpu/ivybridge/early_init.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/x86/cpu/ivybridge/early_init.c b/arch/x86/cpu/ivybridge/early_init.c index 9ca008e..945ae2d 100644 --- a/arch/x86/cpu/ivybridge/early_init.c +++ b/arch/x86/cpu/ivybridge/early_init.c @@ -8,6 +8,7 @@ */ #include <common.h> +#include <dm.h> #include <asm/io.h> #include <asm/pci.h> #include <asm/arch/pch.h> @@ -145,3 +146,20 @@ void sandybridge_early_init(int chipset_type) sandybridge_setup_graphics(pch_dev, video_dev); } + +static int bd82x6x_northbridge_probe(struct udevice *dev) +{ + return 0; +} + +static const struct udevice_id bd82x6x_northbridge_ids[] = { + { .compatible = "intel,bd82x6x-northbridge" }, + { } +}; + +U_BOOT_DRIVER(bd82x6x_northbridge_drv) = { + .name = "bd82x6x_northbridge", + .id = UCLASS_NORTHBRIDGE, + .of_match = bd82x6x_northbridge_ids, + .probe = bd82x6x_northbridge_probe, +}; |