modified generic driver interface to include the BaS XHDI driver.

added code ("stolen" from dBUG) to flash AMD chips
This commit is contained in:
Markus Fröschle
2013-10-24 08:42:44 +00:00
parent 96db0bfe54
commit d6b870bd83
4 changed files with 407 additions and 114 deletions

View File

@@ -317,6 +317,7 @@ static err_t flash(uint8_t *dst, uint8_t *src, uint32_t length)
err_t ret = OK;
/* TODO: do the actual flash */
amd_flash_program(dst, src, length, false, NULL, xputchar);
return ret;
}