Add support for HiFive1 RevB board (#456)

Adds new PID (0x1051) used on board to libjaylink, and add config
and flash entry for RevB board and FE310-G002 respectively.
This commit is contained in:
Jonathan Tinkham
2020-03-19 10:31:05 -06:00
committed by GitHub
parent f6f30fb148
commit 548790fefc
5 changed files with 30 additions and 2 deletions
+2 -1
View File
@@ -136,7 +136,8 @@ struct fespi_target {
/* TODO !!! What is the right naming convention here? */
static const struct fespi_target target_devices[] = {
/* name, tap_idcode, ctrl_base */
{ "Freedom E300 SPI Flash", 0x10e31913 , 0x10014000 },
{ "Freedom E310-G000 SPI Flash", 0x10e31913 , 0x10014000 },
{ "Freedom E310-G002 SPI Flash", 0x20000913 , 0x10014000 },
{ NULL, 0, 0 }
};
@@ -37,5 +37,6 @@ ATTRS{idVendor}=="1366", ATTRS{idProduct}=="1015", MODE="664", GROUP="plugdev"
ATTRS{idVendor}=="1366", ATTRS{idProduct}=="1016", MODE="664", GROUP="plugdev"
ATTRS{idVendor}=="1366", ATTRS{idProduct}=="1017", MODE="664", GROUP="plugdev"
ATTRS{idVendor}=="1366", ATTRS{idProduct}=="1018", MODE="664", GROUP="plugdev"
ATTRS{idVendor}=="1366", ATTRS{idProduct}=="1051", MODE="664", GROUP="plugdev"
LABEL="libjaylink_end_rules"
@@ -59,7 +59,8 @@ static const uint16_t pids[][2] = {
{0x1015, 0},
{0x1016, 0},
{0x1017, 0},
{0x1018, 0}
{0x1018, 0},
{0x1051, 0},
};
/** Maximum length of the USB string descriptor for the serial number. */