From 739c65c54cb0e957df5e9b76f93fb02554e5cac3 Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 4 May 2022 23:52:30 +0100 Subject: moved everything to new file formatting --- .../use-uint32_t-instead-u_int32_t.patch | 52 ++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 repo/media/alsa-firmware/use-uint32_t-instead-u_int32_t.patch (limited to 'repo/media/alsa-firmware/use-uint32_t-instead-u_int32_t.patch') diff --git a/repo/media/alsa-firmware/use-uint32_t-instead-u_int32_t.patch b/repo/media/alsa-firmware/use-uint32_t-instead-u_int32_t.patch new file mode 100644 index 0000000..70112fd --- /dev/null +++ b/repo/media/alsa-firmware/use-uint32_t-instead-u_int32_t.patch @@ -0,0 +1,52 @@ +diff -rNu a/hdsploader/digiface_firmware.dat b/hdsploader/digiface_firmware.dat +--- a/hdsploader/digiface_firmware.dat 2020-10-20 12:28:42.000000000 +0100 ++++ b/hdsploader/digiface_firmware.dat 2022-03-09 18:13:56.491133428 +0000 +@@ -1,5 +1,5 @@ + /* stored in little-endian */ +-static u_int32_t digiface_firmware[24413] = { ++static uint32_t digiface_firmware[24413] = { + 0xffffffff, 0x66aa9955, 0x8001000c, 0xe0000000, 0x8006800c, 0xb0000000, + 0x8004800c, 0xb4fc0100, 0x8003000c, 0x00000000, 0x8001000c, 0x90000000, + 0x8004000c, 0x00000000, 0x8001000c, 0x80000000, 0x0002000c, 0x581a000a, +diff -rNu a/hdsploader/digiface_firmware_rev11.dat b/hdsploader/digiface_firmware_rev11.dat +--- a/hdsploader/digiface_firmware_rev11.dat 2020-10-20 12:28:42.000000000 +0100 ++++ b/hdsploader/digiface_firmware_rev11.dat 2022-03-09 18:13:56.491133428 +0000 +@@ -1,5 +1,5 @@ + /* stored in little-endian */ +-static u_int32_t digiface_firmware_rev11[24413] = { ++static uint32_t digiface_firmware_rev11[24413] = { + 0xffffffff, 0x66aa9955, 0x8001000c, 0xe0000000, 0x8006800c, 0xb0000000, + 0x8004800c, 0xb4fc0100, 0x8003000c, 0x00000000, 0x8001000c, 0x90000000, + 0x8004000c, 0x00000000, 0x8001000c, 0x80000000, 0x0002000c, 0x581a000a, +diff -rNu a/hdsploader/multiface_firmware.dat b/hdsploader/multiface_firmware.dat +--- a/hdsploader/multiface_firmware.dat 2020-10-20 12:28:42.000000000 +0100 ++++ b/hdsploader/multiface_firmware.dat 2022-03-09 18:13:56.491133428 +0000 +@@ -1,5 +1,5 @@ + /* stored in little-endian */ +-static u_int32_t multiface_firmware[24413] = { ++static uint32_t multiface_firmware[24413] = { + 0xffffffff, 0x66aa9955, 0x8001000c, 0xe0000000, 0x8006800c, 0xb0000000, + 0x8004800c, 0xb4fc0100, 0x8003000c, 0x00000000, 0x8001000c, 0x90000000, + 0x8004000c, 0x00000000, 0x8001000c, 0x80000000, 0x0002000c, 0x581a000a, +diff -rNu a/hdsploader/multiface_firmware_rev11.dat b/hdsploader/multiface_firmware_rev11.dat +--- a/hdsploader/multiface_firmware_rev11.dat 2020-10-20 12:28:42.000000000 +0100 ++++ b/hdsploader/multiface_firmware_rev11.dat 2022-03-09 18:13:56.491133428 +0000 +@@ -1,5 +1,5 @@ + /* stored in little-endian */ +-static u_int32_t multiface_firmware_rev11[24413] = { ++static uint32_t multiface_firmware_rev11[24413] = { + 0xffffffff, 0x66aa9955, 0x8001000c, 0xe0000000, 0x8006800c, 0xb0000000, + 0x8004800c, 0xb4fc0100, 0x8003000c, 0x00000000, 0x8001000c, 0x90000000, + 0x8004000c, 0x00000000, 0x8001000c, 0x80000000, 0x0002000c, 0x581a000a, +diff -rNu a/hdsploader/tobin.c b/hdsploader/tobin.c +--- a/hdsploader/tobin.c 2020-10-20 12:28:42.000000000 +0100 ++++ b/hdsploader/tobin.c 2022-03-09 18:13:56.491133428 +0000 +@@ -8,7 +8,7 @@ + #include "multiface_firmware.dat" + #include "multiface_firmware_rev11.dat" + +-int write_bin_file(u_int32_t *array, const char *filename) ++int write_bin_file(uint32_t *array, const char *filename) + { + FILE *out; + -- cgit v1.2.1