summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* dpkg, opkg, rpm-postinsts: avoid repackaging when changing IMAGE_FEATURESPaul Eggleton2013-04-113-0/+3
| | | | | | | | | | | | | | | | | | Recipes cannot depend on the value of IMAGE_FEATURES; in this case the result is do_package task signatures changing every time IMAGE_FEATURES changes, causing a large number of task re-executions. The implementation of the log capturing really needs to be changed to capture these in a different place and possibly not even conditional upon IMAGE_FEATURES at all, but this will be invasive at this point in the development cycle. For now, remove the variable dependencies to fix the immediate problem. Fixes [YOCTO #4246]. (From OE-Core rev: b4fbe4095de447ef4e426128bafaf8a292fa63e1) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: handle glibc 2.17 crypt semanticsRoss Burton2013-04-112-0/+25
| | | | | | | | | | | | | | | Staring from glibc 2.17 the crypt() function will error out and return NULL if the seed or "correct" is invalid. The failure case for this is the sudo user having a locked account in /etc/shadow, so their password is "!", which is an invalid hash. crypt() never returned NULL previously so this is crashing in strcmp(). [ YOCTO #4241 ] (From OE-Core rev: 06d7078f7631b92e8b789f8e94a3a346d8181ce6) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* icecc: Allow to use this bbclass together with external toolchainsMartin Jansa2013-04-111-4/+33
| | | | | | | | | * original implementation by Antti Harju (From OE-Core rev: 37c17dcd92244379e59e848cb2d12184bb27d5e5) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package_rpm.bbclass: fix build multilib image failed when PR Server enabledHongxu Jia2013-04-111-1/+8
| | | | | | | | | | | | | | | | | | | | | | 1, In bitbake.conf PKGR ?= "${PR}${EXTENDPRAUTO}" EXTENDPKGV ?= "${EXTENDPKGEVER}${PKGV}-${PKGR}" RDEPENDS_${PN}-dev = "${PN} (= ${EXTENDPKGV})" 2, When PR Server is enabled, EXTENDPRAUTO is not none which means PKGR and PR don't have the same value. 3, When multilib is enabled, RDEPENDS_${PN}-dev is not expanded correctly which uses PR rather than PKGR in the versioned dependency string. 4, Make sure PKGR rather than PR in version string when do_package_rpm. [YOCTO #4050] (From OE-Core rev: e915c0ac6faab824207f0a0227a1f2ac422b3d4f) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Fix path to systemd-analyze so it end up in the right package.Erik Botö2013-04-111-1/+1
| | | | | | | | | | | Since the upgrade to version 199 the location for systemd-analyze has change this caused the systemd-analyze package to be empty and the binary was shipped with the systemd package instead. (From OE-Core rev: 088c499815a6a856ece2bf0d54d6d8f1e7b431fb) Signed-off-by: Erik Botö <erik.boto@pelagicore.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Spell check.1.4_M6.rc1Scott Rifenbark2013-04-111-2/+2
| | | | | | | | | Found a couple words that were fat-fingered and fixed them. (From yocto-docs rev: 593fd043f350bbce302c3de7dce0ab4bdbd2f247) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Using a Development Shell" section.Scott Rifenbark2013-04-111-2/+2
| | | | | | | (From yocto-docs rev: b90142103e053636e1fe5e00e43cff8195146f12) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Image Development Using Hob" section.Scott Rifenbark2013-04-111-7/+11
| | | | | | | (From yocto-docs rev: 62d5833951780cb5e8c39cc37e43bc30cf151d92) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Using a Git Workflow" section.Scott Rifenbark2013-04-111-1/+1
| | | | | | | (From yocto-docs rev: 94358ad29cf92f4094fa5ba336ef9b4ccf3cc81d) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Using a Quilt Workflow" section.Scott Rifenbark2013-04-111-2/+2
| | | | | | | (From yocto-docs rev: 392cfbab010858ce0354a41e1e6c2304a3be9287) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Fixed section heading capitalization.Scott Rifenbark2013-04-111-1/+1
| | | | | | | (From yocto-docs rev: 7f948729342eeb55072816ccade3bc9a32646c92) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Workflow Using Stand-Alone Cross-Development ↵Scott Rifenbark2013-04-111-1/+2
| | | | | | | | | Toolchains" section. (From yocto-docs rev: ea008dbbb0a6ab14ae3fe44238f60f92d85cecde) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Building and Customizing the Image Using Hob" section.Scott Rifenbark2013-04-111-7/+11
| | | | | | | (From yocto-docs rev: bd5fd85a90f4262eda09623fe2398798a4fecfe3) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Changed title - shouldn't say "Files".Scott Rifenbark2013-04-111-2/+2
| | | | | | | (From yocto-docs rev: 538230267d9035ca5230b7176369ed8f95a64128) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Editing the Metadata Files" section.Scott Rifenbark2013-04-111-4/+6
| | | | | | | (From yocto-docs rev: bfa2ed13f7b924b38c3048431a93e3397f4afafa) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Creating the Yocto BitBake Commander Project" section.Scott Rifenbark2013-04-111-9/+12
| | | | | | | (From yocto-docs rev: f6b29db4b5f5f7580ce61fe2650bcaeb29a7d10e) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Customizing an Image Using a BitBake Commander Project ↵Scott Rifenbark2013-04-111-3/+3
| | | | | | | | | and Hob" section. (From yocto-docs rev: 72047560f5ecccf8d1dd7c7e9acb1ae1ec15ffe5) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Fixed an occurence of "User Space" in a title.Scott Rifenbark2013-04-111-1/+1
| | | | | | | | | This should be "User-Space". (From yocto-docs rev: 68bd187b9d0f3aeb8bc173fa49a97e5b01717661) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Running User-Space Tools" section.Scott Rifenbark2013-04-111-35/+42
| | | | | | | (From yocto-docs rev: bb3e5efe23d1bc890ad203e1c936937fb4fd8958) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Deploying and Debugging the Application" section.Scott Rifenbark2013-04-111-15/+18
| | | | | | | (From yocto-docs rev: cfea9d5872952ab21942b4d4cc4ae7ec89fa9d94) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Starting QEMU in User Space NFS Mode" section.Scott Rifenbark2013-04-111-1/+2
| | | | | | | (From yocto-docs rev: 7ef63536e99dfadaa436fd03a174cfae6aebc60a) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Building the Project" section.Scott Rifenbark2013-04-111-2/+3
| | | | | | | (From yocto-docs rev: 4d5903522e13dca6273f6724f05b0a7caab17798) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Configuring the Cross-Toolchains" section.Scott Rifenbark2013-04-111-8/+9
| | | | | | | (From yocto-docs rev: 22bc538effa37ea48884942f204488637663f75b) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Creating the Project" section.Scott Rifenbark2013-04-111-3/+3
| | | | | | | (From yocto-docs rev: 89ab8e345316bb76263e250491e2879d02f1c857) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Configuring the Target Options" section.Scott Rifenbark2013-04-111-2/+2
| | | | | | | (From yocto-docs rev: d47713659d1a4980b7c1d435b97570a6608658d2) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Configuring the Cross-Compiler Options" section.Scott Rifenbark2013-04-111-15/+18
| | | | | | | (From yocto-docs rev: b301486fe522a519fa743975fd229ab9060cf0c8) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Configuring the Eclipse Yocto Plug-in" section.Scott Rifenbark2013-04-111-3/+4
| | | | | | | (From yocto-docs rev: 05795932390370a06599ae6898e2f4d9187f7a37) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Importing the Plug-in Project into the Eclipse ↵Scott Rifenbark2013-04-111-4/+9
| | | | | | | | | Environment" section. (From yocto-docs rev: b1f7160923af2732aa93114f97caadb45e983699) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Installing the Plug-in Using the Latest Source Code" ↵Scott Rifenbark2013-04-111-1/+1
| | | | | | | | | section. (From yocto-docs rev: 28deb9648920ace60924b7d2c23a5d9f614b3f21) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Installing or Accessing the Eclipse Yocto Plug-in" ↵Scott Rifenbark2013-04-111-1/+1
| | | | | | | | | section. (From yocto-docs rev: f526dc09bcf6e89a1fe3ba48b42361b9c7ca1ae3) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits from "Configuring the Eclipse IDE (Indigo)" section.Scott Rifenbark2013-04-111-3/+4
| | | | | | | (From yocto-docs rev: c699e4dfc417f3e4eef2d08b889cf0892254088b) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Configuring the Eclipse IDE (Juno)" section.Scott Rifenbark2013-04-111-2/+2
| | | | | | | (From yocto-docs rev: 45e59bf06861314814682e5a9a4ebcad24ea7b02) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Installing the Eclipse IDE" section.Scott Rifenbark2013-04-111-1/+1
| | | | | | | (From yocto-docs rev: 333563f12cb780be744160077e55ce8c76700971) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Working Within Eclipse" section.Scott Rifenbark2013-04-111-1/+2
| | | | | | | (From yocto-docs rev: 4932263b40b31a230f283091d5d30ebe5bd1440e) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Workflow Using the ADT and Eclipse" section.Scott Rifenbark2013-04-111-9/+9
| | | | | | | (From yocto-docs rev: 2fec6bbe8b89ce41b4fcd40f2ebaa5fa3fe3687e) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Application Development Workflow" section.Scott Rifenbark2013-04-111-3/+5
| | | | | | | (From yocto-docs rev: 022a082f940176f52a0142b3b042a9e6defab728) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Kernel Modification Workflow" section.Scott Rifenbark2013-04-111-5/+6
| | | | | | | (From yocto-docs rev: 0d14d7fe0deb6329370a4fa1a5a069725697bff0) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Kernel Overview" section.Scott Rifenbark2013-04-111-17/+15
| | | | | | | (From yocto-docs rev: a2c37342f0ee1c4b52ed449243785b93b13319b3) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to remote GDB debugging section.Scott Rifenbark2013-04-111-8/+8
| | | | | | | | | | | Fixes YOCTO #3540 Further minor edits to make the example consistent. (From yocto-docs rev: 863a955f5cf119a38db4950101270bd5a53da027) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Developing a Board Support Package (BSP)" section.Scott Rifenbark2013-04-111-8/+9
| | | | | | | (From yocto-docs rev: 29843f6f5cc16c978369df1daf64d9d45d288490) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to the chapter introductory section.Scott Rifenbark2013-04-111-3/+3
| | | | | | | (From yocto-docs rev: 40337dc811ada7f426df3b243455476b98e0cee1) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Did a re-org on the subsections of remote DBG section.Scott Rifenbark2013-04-111-27/+27
| | | | | | | | | | | | Fixes YOCTO #3540 Realized that a better organization of the sub-sections could be applied. Pulled the last two sections up a level. (From yocto-docs rev: d196db9bf1f88aa0677453396abdd61bf5d724dd) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Updates to the debugging using GDB section.Scott Rifenbark2013-04-111-122/+74
| | | | | | | | | | | | | Fixes YOCTO #3540 Applied changes per Jessica Zhang's feedback from the bug entry in Bugzilla. I added some missing steps and also tried to make the section stick with one example throughout. (From yocto-docs rev: f995006a90a3646c92d54dc96a8fceae4de758eb) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pulseaudio: remove spurious cd in do_compile_prependRoss Burton2013-04-111-1/+0
| | | | | | | | | | | | | | This prepend was cding to ${S}, which then breaks base_do_compile as it assumes it's in ${B}. The cd is pointless as all of the operations use absolute paths, so remove it. The result of this was that base_do_compile was failing to find the makefiles, so the compilation happened in do_install. (From OE-Core rev: ac3a8ce0b672d1488c9074bde1a1d062e0c5fd33) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg, opkg, rpm-postinst: fix overwriting the run-postinstall scriptLaurentiu Palcu2013-04-113-17/+28
| | | | | | | | | | | | | | | | | | | | | | | If multiple package managers are installed in the image, they will overwrite each other's run-postinsts script, resulting in postinstalls not beeing run at all at first boot. What this patch does: * checks whether opkg/dpks/rpm is actually used to install the packages and, only after, creates the run-postinsts script; * brings dpkg recipe in sync with opkg: moves the script creation from do_install to postinstall; * move creation of run-postinsts script (rpm-postinsts recipe) to the postinstall scriptlet in order to better control the creation of the script according to the package manager used; [YOCTO #4231] [YOCTO #4179] (From OE-Core rev: d7fd56df0a4954954d6d0764ae06beb869e6b99a) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ptest bug fixesBjörn Stenberg2013-04-113-15/+11
| | | | | | | | | | | | | | | | | | | Move ${PN}-ptest to start of PACKAGES to ensure all ptest files are packaged in the -ptest package. Add QA exclusions to insane.bbclass to ensure -ptest packages can contain any files they need. Disable ptest for native packages. Don't emit errors on missing _ptest functions. (From OE-Core rev: 01bea4ef932e46eb2fcc8b4be7ff5e2b5b2a0978) Signed-off-by: Björn Stenberg <bjst@enea.com> Signed-off-by: Anders Roxell <anders.roxell@enea.com> Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky.conf: update SANITY_TESTED_DISTROSTrevor Woerner2013-04-111-0/+1
| | | | | | | | | | Include release 12.3 of openSUSE as sanity tested. For each of the provided qemu targets I have been able to "bitbake world" and "runqemu". (From meta-yocto rev: d78b34d29e6b38ecabdf5b63b02863a1448edb78) Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* routerstationpro: strip the output kernel of .comment sectionMichel Thebeau2013-04-111-2/+3
| | | | | | | | | | | | | | | | | | | | | | The routerstationpro has a 16mb flash which the kernel image should fit into. The default build type for vmlinux then should be a stripped vmlinux. Use KERNEL_IMAGE_STRIP_EXTRA_SECTIONS to do this. Reverts commit 9cd3816e4db97c8fd093a120a75a2b5d193afcdd, which causes: RedBoot> load -v vlm-boards/19256/kernel Using default protocol (TFTP) Unrecognized image type: 0x0 [YOCTO 3515] [YOCTO 4220] (From meta-yocto rev: 832f94f9de9c7745256935a522044d37d30794aa) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Michel Thebeau <michel.thebeau@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel.bbclass: do_strip: allow recipes to strip the kernelMichel Thebeau2013-04-111-2/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow recipes to specify sections to be stripped from the kernel output using KERNEL_IMAGE_STRIP_EXTRA_SECTIONS. For example: KERNEL_IMAGE_STRIP_EXTRA_SECTIONS = ".comment .unwanted" The kernel output is stripped in place. Since the toolchain does not give indication when the specified sections are absent, we read the sections first and make this report by issuing a warning to the developer. The toolchain by default strips the image with the -s option (even when -s is not specified): -s --strip-all Remove all symbol and relocation information For example, these sections are always removed: .debug_aranges .debug_info .debug_abbrev .debug_line .debug_frame .debug_str .debug_loc .debug_ranges .symtab .strtab In addition to these, the sections listed in KERNEL_IMAGE_STRIP_EXTRA_SECTIONS will also be removed. Only stripping of vmlinux (elf) is supported at this time. A warning will be given if the image type is not vmlinux. Stripping the image could also be done in the kernel, but that would only work for linux-yocto based kernels, so it's not the route we decided to go. [YOCTO 3515] (From OE-Core rev: 5f6d33b05b4e7883f2728ca812cb5386d1e36989) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Michel Thebeau <michel.thebeau@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kern-tools: fix conditional configuration itemsBruce Ashfield2013-04-111-1/+1
| | | | | | | | | | | | | | | | Variables defined in .scc files have two purposes: - Documentation in the meta-series - Variables that can be tested in sub sections and other features The second part of this functionality was broken when fixing configuration for tiny/small systems. As a result, arch tests were failing and configs were dropped. This restores the existing functionality. (From OE-Core rev: 4170e458e0f700319f4e1023c0c6c2d803449566) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>