Home | History | Annotate | Download | only in Include
      1 /** @file
      2 *
      3 *  Copyright (c) 2015, Hisilicon Limited. All rights reserved.
      4 *  Copyright (c) 2015, Linaro Limited. All rights reserved.
      5 *
      6 *  This program and the accompanying materials
      7 *  are licensed and made available under the terms and conditions of the BSD License
      8 *  which accompanies this distribution.  The full text of the license may be found at
      9 *  http://opensource.org/licenses/bsd-license.php
     10 *
     11 *  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
     12 *  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
     13 *
     14 **/
     15 
     16 
     17 
     18 #ifndef _PLATFORM_ARCH_H_
     19 #define _PLATFORM_ARCH_H_
     20 
     21 #define MAX_SOCKET      2
     22 #define MAX_DIE         4
     23 #define MAX_DDRC        2
     24 #define MAX_NODE        (MAX_SOCKET * MAX_DIE)
     25 #define MAX_CHANNEL     4
     26 #define MAX_DIMM        3
     27 #define MAX_RANK_CH     12
     28 #define MAX_RANK_DIMM   4
     29 // Max NUMA node number for each node type
     30 #define MAX_NUM_PER_TYPE 8
     31 
     32 #define S1_BASE               0x40000000000
     33 
     34 #endif
     35 
     36