From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Date: Mon, 16 Feb 2015 00:25:43 +0100 Subject: [U-Boot] [PATCHv1 01/22] arm: socfpga: spl: Add main sdram code In-Reply-To: <1421253662-27222-2-git-send-email-dinguyen@opensource.altera.com> References: <1421253662-27222-1-git-send-email-dinguyen@opensource.altera.com> <1421253662-27222-2-git-send-email-dinguyen@opensource.altera.com> Message-ID: <20150215232543.GA26950@amd> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi! > +#if ENABLE_BRINGUP_DEBUGGING Could we get rid of this for initial merge? > +static inline void reg_file_set_sub_stage(uint32_t set_sub_stage) > +{ > + /* Read the current group and stage */ > + uint32_t cur_stage_group = IORD_32DIRECT(REG_FILE_CUR_STAGE, 0); Could normal u-boot memory access macros be used here? Thanks, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html