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:
@@ -591,8 +591,7 @@ static int psoc6_probe(struct flash_bank *bank)
|
||||
|
||||
unsigned int num_sectors = bank_size / row_sz;
|
||||
bank->size = bank_size;
|
||||
bank->chip_width = 4;
|
||||
bank->bus_width = 4;
|
||||
|
||||
bank->erased_value = 0;
|
||||
bank->default_padded_value = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user