[coreboot] programming 101

Peter Stuge peter at stuge.se
Thu Mar 6 13:56:18 CET 2008


On Wed, Mar 05, 2008 at 07:13:28PM -0800, ron minnich wrote:
> how the hell did we miss this:
>         if (device == DIMM0) {
>                 for (i = 0; i < ARRAY_SIZE(spd_table); i++) {
>                         if (spd_table[i].address == address) {
>                                 ret = spd_table[i].data;
> 
> So, maybe we need a break in there?

Or just return instead of ret = 


Good find!


//Peter




More information about the coreboot mailing list