From: Kumar Gala Date: Wed, 9 Mar 2011 09:36:44 -0600 Subject: [U-Boot] [PATCH 2/5] powerpc/85xx: Read board switch settings on p1_p2_rdb In-Reply-To: References: <1299471454-26740-1-git-send-email-galak@kernel.crashing.org> <1299471454-26740-2-git-send-email-galak@kernel.crashing.org> Message-ID: <24207CB6-AC90-4A65-983C-7407707BC4C3@kernel.crashing.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mar 9, 2011, at 12:38 AM, McClintock Matthew-B29882 wrote: > On Sun, Mar 6, 2011 at 10:17 PM, Kumar Gala wrote: >> + if (i2c_data & 0x1) { >> + setbits_be32(&gur->pmuxcr, MPC85xx_PMUXCR_SD_DATA); >> + puts("SD/MMC : 8-bit Mode\n"); >> + puts("eSPI : Disabled\n"); >> + } else { >> + puts("SD/MMC : 4-bit Mode\n"); >> + puts("eSPI : Enabled\n"); > > I think this bit is actually important for the p1_p2_rdb_pc boards > also? Is this handled by the CPLD somehow or do we need to do the same > thing? > > 'IO0 - "read-only" CFG_SDWIDTH SW2[1]. the setting of pmuxcr? SW has to do that. - k