[LinuxBIOS] #20: Cleanup of all CHIP_NAME() entries

LinuxBIOS svn at openbios.org
Sun Nov 5 21:37:36 CET 2006


#20: Cleanup of all CHIP_NAME() entries
----------------------------+-----------------------------------------------
     Reporter:  uwe         |          Owner:  uwe           
         Type:  defect      |         Status:  closed        
     Priority:  minor       |      Milestone:  Cosmetic fixes
    Component:  code        |        Version:  v2            
   Resolution:  fixed       |       Keywords:                
Include_gantt:  0           |   Dependencies:                
   Due_assign:  DD/MM/YYYY  |      Due_close:  DD/MM/YYYY    
----------------------------+-----------------------------------------------
Comment (by stepan):

 Replying to [comment:3 anonymous]:

 > > The CHIP_NAME macro was invented at a time when we were really tight
 in rom space, but it is obviously the wrong approach.
 >
 > I don't see how a macro would help any in this regard?

 It was used to drop the "name" in the structure completely, thus saving a
 couple of bytes for every device. Since romcc was easily bloating auto.c
 up to 64k, the savings can be considered non-existent

-- 
Ticket URL: <http://tracker.linuxbios.org/trac/LinuxBIOS/ticket/20#comment:4>
LinuxBIOS <http://www.linuxbios.org/>


More information about the coreboot mailing list