Changeset 5204


Ignore:
Timestamp:
Mar 13, 2010 9:16:48 PM (3 years ago)
Author:
uwe
Message:

Add SDRAMPWR_4DIMM Kconfig option (not user-visible in menuconfig).

Each Intel 440BX board should select this option if it has 4 DIMM
slots on the PCB, and _not_ select it (it defaults to 'n') if it
has 3 DIMMs on the PCB.

Signed-off-by: Keith Hui <buurin@…>
Acked-by: Uwe Hermann <uwe@…>

Location:
trunk/src
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/mainboard/asus/p2b-d/Kconfig

    r5099 r5204  
    3232        select UDELAY_TSC 
    3333        select BOARD_ROMSIZE_KB_256 
     34        select SDRAMPWR_4DIMM 
    3435 
    3536config MAINBOARD_DIR 
  • trunk/src/mainboard/asus/p2b-ds/Kconfig

    r5099 r5204  
    3232        select UDELAY_TSC 
    3333        select BOARD_ROMSIZE_KB_256 
     34        select SDRAMPWR_4DIMM 
    3435 
    3536config MAINBOARD_DIR 
  • trunk/src/mainboard/asus/p2b-ls/Kconfig

    r5188 r5204  
    3030        select UDELAY_TSC 
    3131        select BOARD_ROMSIZE_KB_256 
     32        select SDRAMPWR_4DIMM 
    3233 
    3334config MAINBOARD_DIR 
  • trunk/src/mainboard/asus/p3b-f/Kconfig

    r5099 r5204  
    3030        select UDELAY_TSC 
    3131        select BOARD_ROMSIZE_KB_256 
     32        select SDRAMPWR_4DIMM 
    3233 
    3334config MAINBOARD_DIR 
  • trunk/src/northbridge/intel/i440bx/Kconfig

    r4753 r5204  
    2323        select HAVE_HIGH_TABLES 
    2424 
     25config SDRAMPWR_4DIMM 
     26        bool 
     27        depends on NORTHBRIDGE_INTEL_I440BX 
     28        default n 
     29        help 
     30          This option affects how the SDRAMC register is programmed. 
     31          Memory clock signals will not be routed properly if this option 
     32          is set wrong. 
     33         
     34          If your board has 4 DIMM slots, you must use select this option, in 
     35          your Kconfig file of the board. On boards with 3 DIMM slots, 
     36          do _not_ select this option. 
     37 
  • trunk/src/northbridge/intel/i440bx/raminit.c

    r5194 r5204  
    293293         *         1 = 2 clocks of RAS# precharge 
    294294         */ 
    295         SDRAMC + 0, 0x00, 0x00, 
     295#if CONFIG_SDRAMPWR_4DIMM 
     296        SDRAMC + 0, 0x00, 0x10, /* The board has 4 DIMM slots. */ 
     297#else 
     298        SDRAMC + 0, 0x00, 0x00, /* The board has 3 DIMM slots.*/ 
     299#endif 
    296300        SDRAMC + 1, 0x00, 0x00, 
    297301 
Note: See TracChangeset for help on using the changeset viewer.