flash/nor: update CC26xx/CC13xx support
Added fixes found in additional code reviews. Remove inappropriate use of bank_number field and updated documentation to reflect the change. Restored functionality to cc2538.cfg file because previous change removed the cc26xx.cfg file because the flash support changes made it obsolete. Rolled the previous cc26xx.cfg file into cc2538.cfg and updated it to work with other recent changes. Tested using a SmartRF06 Evaluation board with embedded XDS100v3 and external XDs110. Change-Id: Ia19d00cf8055c5c0f1acc53aa23fd06a80fd2ebc Signed-off-by: Edward Fewell <efewell@ti.com> Reviewed-on: http://openocd.zylin.com/4787 Tested-by: jenkins Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
This commit is contained in:
committed by
Spencer Oliver
parent
a50964246d
commit
f56e28b2c8
@@ -491,11 +491,6 @@ static int cc26xx_auto_probe(struct flash_bank *bank)
|
||||
|
||||
int retval = ERROR_OK;
|
||||
|
||||
if (bank->bank_number != 0) {
|
||||
/* Invalid bank number somehow */
|
||||
return ERROR_FAIL;
|
||||
}
|
||||
|
||||
if (!cc26xx_bank->probed)
|
||||
retval = cc26xx_probe(bank);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user