[LinuxBIOS] r399 - LinuxBIOSv3/doc/design

svn at openbios.org svn at openbios.org
Thu Jun 28 19:07:13 CEST 2007


Author: rminnich
Date: 2007-06-28 19:07:13 +0200 (Thu, 28 Jun 2007)
New Revision: 399

Modified:
   LinuxBIOSv3/doc/design/newboot.lyx
Log:
Continuing updates of the port process.

Signed-off-by: Ronald G. Minnich <rminnich at gmail.com>
Acked-by: Ronald G. Minnich <rminnich at gmail.com>



Modified: LinuxBIOSv3/doc/design/newboot.lyx
===================================================================
--- LinuxBIOSv3/doc/design/newboot.lyx	2007-06-28 17:05:46 UTC (rev 398)
+++ LinuxBIOSv3/doc/design/newboot.lyx	2007-06-28 17:07:13 UTC (rev 399)
@@ -2435,9 +2435,60 @@
 Now we get lots more errors, so off we go to fix them!
 \end_layout
 
+\begin_layout Paragraph
+R334
+\end_layout
+
 \begin_layout Standard
+The errors were mainly changes to printk.
+ Also, we had to copy the old cs5536.h from the V2 tree.
+ This file is only used for the southbridge part, so, following LinuxBIOS
+ include rules, cs5536.h does not go in include; rather, it goes in the 
+\family typewriter
+southbridge/amd/cs5536 
+\family default
+directory.
+ We fix the includes so that they have proper names, and add Doxygen comments,
+ which as of June 1, 2007, are required for all commits.
+ Also, all functions save smbus_read_byte are static, as only that one function
+ is needed externally; smbus_read_byte has a static, first_time, which is
+ checked and, if set, smbus_read_byte will initialize the smbus hardware
+ via smbus_enable.
+ 
+\end_layout
 
+\begin_layout Standard
+At this point, we have smbus support for the chipset, an essential first
+ step.
+ 
 \end_layout
 
+\begin_layout Paragraph*
+R345
+\end_layout
+
+\begin_layout Standard
+We bring across the cs5536_early_setup.c, and make the few changes needed
+ to get it to compile.
+ 
+\end_layout
+
+\begin_layout Standard
+
+\end_layout
+
+\begin_layout Standard
+Now it is time to fix the compilation errors.
+ First, we need to get the pll_reset.c function from V2.
+ This function requires few changes.
+ Mainly, they involve removing artifacts of romcc, such as a lack of include
+ directives, and use of simple print functions instead of printk.
+ 
+\end_layout
+
+\begin_layout Standard
+
+\end_layout
+
 \end_body
 \end_document





More information about the coreboot mailing list