From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Date: Wed, 13 Feb 2013 17:17:12 -0700 Subject: [U-Boot] [PATCH v3 3/3] Tegra: MMC: Add DT support to MMC driver for all T20 boards In-Reply-To: <1360791890-6644-4-git-send-email-twarren@nvidia.com> References: <1360791890-6644-1-git-send-email-twarren@nvidia.com> <1360791890-6644-4-git-send-email-twarren@nvidia.com> Message-ID: <511C2D08.6010303@wwwdotorg.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 02/13/2013 02:44 PM, Tom Warren wrote: > tegra_mmc_init() now parses the DT info for bus width, WP/CD GPIOs, etc. > Tested on Seaboard, fully functional. > > Tamonten boards (medcom-wide, plutux, and tec) use a different/new > dtsi file w/common settings. > diff --git a/board/compulab/trimslice/trimslice.c b/board/compulab/trimslice/trimslice.c > +#ifdef CONFIG_TEGRA_MMC It seems a little odd to add this ifdef when it's know that config option is enabled in the trimslice config file. I can somewhat understand leaving the ifdef in any other board files that already had it, but actively adding it here seems strange. > diff --git a/board/nvidia/common/board.c b/board/nvidia/common/board.c > @@ -184,7 +187,6 @@ int board_init(void) > /* prepare the WB code to LP0 location */ > warmboot_prepare_code(TEGRA_LP0_ADDR, TEGRA_LP0_SIZE); > #endif > - > return 0; > } Unrelated change? > diff --git a/drivers/mmc/tegra_mmc.c b/drivers/mmc/tegra_mmc.c > +static int process_nodes(const void *blob, int node_list[], int count) > + /* Mark position as used */ > + node_list[i] = -1; Is this actually necessary? I'll try and test these patches on all the Tegra20 boards I have tomorrow.