forked from PAWPAW-Mirror/lib_xua
Add XS3 support in reboot
This commit is contained in:
@@ -74,7 +74,7 @@ void device_reboot(void)
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef __XS2A__
|
||||
#if defined(__XS2A__) || defined(__XS3A__)
|
||||
/* Reset all even tiles, starting from the remote ones */
|
||||
for(int tileNum = tileArrayLength-2; tileNum>=0; tileNum-=2)
|
||||
#else
|
||||
@@ -86,7 +86,7 @@ void device_reboot(void)
|
||||
tileId = get_tile_id(tile[tileNum]);
|
||||
|
||||
/* Do not reboot local tile (or tiles residing on the same node) yet */
|
||||
#ifdef __XS2A__
|
||||
#if defined(__XS2A__) || defined(__XS3A__)
|
||||
if((localTileNum | 1) != (tileNum | 1))
|
||||
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user