19 Commits

Author SHA1 Message Date
Khem Raj a42028a54e flashrom: upgrade 1.6.0 -> 1.7.0
License-Update: COPYING renamed to COPYING.rst; GPL-2.0-or-later unchanged

COPYING was renamed to COPYING.rst upstream; update LIC_FILES_CHKSUM.
Add a patch initializing time_start/time_end, which clang flags as
used-uninitialized.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-28 00:59:21 -07:00
Wang Mingyu d03d56c13e 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>
2025-07-30 08:03:05 -07:00
Alexander Kanavin fc78d37ff0 meta-openembedded/all: adapt to UNPACKDIR changes
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.

I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-25 06:44:52 -07:00
Wang Mingyu 9ca5c3b0e8 flashrom: upgrade 1.4.0 -> 1.5.1
0001-flashrom-Mark-RISCV-as-non-memory-mapped-I-O-archite.patch
0001-linux_mtd-fix-build-with-clang-19.patch
removed since they're included in 1.5.1

0002-meson-Add-options-pciutils-ftdi-usb.patch
refreshed for 1.5.1

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-25 09:33:51 -07:00
Khem Raj 32b4e98079 flashrom: Fix build with clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-13 22:09:34 -07:00
Patrick Rudolph 8cc6bfdb38 flashrom: Update to v1.4.0
Flashrom Release note:
https://www.flashrom.org/release_notes/v_1_4.html

Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Tested-by: Naresh Solanki <naresh.solanki@9elements.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-13 22:09:17 -07:00
Wang Mingyu d8e50a9507 flashrom: upgrade 1.2 -> 1.2.1
0001-typecast-enum-conversions-explicitly.patc
removed since it's included in 1.2.1

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-04 15:33:58 -08:00
Khem Raj 14c7d8a0d7 recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
Khem Raj 8910327c6a flashrom: Fix build with clang
Fixes
warning: implicit declaration of function 'asm' is invalid in C99 [-Wimplicit-function-declaration]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-18 08:33:07 -07:00
Khem Raj e024a4c708 flashrom: Add remaining RISCV support
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Ross Burton <ross.burton@arm.com>
2021-03-30 15:36:17 -07:00
Ross Burton 401364d06f flashrom: recipe cleanup
Use Meson to build instead of the bare Makefiles, as the Meson build also
generates pkgconfig files which are needed fwupd.

Add PACKAGECONFIG options for the platform dependencies (libpci, libusb,
libftdi).  Add a patch to the meson.build to ensure that these options
work as intended.

Fix LICENSE, as this is GPLv2-or-later.

Replace 0001-typecast-enum-conversions-explicitly.patch with upstreamed
patch.

Drop 0001-Makefile-Check-for-last-line-only-from-preprocessed-.patch as
this is only needed for the Makefile build.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-30 12:38:55 -07:00
Khem Raj f16aa16e91 flashrom: Fix build failure with glibc 2.32
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-07-28 12:23:15 -07:00
Khem Raj 802f9127b1 flashrom: Fix build with clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-15 18:05:25 -07:00
Pierre-Jean Texier c8a84d27cc flashrom: upgrade 1.1 -> 1.2
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-15 16:36:28 -07:00
Adrian Bunk b66d2391b7 flashrom: Upgrade 1.0 -> 1.1
Patches applied upstream removed.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-01 17:22:52 -07:00
Khem Raj 28abd55f75 flashrom: Fix build with libusb 1.0.22
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-05-17 08:27:42 -07:00
Armin Kuster acf408ed73 flashrom: update SRC_URI
fixes
ERROR: flashrom-1.0-r0 do_fetch: Fetcher failure for URL: 'http://download.flashrom.org/releases/flashrom-1.0.tar.bz2'. Unable to fetch URL from any source.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-03-29 16:52:16 -07:00
Khem Raj e0bc9bd439 flashrom: Upgrade to 1.0
- Fix build on risc-v
- Drop upstreamed patches

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-03-29 16:48:04 -07:00
Armin Kuster 503a572e14 flashrom: move to recipes-bsp
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-03-01 16:10:37 -08:00