Passing parameters from u-boot to kernel in 2.6.18

From: Sreen Tallam
Date: Wed Mar 26 2008 - 18:57:21 EST


Hi All,

I am passing the bd_info structure from u-boot to bd_t (bd info)
structure of the kernel.

And within my platform_init, I am have the below line which assigns
the u-boot parameter to the bd structure.
Will this be enough ..

memcpy(&bd, (bd_t *)r3, sizeof(bd));

Reason is, I am not seeing the same values that I am passing from the
u-boot. Hence the question.

Is there any kernel hacking that I need to set or any thing that I may
need to be aware of?

Appreciate your help.

Thanks,
Sreen
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/