[U-Boot] [PATCHv1 01/22] arm: socfpga: spl: Add main sdram code

Pavel Machek pavel at denx.de
Mon Feb 16 00:25:43 CET 2015


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


More information about the U-Boot mailing list