commit | 43ab51b3b51c5ac6f1dc6ec68b18cf338873c944 | [log] [tgz] |
---|---|---|
author | Marcin Rajwa <marcin.rajwa@linux.intel.com> | Tue Nov 05 19:00:08 2019 +0100 |
committer | Marcin Rajwa <marcin.rajwa@linux.intel.com> | Tue Nov 05 19:22:20 2019 +0100 |
tree | 0cc1476a20b8a070516784562b0d1f147c4019dd | |
parent | e5d8a5c93313f6ce42a04fdbef767de85e5539c6 [diff] |
alloc: don't log error if failure was allowed This patch adds another argument to allocator functions which defines if allocation must succeed or can fail. Such addition is needed as in some cases components "probe" memory caps if they ara capable of storing certain amount of data. If they ain't, nothing wrong happens in functional regards since components either decrease is original request or use different memory region. However with current implementation you will see error message saying that allocation has failed. This is very misleading if success of allocation wasn't necessary. Signed-off-by: Marcin Rajwa <marcin.rajwa@linux.intel.com>
See docs
mkdir build && cd build
Baytrail / Cherrytrail:
cmake -DTOOLCHAIN=xtensa-byt-elf -DROOT_DIR=`pwd`/../../xtensa-root/xtensa-byt-elf ..
Haswell / Broadwell:
cmake -DTOOLCHAIN=xtensa-hsw-elf -DROOT_DIR=`pwd`/../../xtensa-root/xtensa-hsw-elf ..
Apollolake:
cmake -DTOOLCHAIN=xtensa-apl-elf -DROOT_DIR=`pwd`/../../xtensa-root/xtensa-apl-elf ..
Cannonlake:
cmake -DTOOLCHAIN=xtensa-cnl-elf -DROOT_DIR=`pwd`/../../xtensa-root/xtensa-cnl-elf ..
Baytrail:
make baytrail_defconfig
Cherrytrail:
make cherrytrail_defconfig
Haswell:
make haswell_defconfig
Broadwell:
make broadwell_defconfig
Apollolake:
make apollolake_defconfig
Cannonlake:
make cannonlake_defconfig
make menuconfig
make bin # or `make bin -j<jobs>` for parallel build
See unit testing documentation
TODO: Add additional notes about how to deploy this on a live system
See Contributing to the Project
This project is licensed under the BSD Clause 3 - see the LICENCE file for details