From 85de662ae23f029371b340d7ba1e04dbcd10bcc7 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Sat, 20 Apr 2019 11:31:39 +0200 Subject: [statistics] Show RAM manufacturer; add JEDEC DB & parser --- tools/jedec.php | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 tools/jedec.php (limited to 'tools') diff --git a/tools/jedec.php b/tools/jedec.php new file mode 100644 index 00000000..a4df9667 --- /dev/null +++ b/tools/jedec.php @@ -0,0 +1,35 @@ + $last + 1) { + echo "Skipped from $last to $id (THIS SHOULD NEVER HAPPEN)\n"; + } + //echo "$id = $name ($bin) ($hex)\n"; + $last = $id; + $output['bank' . $index]['id' . $id] = $name; +} + +file_put_contents('jedec.json', json_encode($output)); + -- cgit v1.2.3-55-g7522