diff options
author | Bin Meng <bin.meng@windriver.com> | 2020-06-22 22:29:42 -0700 |
---|---|---|
committer | Andes <uboot@andestech.com> | 2020-07-24 14:55:43 +0800 |
commit | 1ce8182b0f7254d0d01e309341c35bbc1b8c10e4 (patch) | |
tree | fb52a4d8d12126fab3b340f562dfe5034eb2a8ae /arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.c | |
parent | 265d46ba137c59f83c9d2c86900960415292dbed (diff) |
sysreset: syscon: Don't assume default value for offset and mask property
Per the DT binding, <offset> is a required property. Let's abort
the probe if it is missing. For the <mask> property, current codes
assume a default value of zero, which is not correct either.
Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Pragnesh Patel <pragnesh.patel@sifive.com>
Diffstat (limited to 'arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.c')
0 files changed, 0 insertions, 0 deletions