
Dear =?ISO-8859-15?Q?Matthias_Wei=DFer?=,
In message 4AE593F3.3030608@arcor.de you wrote:
In this specific case: I think I would, as there is currently no CAN framework available in u-boot.
This just means that your implementation requires a two-step approach. In step 1, implement the framework.
Is there any chance that the stuff posted by miaofng will be available in u-boot-next?
I'm not really sure. As Wolfgang Grandegger already commented, the implementation is really heavy for a mere boot loader. Sharing code with Linux is generally a good thing, but it has to fit, too. I'm not convinced it fits here. Let's see wht the now following discussion gives. In any case, this is too green for "next". IMHO it would even bee too green for "staging" if we had something like this (which we don't have :-)
Yes. I totally agree here. And if there is a chance that there will be a CAN framework in u-boot in not to far future I will write my stuff against that.
Do both things at once? The effort saved to re-implement your driver code against the to-be framwork can be thrown at implementing the framework in a first step ...
I think I am not deep enough in u-boot that I will be able to write such a framework by myself.
That's only a "not yet", believe me :-)
Best regards,
Wolfgang Denk