From nobody Tue Feb 10 04:13:18 2026 Delivered-To: importer@patchew.org Received-SPF: temperror (zoho.com: Error in retrieving data from DNS) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=temperror (zoho.com: Error in retrieving data from DNS) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1527984647302857.3114442361031; Sat, 2 Jun 2018 17:10:47 -0700 (PDT) Received: from localhost ([::1]:33121 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fPGbe-00053I-7s for importer@patchew.org; Sat, 02 Jun 2018 20:10:46 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59424) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fPGZc-0003oQ-I9 for qemu-devel@nongnu.org; Sat, 02 Jun 2018 20:08:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fPGZb-0002rp-Jp for qemu-devel@nongnu.org; Sat, 02 Jun 2018 20:08:40 -0400 Received: from mail-qk0-x244.google.com ([2607:f8b0:400d:c09::244]:44777) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fPGZb-0002rf-FM; Sat, 02 Jun 2018 20:08:39 -0400 Received: by mail-qk0-x244.google.com with SMTP id 185-v6so22648499qkk.11; Sat, 02 Jun 2018 17:08:39 -0700 (PDT) Received: from x1.local ([138.117.48.222]) by smtp.gmail.com with ESMTPSA id 17-v6sm10610894qkg.97.2018.06.02.17.08.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 02 Jun 2018 17:08:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Ce44WCVkMMagK/1JB1LR6V+RdskOBCGMcjXomGJKki0=; b=f29HmJzfINibmDQY/+zenBE15BMPpgWsCfrFqmPe52kueUpeMJsH3JlybI8tHHzB7W eHCvAK0VSl77LZIhCwJP8r2WXwTvhL3YcPGi67AwYoqpeJi+/LQA9ShhBlQSNAi05zAs dYL0k3BQ6+fxY1PUS9YfaRvF2jarJDHbVEQEbowGXUIpHb0MYjrHYZmj4MWv/CkZximO /xiS4/zxikAHTReq7T07CV9CJ0X9+Ws8Nbh3H+lW0S9U4gbInGRFNBE1BbOuImQGBw2Q G7mRrSRyXUG4A3N51ysLmJSO6UlRNWFRKRa9HOGe4Pq5d4WqnE4a01Q+MT7Q3BWrzRyY fAVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=Ce44WCVkMMagK/1JB1LR6V+RdskOBCGMcjXomGJKki0=; b=jlNbWNlzwjV/a4yhS4fFJaMiTYv0hwSkZAwfccR75RDM6A7YEDBRPsAKVraCkyQ0R4 B1M/UITQxM5h2xtrpUNSOFciHhvb8/X5lHKHqkoEq/vWwUxyw9KX/ib7ivmgfGqJKXt1 bH+EwLyPq2BHBlzxsIN0phFXL5TFoTmEfRLFwxIEHbpzy/bcn//OpPiZbZOxCXRX+suT 5w0jB+oBllT2qgy1ZoswGROKkpPeSVmhTB7qG8XgrQyycZZln6NccCbi8SnXtg/omPPq nvEd6ofkaAFWrZt/IwvoQSPz50H7QTVy6GuAkjm1wnTHhxCxyZYDj5We2CQoIHBWHeRB 1vcg== X-Gm-Message-State: APt69E21f0W4dttsr/W8tli9KxfWdrr1nIdkM6XGGw9jTol4hLQdORPK UU/ErxZyQVXvYyyw89+Okvg= X-Google-Smtp-Source: ADUXVKJ+jvrF2Rg4tf9Y3P068yZUmLAXT5ffln8YdCJi4MbliLrS2JHkTPclx0VxRcjNFfPYYqXnVg== X-Received: by 2002:a37:10a4:: with SMTP id 36-v6mr14884188qkq.349.1527984519062; Sat, 02 Jun 2018 17:08:39 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: Alistair Francis , Peter Maydell Date: Sat, 2 Jun 2018 21:08:20 -0300 Message-Id: <20180603000827.30872-2-f4bug@amsat.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180603000827.30872-1-f4bug@amsat.org> References: <20180603000827.30872-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c09::244 Subject: [Qemu-devel] [PATCH 1/8] sdcard: Update the Configuration Register (SCR) to Spec Version 1.10 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paolo Bonzini , qemu-arm@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_6 Z_629925259 SPT_0 This register now matches the description of the header: * SD Memory Card emulation as defined in the "SD Memory Card Physical * layer specification, Version 1.10." Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- hw/sd/sd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/sd/sd.c b/hw/sd/sd.c index 7af19fa06c..e1218d1fb6 100644 --- a/hw/sd/sd.c +++ b/hw/sd/sd.c @@ -310,8 +310,8 @@ static void sd_ocr_powerup(void *opaque) =20 static void sd_set_scr(SDState *sd) { - sd->scr[0] =3D (0 << 4) /* SCR version 1.0 */ - | 0; /* Spec Versions 1.0 and 1.01 */ + sd->scr[0] =3D (0 << 4) /* SCR structure version 1.0 */ + | 1; /* Spec Version 1.10 */ sd->scr[1] =3D (2 << 4) /* SDSC Card (Security Version 1.01) */ | 0b0101; /* 1-bit or 4-bit width bus modes */ sd->scr[2] =3D 0x00; /* Extended Security is not supported. */ --=20 2.17.1