From 06198c210bc40ecf60622dba8a5db543f97958c6 Mon Sep 17 00:00:00 2001 From: d0k3 Date: Tue, 16 May 2017 17:28:35 +0200 Subject: [PATCH] Fix unneeded table in nand.c --- source/nand/nand.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/nand/nand.c b/source/nand/nand.c index d803db2..60c6965 100644 --- a/source/nand/nand.c +++ b/source/nand/nand.c @@ -33,13 +33,13 @@ static const u8 nand_magic_o3ds[0x60] = { // NCSD NAND header O3DS magic 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; -static const u8 twl_mbr[0x42] = { // encrypted version inside the NCSD NAND header (@0x1BE) +/*static const u8 twl_mbr[0x42] = { // encrypted version inside the NCSD NAND header (@0x1BE) 0x00, 0x04, 0x18, 0x00, 0x06, 0x01, 0xA0, 0x3F, 0x97, 0x00, 0x00, 0x00, 0xA9, 0x7D, 0x04, 0x00, 0x00, 0x04, 0x8E, 0x40, 0x06, 0x01, 0xA0, 0xC3, 0x8D, 0x80, 0x04, 0x00, 0xB3, 0x05, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x55, 0xAA -}; +};*/ static u8 CtrNandCtr[16]; static u8 TwlNandCtr[16];