meta-facebook/meta-fby35/recipes-fby35/dimm-util/files/dimm-util-plat.h (12 lines of code) (raw):

/* * * Copyright 2022-present Facebook. All Rights Reserved. * * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #ifndef __DIMM_UTIL_PLAT_H__ #define __DIMM_UTIL_PLAT_H__ #define NUM_CPU_FBY35 1 #define MAX_DIMM_NUM_FBY35 6 #define NUM_FRU_FBY35 5 #define FRU_ID_MIN_FBY35 1 #define FRU_ID_MAX_FBY35 4 #define FRU_ID_ALL_FBY35 5 #define DIMM0_SPD_ADDR 0xa0 #define DIMM1_SPD_ADDR 0xa8 #define DIMM2_SPD_ADDR 0xac #endif