diff options
author | Tom Rini <trini@konsulko.com> | 2021-03-09 07:21:51 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-03-09 07:21:51 -0500 |
commit | b764bf21e60901133fd5eec6a003409c581dd519 (patch) | |
tree | 4f3eaab82d8ecfd0627e68cd316cf01bac0b9791 /arch/x86/cpu/intel_common/lpc.c | |
parent | 472c5484bca41a477f8b86a263e559f6e992c7f8 (diff) | |
parent | 736ecc643de4b329e2edcb3207edd58bf7ed0d9d (diff) |
Merge https://source.denx.de/u-boot/custodians/u-boot-x86
- Various minor fixes for x86
Diffstat (limited to 'arch/x86/cpu/intel_common/lpc.c')
-rw-r--r-- | arch/x86/cpu/intel_common/lpc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/cpu/intel_common/lpc.c b/arch/x86/cpu/intel_common/lpc.c index 23befbef15f..f31fddb6fa8 100644 --- a/arch/x86/cpu/intel_common/lpc.c +++ b/arch/x86/cpu/intel_common/lpc.c @@ -53,7 +53,7 @@ int lpc_common_early_init(struct udevice *dev) count = fdtdec_get_int_array_count(gd->fdt_blob, dev_of_offset(dev), "intel,gen-dec", (u32 *)values, - sizeof(values) / sizeof(u32)); + sizeof(values) / (sizeof(u32))); if (count < 0) return -EINVAL; |