Felix Held | d5b51be | 2021-07-16 20:51:08 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | #include <device/pci_rom.h> |
| 4 | #include <soc/cpu.h> |
| 5 | #include <stdint.h> |
| 6 | |
| 7 | u32 map_oprom_vendev(u32 vendev) |
| 8 | { |
Felix Held | d5b51be | 2021-07-16 20:51:08 +0200 | [diff] [blame] | 9 | switch (vendev) { |
| 10 | case CEZANNE_VBIOS_VID_DID: |
| 11 | case BARCELO_VBIOS_VID_DID: |
Felix Held | 3fc6ac7 | 2023-03-02 21:34:22 +0100 | [diff] [blame] | 12 | return CEZANNE_VBIOS_VID_DID; |
Felix Held | d5b51be | 2021-07-16 20:51:08 +0200 | [diff] [blame] | 13 | } |
| 14 | |
Felix Held | 3fc6ac7 | 2023-03-02 21:34:22 +0100 | [diff] [blame] | 15 | return vendev; |
Felix Held | d5b51be | 2021-07-16 20:51:08 +0200 | [diff] [blame] | 16 | } |