summaryrefslogtreecommitdiffstats
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
...
* wic: Clean up DirectImageCreatorTom Zanussi2014-08-112-11/+2
| | | | | | | | | Remove what wic doesn't use from DirectImageCreator. (From OE-Core rev: dbbe6d04f6c606c94ff17151aee1214e4e24ce7d) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: Clean up BaseImageCreatorTom Zanussi2014-08-112-1025/+9
| | | | | | | | | wic doesn't use a lot of BaseImageCreator, so remove it. (From OE-Core rev: 6bd95c24b44fa80ac9d5950bf2d925f18f671290) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: Remove unused plugin and error codeTom Zanussi2014-08-115-68/+3
| | | | | | | | | wic doesn't use it, so remove it. (From OE-Core rev: b818e5a1ed047940fda533da73fc50a099e1aa3f) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: Remove gpt_parserTom Zanussi2014-08-114-390/+11
| | | | | | | | | wic doesn't currently use it, so remove. (From OE-Core rev: d3a490d5421405bf9e002c6c65ffb831ea6b767e) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: Remove unused 3rdparty/commandsTom Zanussi2014-08-1150-6474/+1
| | | | | | | | | | wic doesn't use anything but partition and bootloader, so remove the rest. (From OE-Core rev: b6ae106b5d28180a5890e837c87f3e91e5917638) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: Remove 3rdparty/urlgrabberTom Zanussi2014-08-117-3688/+0
| | | | | | | | | wic doesn't use it, so remove it. (From OE-Core rev: 00dcdb29c89634ab267d328eb00f8eb70c696655) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: Remove unused misc codeTom Zanussi2014-08-111-179/+1
| | | | | | | | | wic doesn't use it, so remove it. (From OE-Core rev: 84e1e13ce3af216e304f61c7ea6e5e9338f94bc6) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: Remove unused fs_related codeTom Zanussi2014-08-111-930/+0
| | | | | | | | | wic doesn't use it, so remove it. (From OE-Core rev: e18d5393a556e1ff4826c1e5b1a75f4ac998b10e) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: Remove rpmmiscTom Zanussi2014-08-111-600/+0
| | | | | | | | | wic doesn't use it, so remove it. (From OE-Core rev: a49b39ddf18b1b058c0a892e1a7450239eea66ce) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: Remove proxy supportTom Zanussi2014-08-113-1022/+1
| | | | | | | | | | | | | | | | | wic doesn't use proxy support, so remove it. Also remove anything related to proxies in misc and conf, and while we're at it, remove all the obviously unneeded code from those files - it's easier to just remove it than to figure out the callchain to the proxy code usages. Basically the extra stuff relates to packaging, images, and config files we don't use. (From OE-Core rev: 041f9e2ca52681cd6f5c2fb804dd45f05358c9f9) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: Remove grabber implementationTom Zanussi2014-08-111-97/+0
| | | | | | | | | wic doesn't need to grab any urls, so remove it. (From OE-Core rev: 55f8df07d82724b6d7ed694158ca6e9a5266cbc4) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: Remove fiemap supportTom Zanussi2014-08-111-252/+0
| | | | | | | | | wic doesn't use it, so remove it. (From OE-Core rev: b732ad616ca20dfc4adb845b68ae3378624a0a4d) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: Remove bmap supportTom Zanussi2014-08-111-298/+0
| | | | | | | | | wic doesn't use it, so remove it. (From OE-Core rev: 69f16c7582660a3bcf4106668e548b4c789ae251) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: Remove mic package managersTom Zanussi2014-08-112-1463/+0
| | | | | | | | | wic doesn't use the yum or zypp package managers, remove them. (From OE-Core rev: ef70b961b6b8f3a004036f84b608665db2085215) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: Remove rt_utilTom Zanussi2014-08-111-223/+0
| | | | | | | | | More package-related stuff we don't need. (From OE-Core rev: 167cb99af427510bb6d72e89478c62a804db125c) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: Remove mic chrootTom Zanussi2014-08-1115-3611/+4
| | | | | | | | | | | | | | | | | mic chroot allows users to chroot into an existing mic image and isn't used by wic, so remove it. Removing chroot.py leads in turn to various plugin-loading failures for a number of plugins that wic doesn't use either, so remove those as well. The existing source plugins refer to chroot but don't use it, so fix those up. (From OE-Core rev: d73230306b827972cdc99f21d247c54d5d7c0b6d) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: Remove mic bootstrapTom Zanussi2014-08-111-279/+0
| | | | | | | | | packaging bootstrap, not needed (From OE-Core rev: 980c8faf01fa59ce3922cbad3363a6c2f759d30e) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: Remove packaging, config commandsTom Zanussi2014-08-111-763/+0
| | | | | | | | | Remove commands related to repos, packaging, configuration (From OE-Core rev: 2b002ab75473578f06f161be0b48670fba26994e) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: Remove unused custom commandsTom Zanussi2014-08-115-297/+1
| | | | | | | | | installer, repo, desktop-related stuff (From OE-Core rev: 26e909682fffb8ae6062d1e8295b6421f1f716ad) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: Make exec_cmd() error out instead of warnTom Zanussi2014-08-116-46/+53
| | | | | | | | | | | | | | | | The reason exec_cmd() warns but doesn't error out (broken parted) doesn't really make sense, since the parted invocations don't even use exec_cmd(). It really should just fail since by not doing so it's actually enabling invalid images in some cases. Also, since the return code is now always zero, there's no point in having a return code, so remove it. This represents a change in the API, so we also need to update all callers. (From OE-Core rev: a10bbd39eee29cc49d258bf08aaec279c3115c66) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts/send-error-report: fetch /Errors/ instead of /.Roxana Ciobanu2014-08-061-1/+1
| | | | | | | | | | | | | | | | | If HTTP_PROXY or http_proxy is set when the send-error-report script is run, it will check to see if fetching / on the specified server returns 200 without the proxy set. If it does it will assume that the proxy is not needed. However this check can never work because fetching / always redirects to /Errors/ in the current code and thus returns code 301. This is fixed by fetching /Errors/ instead of /. [YOCTO #YB6576] (From OE-Core rev: af93c89febcd186d7e31f1d15affc15f38e3379d) Signed-off-by: Roxana Ciobanu <roxana.ciobanu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* test-dependencies: don't override failed-recipes.logMartin Jansa2014-08-061-7/+9
| | | | | | | | | | | | * when dependency changes are reported in OUTPUTC/failed-recipes.log it can be the same as final output file which is later overwritten because OUTPUTC == OUTPUT_BASE by default * use similar format for messages as insane_qa check (From OE-Core rev: f8c1c20cc4926072ad4578ca609ed40e3b94ef85) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: Various typo/grammar fixes to wic help textTom Zanussi2014-08-021-3/+3
| | | | | | | | | | | This is a set of miscellaneous help text updates noticed while transcribing wic help for the dev manual. (From OE-Core rev: d4b350fcdedf29692673e09a0c1850cdbbe29739) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: Add squashfs to --fstypes documentationTom Zanussi2014-08-021-0/+1
| | | | | | | | | | squashfs support was recently added to wic, so document it. (From OE-Core rev: c04043e143932fe2ea38f87d2faa8beed007671b) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: Add documentation for --fsoptionsTom Zanussi2014-08-021-0/+7
| | | | | | | | | | --fsoptions support was recently added to wic, so document it. (From OE-Core rev: e2d87ad57f8aa74e748ba95f6a801a2ca665ecc4) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: Fix plugin help textTom Zanussi2014-08-021-13/+16
| | | | | | | | | | | Fix various typoes and grammar problems noticed while transcribing for the dev manual. (From OE-Core rev: 79fb7d9b5a28810e3adfaf5cba0c2298810253e9) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: do not overwrite autogenerated /etc/fstab with original too earlyMaciej Borzecki2014-07-261-1/+4
| | | | | | | | | | | | | | | | | | | DirectImageCreator.__write_fstab() generates new /etc/fstab in sysroot with rootfs contents. The fstab entries are generated base on the initialn contents of /etc/fstab, plus any extra (other than / or /boot) partitions listed in *.wks. A backup of original /etc/fstab is done in a temp location. Subsequent call to __restore_fstab() restores the backup copy, replacing the autogenerated one. Calling __restore_fstab() before Wic_PartData.prepare() brings back the original fstab before the partition image file actually is created. As such, the autogenerated /etc/fstab will not make it to the partition. (From OE-Core rev: a9e59d7b1fa1ed33ce9678fb77a367800d7a8f87) Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl> Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: squashfs partition supportMaciej Borzecki2014-07-251-0/+61
| | | | | | | | | | | | It is possible to instruct wic to create a squashfs partition by setting --fstype=squashfs in *.wks. For now this is only useable for rootfs partitions (note that you must have squashfs support in the kernel). An attempt to create an empty partition will produce a warning. (From OE-Core rev: 30266a0be946bd0ce76d6920e7afe840c6c3bf80) Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: --fsoptions handlingMaciej Borzecki2014-07-251-1/+9
| | | | | | | | | | | Add handling of --fsoptions in parition definition. If no options are specified, 'defaults' is used. (From OE-Core rev: e91c0db15db74237606fae96c9b7d21936519a86) Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl> Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: Remove fstype from mkefidisk canned wksTom Zanussi2014-07-231-1/+1
| | | | | | | | | | The bootimg-efi plugin specifies the fstype internally, so remove it from the partition definition. (From OE-Core rev: e9365e9d9e8a8696849fda182ec260398059089a) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: Add help entry for wic kickstartTom Zanussi2014-07-231-0/+1
| | | | | | | | | | | Previous patches added help for 'wic kickstart' but forgot to add an entry in the main help page showing its availability. Add an entry for it. (From OE-Core rev: 5aa212f990c3d9b90a4f06cea346b82fc5d376ba) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: Fix bad directory name in bootimg-efiTom Zanussi2014-07-231-1/+1
| | | | | | | | | | The original move of the mkefidisk code to the bootimg-efi plugin resulted in a bad hdddir - fix it. (From OE-Core rev: ab337705521d8734f12be612709e70a163111fe3) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mkefidisk.sh: Add signal handlingDarren Hart2014-07-231-2/+4
| | | | | | | | | | | | Add basic signal handling to unmount and remove any temporary files. Correct a quoting issue with the die() function caught testing signal handling. Fix a minor typo in "formatting" output. (From OE-Core rev: a085cdf0e2dcf6543f61a8bdf68f83bcf8006373) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mkefidisk.sh: Fix redirection to 1Darren Hart2014-07-231-19/+19
| | | | | | | | | | | | The current script intends to redirect stderr to stdout, but instead redirects to a file named 1. No doubt a regex replace error. Replace all instances of 2>1 with 2>&1. (From OE-Core rev: 1864ca9751c28cca248cfba77a3d23fc58ff43bb) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mkefidisk.sh: Remove initrd entry for gummibootDarren Hart2014-07-231-0/+1
| | | | | | | | | | | | My previous patch adding gummiboot support was missing the line to remove the initrd line from the boot config. This was an oversight in copying over the grub setup to gummiboot. Add the necessary logic to remove it. (From OE-Core rev: c7355550dc21a1ef3c2e828ed5f51e94e12fac5f) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts/test-remote-image: use the scriptpath moduleCorneliu Stoicescu2014-07-191-2/+12
| | | | | | | | | Use the scripts/lib/scriptpath module in order to standardize the adding of bitbake/lib and meta/lib to sys.path. (From OE-Core rev: 32c5b31d8a22bb8ba49db8a5c797ad0f421e67a3) Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts/oe-selftest: add command-line parsing and optionsCorneliu Stoicescu2014-07-191-28/+53
| | | | | | | | | [YOCTO #6453] (From OE-Core rev: d9291390d56cae9c9d0f5e44d5e7293260dad077) Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mkefidisk.sh: Reduce output and add verbose flagDarren Hart2014-07-191-47/+67
| | | | | | | | | | Remove superfluous output from commands, add a -v verbose flag, and cleanup output. (From OE-Core rev: 0742bcd437362eb31b40e35f7331f191a1e070d0) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mkefidisk.sh: Make the rootfs copy the last stepDarren Hart2014-07-191-10/+12
| | | | | | | | | | Copying the rootfs is the most time intensive task. Move it last so if we are to encounter other errors, we do so quickly and error out. (From OE-Core rev: 38a485aabfb57d42fa4663386c22aa9260d0a944) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mkefidisk.sh: Add die() and cleanup() routinesDarren Hart2014-07-191-47/+68
| | | | | | | | | | | | | | | Currently the script will attempt to continue even after a fatal error. Add a die() routine which will abort in the case of a fatal error and call a cleanup() routine to unmount any images or devices and remove the TMPDIR. Move the variable assignment and directory creation earlier in the script, making it more obvious what we need to clean up. (From OE-Core rev: 40fe82fecf7a94b24893862ac17ee2bc749fc5e8) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mkefidisk.sh: Improve loggingDarren Hart2014-07-191-32/+60
| | | | | | | | | | | | | | Add logging functions: error, warn, info, and success, using tput to add color highlighting. Use these routines throughout the script, replacing echo statements and adding "|| error" in several places to eliminate silent failures. Add a simple exit block which checks for issues encountered while running. (From OE-Core rev: b5a3f6465a7fd8e821b81da053bf7e11535f1652) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mkefidisk.sh: Copy the EFI dir recursivelyDarren Hart2014-07-191-3/+1
| | | | | | | | | | | Rather than only copying the EFI/BOOT dir, copy the entire EFI dir recursively. This allows for custom configurations to be enabled implicitly with no extra work required. (From OE-Core rev: f6f243bff4fa7c0e876a506a7013c86e0141556c) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mkefidisk.sh: Add gummiboot supportDarren Hart2014-07-191-12/+41
| | | | | | | | | | | | | | | | Fixes [YOCTO 6295] Add gummiboot support for images built using: EFI_PROVIDER="gummiboot" Add conditional configuration for GRUB and gummiboot. Provide some messaging about which is being performed. (From OE-Core rev: b0c86d8149dffd72d0dbd2451031f30953e36dc7) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mkefidisk.sh: Add mount error checkingDarren Hart2014-07-191-0/+4
| | | | | | | | | Provide reasonable feedabck if the mount commands fail. (From OE-Core rev: 07cf8cfb843311d7f868c502d542af51f64d71bd) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mkefidisk.sh: Use all caps for volume namesDarren Hart2014-07-191-3/+3
| | | | | | | | | Avoid some mkfs warnings by using all caps in the volume names. (From OE-Core rev: d80d730a5fa84d3a036d1fc8290620e90d5db460) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts/test-remote-image: add --skip-download optionCorneliu Stoicescu2014-07-161-11/+16
| | | | | | | | | | | Adding the possibility to skip the download phase completely. This is useful for repeating runs with the same image types and similar configurations. (From OE-Core rev: 3cc3f8a069b3d6d895afa6f192b36443b8328f40) Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: Error on zero-sized partitionsTom Zanussi2014-07-161-0/+2
| | | | | | | | | | | | It doesn't make sense to create zero-sized partitions so assume user error and notify the user they should be using a non-zero --size for partitions that don't specify a --source. (From OE-Core rev: 3231562c3c9f8173ddcc0812001aadf0988c8892) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: Add kickstart reference to help systemTom Zanussi2014-07-163-13/+130
| | | | | | | | | | | Add a 'wic kickstart' help section to make it easy for users to access the kickstart reference without having to go to an external website. (From OE-Core rev: 136137ec1c124aee89d2120abded60a5cf0562b0) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: Add wic overview to help systemTom Zanussi2014-07-162-9/+221
| | | | | | | | | | | Add a general overview of wic to the help system as 'wic overview', along with some introductory examples. (From OE-Core rev: fa108caaa53878152e4856d32ce1ab7fe3802287) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: Add vfat supportTom Zanussi2014-07-161-0/+74
| | | | | | | | | | | | | | Add vfat as a supported rootfs type (in addition to the current ext2/3/4 and btrfs support). vfat partitions can now be created using --source rootfs along with --fstype=vfat, or without --source but specifying a --size. (From OE-Core rev: d9efc110fd73822629b2a3326761f2256b9f23b0) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>