diff options
author | Wang Mingyu <wangmy@fujitsu.com> | 2025-07-30 17:54:23 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-07-30 08:03:05 -0700 |
commit | d03d56c13e3245933bf2308276deefe03279b4cd (patch) | |
tree | 8dd3b1616b4235e3d5452c06bad9e8bbda8def1a | |
parent | 7a2ce28842fc4422cbf096a1f53571a8778065e5 (diff) | |
download | meta-openembedded-d03d56c13e3245933bf2308276deefe03279b4cd.tar.gz |
flashrom: upgrade 1.5.1 -> 1.6.0
0002-meson-Add-options-pciutils-ftdi-usb.patch
refreshed for 1.6.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-oe/recipes-bsp/flashrom/flashrom/0002-meson-Add-options-pciutils-ftdi-usb.patch | 17 | ||||
-rw-r--r-- | meta-oe/recipes-bsp/flashrom/flashrom_1.6.0.bb (renamed from meta-oe/recipes-bsp/flashrom/flashrom_1.5.1.bb) | 2 |
2 files changed, 9 insertions, 10 deletions
diff --git a/meta-oe/recipes-bsp/flashrom/flashrom/0002-meson-Add-options-pciutils-ftdi-usb.patch b/meta-oe/recipes-bsp/flashrom/flashrom/0002-meson-Add-options-pciutils-ftdi-usb.patch index 8dfed855b4..b1dd5d0773 100644 --- a/meta-oe/recipes-bsp/flashrom/flashrom/0002-meson-Add-options-pciutils-ftdi-usb.patch +++ b/meta-oe/recipes-bsp/flashrom/flashrom/0002-meson-Add-options-pciutils-ftdi-usb.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 3ea99c117aa4c7a3502c93e4e4df50b3623e46c3 Mon Sep 17 00:00:00 2001 | 1 | From 5cf5fc64c6aab35b89b8cf7f69b84b6f5100d7a6 Mon Sep 17 00:00:00 2001 |
2 | From: Patrick Rudolph <patrick.rudolph@9elements.com> | 2 | From: Patrick Rudolph <patrick.rudolph@9elements.com> |
3 | Date: Tue, 15 Oct 2024 10:42:05 +0200 | 3 | Date: Tue, 15 Oct 2024 10:42:05 +0200 |
4 | Subject: [PATCH 2/2] meson: Add options pciutils, ftdi, usb | 4 | Subject: [PATCH] meson: Add options pciutils, ftdi, usb |
5 | 5 | ||
6 | The options have been dropped in favor of an array option called programmer. | 6 | The options have been dropped in favor of an array option called programmer. |
7 | Since this doesn't integrate well into yocto add back the old options. | 7 | Since this doesn't integrate well into yocto add back the old options. |
@@ -16,10 +16,10 @@ Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> | |||
16 | 2 files changed, 6 insertions(+), 3 deletions(-) | 16 | 2 files changed, 6 insertions(+), 3 deletions(-) |
17 | 17 | ||
18 | diff --git a/meson.build b/meson.build | 18 | diff --git a/meson.build b/meson.build |
19 | index 6c8d3d3..61b794d 100644 | 19 | index 35feb33..b5bb722 100644 |
20 | --- a/meson.build | 20 | --- a/meson.build |
21 | +++ b/meson.build | 21 | +++ b/meson.build |
22 | @@ -150,9 +150,9 @@ systems_serial = [ 'linux', 'openbsd', 'freebsd', 'dragonfly', 'netbsd', 'da | 22 | @@ -140,9 +140,9 @@ systems_serial = [ 'linux', 'openbsd', 'freebsd', 'dragonfly', 'netbsd', 'da |
23 | 23 | ||
24 | cpus_port_io = [ 'x86', 'x86_64' ] | 24 | cpus_port_io = [ 'x86', 'x86_64' ] |
25 | 25 | ||
@@ -33,10 +33,10 @@ index 6c8d3d3..61b794d 100644 | |||
33 | group_serial = get_option('programmer').contains('group_serial') | 33 | group_serial = get_option('programmer').contains('group_serial') |
34 | group_jlink = get_option('programmer').contains('group_jlink') | 34 | group_jlink = get_option('programmer').contains('group_jlink') |
35 | diff --git a/meson_options.txt b/meson_options.txt | 35 | diff --git a/meson_options.txt b/meson_options.txt |
36 | index 87456a9..570b152 100644 | 36 | index 2829cd1..0e9d769 100644 |
37 | --- a/meson_options.txt | 37 | --- a/meson_options.txt |
38 | +++ b/meson_options.txt | 38 | +++ b/meson_options.txt |
39 | @@ -24,4 +24,7 @@ option('ni845x_search_path', type : 'string', value : 'C:\Program Files (x86)\Na | 39 | @@ -26,6 +26,9 @@ option('ni845x_search_path', type : 'string', value : 'C:\Program Files (x86)\Na |
40 | option('delay_minimum_sleep_us', type : 'integer', min : 0, value : 100, | 40 | option('delay_minimum_sleep_us', type : 'integer', min : 0, value : 100, |
41 | description : 'Minimum time in microseconds to suspend execution for (rather than polling) when a delay is required.' | 41 | description : 'Minimum time in microseconds to suspend execution for (rather than polling) when a delay is required.' |
42 | + ' Larger values may perform better on machines with low timer resolution, at the cost of increased power.') | 42 | + ' Larger values may perform better on machines with low timer resolution, at the cost of increased power.') |
@@ -44,6 +44,5 @@ index 87456a9..570b152 100644 | |||
44 | +option('usb', type : 'boolean', value : false, description : 'Select programmer group usb') | 44 | +option('usb', type : 'boolean', value : false, description : 'Select programmer group usb') |
45 | +option('ftdi', type : 'boolean', value : false, description : 'Select programmer group ftdi') | 45 | +option('ftdi', type : 'boolean', value : false, description : 'Select programmer group ftdi') |
46 | option('rpmc', type : 'feature', value : 'auto', description : 'Support for Replay Protected Monotonic Counter (RPMC) commands as specified by JESD260') | 46 | option('rpmc', type : 'feature', value : 'auto', description : 'Support for Replay Protected Monotonic Counter (RPMC) commands as specified by JESD260') |
47 | -- | 47 | option('log_message_length_limit', type : 'integer', min : 64, max : 1024, value : 256, |
48 | 2.43.0 | 48 | description : 'Log message length limit for v2 logging API') |
49 | |||
diff --git a/meta-oe/recipes-bsp/flashrom/flashrom_1.5.1.bb b/meta-oe/recipes-bsp/flashrom/flashrom_1.6.0.bb index f7121e2503..2125f19dfe 100644 --- a/meta-oe/recipes-bsp/flashrom/flashrom_1.5.1.bb +++ b/meta-oe/recipes-bsp/flashrom/flashrom_1.6.0.bb | |||
@@ -7,7 +7,7 @@ SRC_URI = "https://download.flashrom.org/releases/flashrom-v${PV}.tar.xz \ | |||
7 | file://0002-meson-Add-options-pciutils-ftdi-usb.patch \ | 7 | file://0002-meson-Add-options-pciutils-ftdi-usb.patch \ |
8 | " | 8 | " |
9 | 9 | ||
10 | SRC_URI[sha256sum] = "1f934b076ed49eace203655ec249fc7861a6b8e87fe4aef732e47b6e485b6293" | 10 | SRC_URI[sha256sum] = "8b9db3987df9b5fc81e70189d017905dd5f6be1e1410347f22687ab6d4c94423" |
11 | 11 | ||
12 | S = "${UNPACKDIR}/flashrom-v${PV}" | 12 | S = "${UNPACKDIR}/flashrom-v${PV}" |
13 | 13 | ||