https://github.com/torvalds/linux
Revision 329ad5e5445955b9de3438061303fdfbd03173de authored by Linus Torvalds on 03 March 2018, 01:44:39 UTC, committed by Linus Torvalds on 03 March 2018, 01:44:39 UTC
Pull PCI fixes from Bjorn Helgaas:

 - Update pci.ids location (documentation only) (Randy Dunlap)

 - Fix a crash when BIOS didn't assign a BAR and we try to enlarge it
   (Christian König)

* tag 'pci-v4.16-fixes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci:
  PCI: Allow release of resources that were never assigned
  PCI: Update location of pci.ids file
2 parent s 5fbdefc + c37406e
Raw File
Tip revision: 329ad5e5445955b9de3438061303fdfbd03173de authored by Linus Torvalds on 03 March 2018, 01:44:39 UTC
Merge tag 'pci-v4.16-fixes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci
Tip revision: 329ad5e
mkuboot.sh
#!/bin/bash
# SPDX-License-Identifier: GPL-2.0

#
# Build U-Boot image when `mkimage' tool is available.
#

MKIMAGE=$(type -path "${CROSS_COMPILE}mkimage")

if [ -z "${MKIMAGE}" ]; then
	MKIMAGE=$(type -path mkimage)
	if [ -z "${MKIMAGE}" ]; then
		# Doesn't exist
		echo '"mkimage" command not found - U-Boot images will not be built' >&2
		exit 1;
	fi
fi

# Call "mkimage" to create U-Boot image
${MKIMAGE} "$@"
back to top