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 28c0dd322a
commit c2d2947d22
4 changed files with 407 additions and 114 deletions

View File

@@ -24,10 +24,25 @@
*/
#include <stdint.h>
#include <stddef.h>
#include "driver_vec.h"
#include "xhdi_sd.h"
static union driver_interface interfaces[] =
static struct interface interfaces[] =
{
{ .type = xhdi, . xhdi = {xhdi_call} }
{
/* BaS SD-card driver interface */
.type = XHDI_DRIVER,
.name = "SDCARD",
.description = "BaS SD Card driver",
.version = 1,
.revision = 0,
.interface.xhdi = { xhdi_call }
},
/* extend list here if drivers need to be added */
{
.type = END_OF_DRIVERS
}
};