flash/nor/nrf5: unify size of HWID
authorTomas Vanek <vanekt@fbl.cz>
Mon, 13 Apr 2020 18:19:41 +0000 (20:19 +0200)
committerTomas Vanek <vanekt@fbl.cz>
Wed, 28 Oct 2020 10:51:57 +0000 (10:51 +0000)
commitc1f4d9e6e8f9cdab122db36299e039a73151ffe4
tree445d8d670ef2ea1c3d73f669c79d2b3442055152
parenta5bf98f846eba410cdfc678b5b223052a68439c1
flash/nor/nrf5: unify size of HWID

HWID is a part of 32 bit CONFIGID register. hwid member of struct nrf5_info
was typed uint32_t to enable direct CONFIGID read and masked afterwards.

Change to uint16_t to unify with hwid in struct nrf5_device_spec
and RM description.

Change-Id: Ib720d3ce23c301aee41d074ea78a6f00a23aed68
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: http://openocd.zylin.com/5589
Tested-by: jenkins
src/flash/nor/nrf5.c