From patchwork Fri Jan 12 03:10:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oliver O'Halloran X-Patchwork-Id: 859480 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zHnnF2CXbz9s72 for ; Fri, 12 Jan 2018 14:10:41 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="jfQc3QAh"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 3zHnnD74GCzF0XT for ; Fri, 12 Jan 2018 14:10:40 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="jfQc3QAh"; dkim-atps=neutral X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:400e:c00::242; helo=mail-pf0-x242.google.com; envelope-from=oohall@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="jfQc3QAh"; dkim-atps=neutral Received: from mail-pf0-x242.google.com (mail-pf0-x242.google.com [IPv6:2607:f8b0:400e:c00::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3zHnn40vjPzF0X4 for ; Fri, 12 Jan 2018 14:10:31 +1100 (AEDT) Received: by mail-pf0-x242.google.com with SMTP id i66so3379622pfd.7 for ; Thu, 11 Jan 2018 19:10:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=xtF/dXiAB85EC2azLEjtXYRPHCWYADZWnImRghcc0Ao=; b=jfQc3QAhrxT6XlbGcfu4NmRv+nWcUaUjBS/ehPZkrQumalokx7tKschso8yv3hhJ4O 4aZ2wj+ohIlRyVq2yHi5ctPGrBWunxr81W0SOCuEM9VghHZ+FsCEGBsFYMgJRvv60Rr3 Y9PBoFr1wIcgU7nOon7mHOs1PEhDxaMnEcju/UmSC3yBUyoam3Ic+hhAN8diGYN9Wton gmMNXxn7sMtxQhkd6Vh5+3OP+tzZ8AeWOME9WZJ6vr/z5KcANa17ARZo5ju+4G8ZL8DL Yd7qfjuc00DNU4T8kO8MjP0IZBkUy2EXQ0Df+KZjXaTQ5We/OCyu7tgBclcjXFhhUXI2 Rl0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=xtF/dXiAB85EC2azLEjtXYRPHCWYADZWnImRghcc0Ao=; b=eQ4Vs2E+ueH91ojf7vf1ceFBZHLppLWzLJR3x+Ehk+SEHamQupEb8moHq+bZiSbqKd md30MsOZ1cspru+qAgEllCOC9g0dEik2I1OwE+wjb3OEO5BOsHP1aIEXjavEdHmHtlNP Sv7+EnzEXfuMuJrz9gDXtOVunabfilBmAwW/w1Pl8zNuED5qRaua0PrPRHCjprhF+1yj 1Ds9kwESbIj+ddu/mrsywR137QvRiarfxPD6zrwmLuxoUmo0bfBoxhppYbtnrpD8j4V5 zmvqWEBJ4iLsmArjF2tVrZBTad9BafVY3crcViW3UhO1j6LK2Uoi4X2S+W7DRZDDR0hX X1/A== X-Gm-Message-State: AKGB3mKzdSOMg/Ere2JQT+H27pQJjfNdBSS8mXP22HNTIAMOmBjBRW/F D36BQ9cF5j6uMnwOzFGK4IJtMw== X-Google-Smtp-Source: ACJfBouI79v2RnYaxhDL7LstQsUaNMqQW4+PI4brrdh2fr4IEW6mYTINHZX5apLlK5PG2/d2aLasuA== X-Received: by 10.84.132.104 with SMTP id 95mr24218339ple.65.1515726629459; Thu, 11 Jan 2018 19:10:29 -0800 (PST) Received: from flat-canetoad.ozlabs.ibm.com ([122.99.82.10]) by smtp.gmail.com with ESMTPSA id c29sm10622802pfd.172.2018.01.11.19.10.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Jan 2018 19:10:28 -0800 (PST) From: Oliver O'Halloran To: skiboot@lists.ozlabs.org Date: Fri, 12 Jan 2018 14:10:18 +1100 Message-Id: <20180112031018.14204-1-oohall@gmail.com> X-Mailer: git-send-email 2.9.5 Subject: [Skiboot] [PATCH] hdata/i2c: Fix 512Kb EEPROM size X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.24 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" There's no such thing as a 412Kb EEPROM. Signed-off-by: Oliver O'Halloran --- hdata/i2c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hdata/i2c.c b/hdata/i2c.c index 2070115abaf3..76b7e3900c0a 100644 --- a/hdata/i2c.c +++ b/hdata/i2c.c @@ -105,7 +105,7 @@ static struct hdat_i2c_type hdat_i2c_devs[] = { { 0xb, "eeprom", "atmel,24c256" }, { 0xc, "i2c", NULL }, /* Thermal Sensor */ { 0xd, "eeprom", "atmel,24c04" }, - { 0xe, "eeprom", "atmel,24c412" }, + { 0xe, "eeprom", "atmel,24c512" }, { 0xf, "eeprom", "atmel,24c32" }, { 0x10, "eeprom", "atmel,24c64" }, { 0x11, "eeprom", "atmel,24c16" },