1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 #include <baseboard/variants.h>
6 #include <variant/gpio.h>
8 size_t variant_memory_sku(void)
12 [3] = MEM_CONFIG3
, [2] = MEM_CONFIG2
,
13 [1] = MEM_CONFIG1
, [0] = MEM_CONFIG0
,
16 rt
= gpio_base2_value(pads
, ARRAY_SIZE(pads
));
19 return (rt
== 3) ? 1 : rt
; // If RAM ID = 3, return 1