1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 3 #ifndef __BASEBOARD_VARIANTS_H__ 4 #define __BASEBOARD_VARIANTS_H__ 5 6 #include <soc/gpio.h> 7 #include <soc/meminit.h> 8 #include <stdint.h> 9 10 /* The following 2 functions return the gpio table and fill in the number 11 * of entries for each table. */ 12 const struct pad_config *variant_gpio_table(size_t *num); 13 const struct pad_config *variant_early_gpio_table(size_t *num); 14 15 /* This function returns SPD related FSP-M mainboard configs */ 16 const struct mb_cfg *variant_memcfg_config(void); 17 18 /* This function can select half-populate DRAM */ 19 bool half_populated(void); 20 21 /* The following function performs board specific things. */ 22 void variant_mainboard_final(void); 23 24 #endif /*__BASEBOARD_VARIANTS_H__ */ 25