From: Wolfgang Denk Date: Sat, 09 Mar 2013 23:14:38 +0100 Subject: [U-Boot] [PATCH] mx6dl: Add initial support for Wandboard dual lite In-Reply-To: <1362861792-23032-1-git-send-email-festevam@gmail.com> References: <1362861792-23032-1-git-send-email-festevam@gmail.com> Message-ID: <20130309221438.3B47820145B@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Fabio Estevam, In message <1362861792-23032-1-git-send-email-festevam@gmail.com> you wrote: > > Add initial support for Wandboard dual lite. Thanks! > +int dram_init(void) > +{ > + gd->ram_size = imx_ddr_size(); Can we please use get_ram_size() to verify / test the actual RAM size? > +#define CONFIG_ARP_TIMEOUT 200UL Is this really needed? > +/* Physical Memory Map */ > +#define CONFIG_NR_DRAM_BANKS 1 > +#define PHYS_SDRAM MMDC0_ARB_BASE_ADDR > +#define PHYS_SDRAM_SIZE (1u * 1024 * 1024 * 1024) What is the "1u *" needed for? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de If in any problem you find yourself doing an immense amount of work, the answer can be obtained by simple inspection.