From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Likely Date: Mon, 26 Mar 2007 08:59:51 -0600 Subject: [U-Boot-Users] xilinx drivers In-Reply-To: <3275.5961-16246-190946868-1174889434@seznam.cz> References: <3275.5961-16246-190946868-1174889434@seznam.cz> Message-ID: <528646bc0703260759t63469152pdb82e33ca165c5e1@mail.gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 3/26/07, mONStR wrote: > Is it possible do this changes? > > And after that add support for other xilinx peripherals as SPI, EMACLITE, etc. > > Isn't it problem with Xilinx licence? Latest code generated by the Xilinx EDK tools (at least for the Linux BSP) are licensed under the GPL. The old files can be replaced with the newer ones if someone can take on the work. However, I am concerned about the size/complexity of the Xilinx supplied drivers. The Xilinx drivers are designed to be cross platform, and as such they carry with them a fair amount of boilerplate and wrapping code to make it easy to adapt them to new environments. While this is a good approach for Xilinx to get customers up and running quickly, I don't think it is appropriate for code integrated into the u-boot tree (including the code already there). The extra wrapping code adds additional layers of redirection and complexity that are not desireable within u-boot (and utterly unnecessary; once the driver is ported to the u-boot environment, it stays there. The code no longer needs to compile in other environments) I think we can do better. In particular, a UARTLITE driver is trivial to write. g. -- Grant Likely, B.Sc. P.Eng. Secret Lab Technologies Ltd. grant.likely at secretlab.ca (403) 399-0195