X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/rsbs2/blobdiff_plain/68fc92b2ed0f55eb5451ccab6722ff8e9a4d0d70..9083693311cfae1ba2f233cb651daaab0e9b4b20:/firmware.c diff --git a/firmware.c b/firmware.c index 0595bd9..706a833 100644 --- a/firmware.c +++ b/firmware.c @@ -8,6 +8,7 @@ #include #include #include "rsb-crc.h" +#include "rsb-lz.h" #define FINDSTR(addr, str) (!strncmp((char*)addr, str, strlen(str))) @@ -236,13 +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); - /* Serial */ - BD_SET(pos, SERIAL2); - /* ATX standby */ - BD_SET(pos, STANDBY); } printf("0x%08x: BOARD_DESCRIPTION: ", pos-fw); print_boarddescription(pos); @@ -457,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) {