]> git.zerfleddert.de Git - rsbs2/blobdiff - firmware.c
pinout additions
[rsbs2] / firmware.c
index 84b4e9246e0996d83699f2ab54b13d85abd53353..706a8336ff09eb07273a29283dc6be4f77380246 100644 (file)
@@ -8,6 +8,7 @@
 #include <string.h>
 #include <strings.h>
 #include "rsb-crc.h"
+#include "rsb-lz.h"
 
 #define FINDSTR(addr, str) (!strncmp((char*)addr, str, strlen(str)))
 
@@ -236,11 +237,8 @@ void handle_boarddescription(unsigned char *fw, int len, int patch)
                        }
 
                        if (patch) {
-                               /* Enable ATX and relay power switching */
-                               BD_SET(pos, PWRATX);
+                               /* Enable relay power switching */
                                BD_SET(pos, PWRRELAY);
-                               /* ATX standby */
-                               BD_SET(pos, STANDBY);
                        }
                        printf("0x%08x: BOARD_DESCRIPTION: ", pos-fw);
                        print_boarddescription(pos);
@@ -455,6 +453,7 @@ int main(int argc, char **argv)
        if (showall) {
                show_properties(fw, statbuf.st_size - 4);
                handle_boarddescription(fw, statbuf.st_size -4, 0);
+               search_lz_sections(fw, statbuf.st_size - 4);
        }
 
        if (update_crc || patch_fw || patch_bd) {
Impressum, Datenschutz