2016-01-20 05:45:20 +01:00
|
|
|
|
|
|
|
format MS COFF
|
|
|
|
|
|
|
|
;struct builtin_fw {
|
|
|
|
; char *name;
|
|
|
|
; void *data;
|
|
|
|
; unsigned long size;
|
|
|
|
;};
|
|
|
|
|
|
|
|
public ___start_builtin_fw
|
|
|
|
public ___end_builtin_fw
|
|
|
|
|
2017-07-28 22:01:47 +02:00
|
|
|
section '.rdata' data readable align 16
|
2016-01-20 05:45:20 +01:00
|
|
|
|
|
|
|
align 16
|
|
|
|
|
2017-07-28 22:01:47 +02:00
|
|
|
macro DMC_code [arg]
|
2016-01-20 05:45:20 +01:00
|
|
|
{
|
2017-07-28 22:01:47 +02:00
|
|
|
dd FIRMWARE_#arg#_DMC
|
|
|
|
dd arg#_DMC_START
|
|
|
|
dd (arg#_DMC_END - arg#_DMC_START)
|
2016-01-20 05:45:20 +01:00
|
|
|
}
|
|
|
|
|
2017-07-28 22:01:47 +02:00
|
|
|
macro DMC_firmware [arg]
|
2016-01-20 05:45:20 +01:00
|
|
|
{
|
|
|
|
forward
|
2017-07-28 22:01:47 +02:00
|
|
|
FIRMWARE_#arg#_DMC db 'i915/',`arg,'.bin',0
|
2016-01-20 05:45:20 +01:00
|
|
|
forward
|
|
|
|
|
|
|
|
align 16
|
2017-07-28 22:01:47 +02:00
|
|
|
arg#_DMC_START:
|
2016-01-20 05:45:20 +01:00
|
|
|
file "firmware/"#`arg#".bin"
|
2017-07-28 22:01:47 +02:00
|
|
|
arg#_DMC_END:
|
|
|
|
}
|
|
|
|
|
|
|
|
macro GUC_code [arg]
|
|
|
|
{
|
|
|
|
dd FIRMWARE_#arg#_GUC
|
|
|
|
dd arg#_GUC_START
|
|
|
|
dd (arg#_GUC_END - arg#_GUC_START)
|
|
|
|
}
|
|
|
|
|
|
|
|
macro GUC_firmware [arg]
|
|
|
|
{
|
|
|
|
forward
|
|
|
|
FIRMWARE_#arg#_GUC db 'i915/',`arg,'.bin',0
|
|
|
|
forward
|
|
|
|
|
|
|
|
align 16
|
|
|
|
arg#_GUC_START:
|
|
|
|
file "firmware/"#`arg#".bin"
|
|
|
|
arg#_GUC_END:
|
2016-01-20 05:45:20 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
___start_builtin_fw:
|
|
|
|
|
2017-07-28 22:01:47 +02:00
|
|
|
DMC_code skl_dmc_ver1
|
|
|
|
DMC_code bxt_dmc_ver1
|
|
|
|
GUC_code skl_guc_ver4
|
2016-01-20 05:45:20 +01:00
|
|
|
|
|
|
|
___end_builtin_fw:
|
|
|
|
|
2017-07-28 22:01:47 +02:00
|
|
|
DMC_firmware skl_dmc_ver1
|
|
|
|
DMC_firmware bxt_dmc_ver1
|
|
|
|
GUC_firmware skl_guc_ver4
|
2016-01-20 05:45:20 +01:00
|
|
|
|
|
|
|
|