mirror of
https://review.coreboot.org/flashrom.git
synced 2025-10-27 19:32:11 +01:00
nv_sma_spi: Add Nvidia SMA Programmer
Add initial support for System Management Agent (SMA) programmer. SMA is a SOC which is working as a side band management on Nvidia server board. One of its functionality is to flash firmware to other components. Test: 1. Build flashrom with this change. 2. Run operation: erase, write, read 3. All operations completed with expected performance. NV_SMA_SPI has been tested with the following SPI flash models: w25r128jw w25r64jv w25q16v Change-Id: I6b2522788db3dcee2b30faff29f605cede8c0eaf Co-Developed-by: Gilbert Chen <gilbertc@nvidia.com> Co-Developed-by: Willie Thai <wthai@nvidia.com> Signed-off-by: Willie Thai <wthai@nvidia.com> Signed-off-by: Gilbert Chen <gilbertc@nvidia.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/88816 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Peter Marheine <pmarheine@chromium.org> Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
This commit is contained in:
committed by
Anastasia Klimchuk
parent
c54d068418
commit
db43ab2989
@@ -469,6 +469,13 @@ programmer = {
|
||||
'test_srcs' : files('tests/nicrealtek.c'),
|
||||
'flags' : [ '-DCONFIG_NICREALTEK=1' ],
|
||||
},
|
||||
'nv_sma_spi' : {
|
||||
'deps' : [ libusb1 ],
|
||||
'groups' : [ group_usb, group_external ],
|
||||
'srcs' : files('nv_sma_spi.c', 'usb_device.c'),
|
||||
'test_srcs' : files('tests/nv_sma_spi.c'),
|
||||
'flags' : [ '-DCONFIG_NV_SMA_SPI=1' ],
|
||||
},
|
||||
'ogp_spi' : {
|
||||
'systems' : systems_hwaccess,
|
||||
'deps' : [ libpci ],
|
||||
|
||||
Reference in New Issue
Block a user