Skip to contentSkip to conversation

how to include the get_ram_size() function on mpc8323erdb.c souce

U-Boot ethan paddloch 2 participants 2 messages Sep 16, 2010

lore
Share & tools
lore
#0 lore raw

I have seen that for the mpc8323e bsp, the RAM memory is just defined as 64Mb by means to set the MPC8323ERDB.h. I would like to use the get_ram_size() function found in memsize.c source by including it on the mpc8323erdb. source. Could anyone tell me what is the procedure to make this modification? I.e, what should I do to get the mem verification working on my system?

Thanks and best regards

#1 lore raw

Dear ethan paddloch,

Quoted 2 lines · In message <[email protected]> you wrote:

I have seen that for the mpc8323e bsp, the RAM memory is just defined as 64Mb by means to set the MPC8323ERDB.h. I would like to use the get_ram_size() function found in memsize.c source by including it on the mpc8323erdb. source. Could anyone tell me w hat is the procedure to make this modification? I.e, what should I do to get the mem verification working on my system?

Check the code of any other board configuration that does this, preferrable one of a similar architecture.

Best regards,

Wolfgang Denk

Signature · 6 lines
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
The complexity of software is an essential property, not an  acciden-
tal  one. Hence, descriptions of a software entity that abstract away
its complexity often abstract away its essence.    - Fred Brooks, Jr.