Changeset 5122


Ignore:
Timestamp:
Feb 12, 2010, 6:58:53 PM (5 years ago)
Author:
linux_junkie
Message:

This patch allows a Kconfig option to choose between 64MB (IP1000) and 128MB (IP1000T) of onboard memory.
Signed-off-by: Joseph Smith <joe@…>
Acked-by: Myles Watson <mylesgw@…>

Location:
trunk/src/mainboard/thomson
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/mainboard/thomson/Kconfig

    r4743 r5122  
    77endchoice
    88
     9choice
     10        prompt "IP1000 Onboard Memory"
     11        default ONBOARD_MEMORY_64MB
     12        depends on BOARD_THOMSON_IP1000
     13
     14config ONBOARD_MEMORY_64MB
     15        bool "IP1000-64MB"
     16config ONBOARD_MEMORY_128MB
     17        bool "IP1000T-128MB"
     18
     19endchoice
     20
  • trunk/src/mainboard/thomson/ip1000/Kconfig

    r5099 r5122  
    3030        default 7
    3131        depends on BOARD_THOMSON_IP1000
    32 
  • trunk/src/mainboard/thomson/ip1000/spd_table.h

    r3328 r5122  
    2121#include <spd.h>
    2222
     23#if CONFIG_ONBOARD_MEMORY_64MB
     24
     25#define DENSITY 0x10
     26
     27#elif CONFIG_ONBOARD_MEMORY_128MB
     28
     29#define DENSITY 0x20
     30
     31#endif
     32
    2333struct spd_entry {
    2434        unsigned int address;
     
    3747        {SPD_MIN_CYCLE_TIME_AT_CAS_MAX,       0x75}, /* SDRAM cycle time (highest CAS latency), RAS access time (tRAC) */
    3848        {SPD_ACCESS_TIME_FROM_CLOCK,          0x54}, /* SDRAM access time from clock (highest CAS latency), CAS access time (Tac, tCAC) */
    39         {SPD_DENSITY_OF_EACH_ROW_ON_MODULE,   0x10}, /* Density of each row on module */
     49        {SPD_DENSITY_OF_EACH_ROW_ON_MODULE,   DENSITY}, /* Density of each row on module */
    4050};
Note: See TracChangeset for help on using the changeset viewer.