From: =?UTF-8?q?Andreas=20Bie=C3=9Fmann?= Date: Tue, 2 Feb 2016 11:50:44 +0100 Subject: [U-Boot] [U-Boot, v3, 3/3] arm: at91/spl: mpddrc: use IP version to check configuration In-Reply-To: <1454321537-23829-4-git-send-email-wenyou.yang@atmel.com> (from Wenyou Yang on Mon, 1 Feb 2016 18:12:17 +0800) References: <1454321537-23829-4-git-send-email-wenyou.yang@atmel.com> Message-ID: <1454410244-32307-1-git-send-email-andreas.devel@googlemail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Wenyou Yang, Wenyou Yang writes: >To remove the unnecessary #ifdef-endif, use the mpddrc IP version >to check whether or not the interleaved decoding type is supported. > >Signed-off-by: Wenyou Yang >Reviewed-by: Andreas Bie?mann >--- > >Changes in v3: > - add "base" argument for ddr2_decodtype_is_seq() to avoid > specified base address. > >Changes in v2: > - add Reviewed-by from Andreas. > > arch/arm/mach-at91/mpddrc.c | 18 +++++++++++------- > 1 file changed, 11 insertions(+), 7 deletions(-) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bie?mann