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>
This commit is contained in:
@@ -248,9 +248,6 @@ static int tms470_read_part_info(struct flash_bank *bank)
|
||||
target_write_u32(target, 0xFFFFFFE4, 0x00000000);
|
||||
target_write_u32(target, 0xFFFFFFE0, 0x00000000);
|
||||
|
||||
bank->chip_width = 32;
|
||||
bank->bus_width = 32;
|
||||
|
||||
LOG_INFO("Identified %s, ver=%d, core=%s, nvmem=%s.",
|
||||
part_name,
|
||||
(int)(silicon_version),
|
||||
|
||||
Reference in New Issue
Block a user