From patchwork Thu Apr 3 05:10:48 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Harvey X-Patchwork-Id: 336504 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id CE496140144 for ; Thu, 3 Apr 2014 16:11:10 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 0BC144BA51; Thu, 3 Apr 2014 07:11:09 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ninySEOi2Pso; Thu, 3 Apr 2014 07:11:08 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E001F4BA92; Thu, 3 Apr 2014 07:11:06 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id C093A4BA92 for ; Thu, 3 Apr 2014 07:11:02 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MbDPsNskC41j for ; Thu, 3 Apr 2014 07:10:59 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-pd0-f174.google.com (mail-pd0-f174.google.com [209.85.192.174]) by theia.denx.de (Postfix) with ESMTPS id 8F2E64BA51 for ; Thu, 3 Apr 2014 07:10:56 +0200 (CEST) Received: by mail-pd0-f174.google.com with SMTP id y13so1226945pdi.19 for ; Wed, 02 Apr 2014 22:10:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Qv1e2YP1oPC5lRVNPvUwMhvmCmwT1xffvFFLjVRbwj0=; b=CO7qAR0liXrTtSWMCKMdX7p7GX5AwHRMPhZwNe/K82SHuH+zQxlljDnN+8cnh5NLeP 5SG1TpsudQOkH0U/RaSLNvTvg0MR8hp03oFM3CEuQbO9T+rZMVVyqD9sR0HIaafblxRd kXgC/StL4KYpNA2hwa20poPpzpK4Uld6hqMgVvtonCxVfvDerjUrt1caN4zW1rHk9wDo SouCVlTg+qr9nwcs44p+20FTYhuohAGHcgUMzXtWNxBF6K9QAZmY/UMBTdgPLGhVztlN lKGjqjveUydBfIjLEengQ39f7pqng1PKG6W6Id1BP/2INRx7l7vp75Senh2s5T61l4HJ IjUA== X-Gm-Message-State: ALoCoQm7KpUDANunK3XiAjuxG+0QjP+rFlV3xOVq5iksRQe4y+nS8WDQw6qCZvtCXCR0laylTmpF X-Received: by 10.68.203.135 with SMTP id kq7mr4732020pbc.85.1396501853352; Wed, 02 Apr 2014 22:10:53 -0700 (PDT) Received: from tharvey-gw.gw (68-189-91-139.static.snlo.ca.charter.com. [68.189.91.139]) by mx.google.com with ESMTPSA id zv3sm1337026pab.20.2014.04.02.22.10.52 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 02 Apr 2014 22:10:52 -0700 (PDT) From: Tim Harvey To: Stefano Babic Date: Wed, 2 Apr 2014 22:10:48 -0700 Message-Id: <1396501848-32593-1-git-send-email-tharvey@gateworks.com> X-Mailer: git-send-email 1.8.3.2 Cc: u-boot@lists.denx.de Subject: [U-Boot] [PATCH] ventana: fixed comments in eeprom header X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Fix several invalid comments regarding the EEPROM structure used by Gateworks Ventana boards. Signed-off-by: Tim Harvey --- board/gateworks/gw_ventana/ventana_eeprom.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/board/gateworks/gw_ventana/ventana_eeprom.h b/board/gateworks/gw_ventana/ventana_eeprom.h index d310bfd..434b604 100644 --- a/board/gateworks/gw_ventana/ventana_eeprom.h +++ b/board/gateworks/gw_ventana/ventana_eeprom.h @@ -16,16 +16,16 @@ struct ventana_board_info { u8 mfgdate[4]; /* 0x20: MFG date (read only) */ u8 res2[7]; /* 0x24 */ /* sdram config */ - u8 sdram_size; /* 0x2B: enum (512,1024,2048) MB */ - u8 sdram_speed; /* 0x2C: enum (100,133,166,200,267,333,400) MHz */ - u8 sdram_width; /* 0x2D: enum (32,64) bit */ + u8 sdram_size; /* 0x2B: (16 << n) MB */ + u8 sdram_speed; /* 0x2C: (33.333 * n) MHz */ + u8 sdram_width; /* 0x2D: (8 << n) bit */ /* cpu config */ - u8 cpu_speed; /* 0x2E: enum (800,1000,1200) MHz */ - u8 cpu_type; /* 0x2F: enum (imx6q,imx6d,imx6dl,imx6s) */ + u8 cpu_speed; /* 0x2E: (33.333 * n) MHz */ + u8 cpu_type; /* 0x2F: 7=imx6q, 8=imx6dl */ u8 model[16]; /* 0x30: model string */ /* FLASH config */ - u8 nand_flash_size; /* 0x40: enum (4,8,16,32,64,128) MB */ - u8 spi_flash_size; /* 0x41: enum (4,8,16,32,64,128) MB */ + u8 nand_flash_size; /* 0x40: (8 << (n-1)) MB */ + u8 spi_flash_size; /* 0x41: (4 << (n-1)) MB */ /* Config1: SoC Peripherals */ u8 config[8]; /* 0x42: loading options */