flash/nor: remove useless setting of bus_width and chip_width
authorTomas Vanek <vanekt@fbl.cz>
Sun, 31 Jul 2022 06:01:23 +0000 (08:01 +0200)
committerTomas Vanek <vanekt@fbl.cz>
Mon, 8 Aug 2022 20:52:50 +0000 (20:52 +0000)
commitb76a7a82b20fcf265a7b211e6ef97b759a8cb714
treef2253b2e0bbe3ddbdc63fac2115fe7d803ac533e
parent2aaa991a503dc28b087d81b59531c66931ad74d8
flash/nor: remove useless setting of bus_width and chip_width

The flash/nor subsystem uses bus_width and chip_width for CFI
external flash only. Drop setting these values for internal flash.

Change-Id: I64e79ab38b6e39e845ff96fbf4f60145e3b9690a
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: https://review.openocd.org/c/openocd/+/7098
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
src/flash/nor/at91sam7.c
src/flash/nor/psoc6.c
src/flash/nor/tms470.c