commit | 1ce8182b0f7254d0d01e309341c35bbc1b8c10e4 | [log] [tgz] |
---|---|---|
author | Bin Meng <bin.meng@windriver.com> | Mon Jun 22 22:29:42 2020 -0700 |
committer | Andes <uboot@andestech.com> | Fri Jul 24 14:55:43 2020 +0800 |
tree | fb52a4d8d12126fab3b340f562dfe5034eb2a8ae | |
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>