Submitter | Nico Huber |
---|---|
Date | 2017-10-31 21:44:56 |
Message ID | <6e1931f6-d44c-bbd6-fa23-4e296e5d58a6@gmx.de> |
Download | mbox | patch |
Permalink | /patch/4512/ |
State | New |
Headers | show |
Comments
Patch
diff --git a/ich_descriptors.c b/ich_descriptors.c index 69fcd75d..86aab29d 100644 --- a/ich_descriptors.c +++ b/ich_descriptors.c @@ -1064,7 +1064,7 @@ int getFCBA_component_density(enum ich_chipset cs, const struct ich_descriptors } /* Only used by ichspi.c */ -#if CONFIG_INTERNAL == 1 && (defined(__i386__) || defined(__x86_64__)) +#if CONFIG_INTERNAL == 1 && (defined(__i386__) || defined(__x86_64__) || defined(__amd64__)) static uint32_t read_descriptor_reg(enum ich_chipset cs, uint8_t section, uint16_t offset, void *spibar) { uint32_t control = 0;