| d19e6cbe | 17-Oct-2014 |
Jens Wiklander <jens.wiklander@linaro.org> |
uart: add baudrate and clock freqency to uart_init
Adds baudrate and clock frequency as agruments to uart_init().
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Pascal Brand
uart: add baudrate and clock freqency to uart_init
Adds baudrate and clock frequency as agruments to uart_init().
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
show more ...
|
| 7d657278 | 03-Nov-2014 |
Pascal Brand <pascal.brand@st.com> |
Travis: checkpatch: do not warn on file addition/removal
Signed-off-by: Pascal Brand <pascal.brand@st.com> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Jerome Forissier <jero
Travis: checkpatch: do not warn on file addition/removal
Signed-off-by: Pascal Brand <pascal.brand@st.com> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
show more ...
|
| 4e4547c8 | 30-Oct-2014 |
Jens Wiklander <jens.wiklander@linaro.org> |
Rename teesmc_st.h to teesmc_optee.h
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU virt platform) Reviewed-by: Pascal Brand <p
Rename teesmc_st.h to teesmc_optee.h
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU virt platform) Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
show more ...
|
| 71767a5c | 29-Oct-2014 |
Jerome Forissier <jerome.forissier@linaro.org> |
Support PLATFORM=<platform>-<flavor>
When $(PLATFORM) contains a hyphen, parse it as $(PLATFORM)-$(PLATFORM_FLAVOR). Then, one can use: $ make PLATFORM=vexpress-fvp ... instead of: $ make PLATFORM=v
Support PLATFORM=<platform>-<flavor>
When $(PLATFORM) contains a hyphen, parse it as $(PLATFORM)-$(PLATFORM_FLAVOR). Then, one can use: $ make PLATFORM=vexpress-fvp ... instead of: $ make PLATFORM=vexpress PLATFORM_FLAVOR=fvp ...
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
show more ...
|
| 73d6c3ba | 27-Oct-2014 |
Joakim Bech <joakim.bech@linaro.org> |
Digest operations now supports NULL arguments
Hash algorithms should support NULL arguments and zero length strings. Following changes will make is possible to call TEE_DigestUpdate and TEE_DigestDo
Digest operations now supports NULL arguments
Hash algorithms should support NULL arguments and zero length strings. Following changes will make is possible to call TEE_DigestUpdate and TEE_DigestDoFinal interchangeably.
Following combinations are now working. ---------------------------------------- | TEE_DigestUpdate | TEE_DigestDoFinal | ---------------------------------------- | NULL | NULL | | NULL | MESSAGE | | MESSAGE | NULL | | MESSAGE | MESSAGE | | N/A | NULL | | N/A | MESSAGE | ----------------------------------------
Signed-off-by: Joakim Bech <joakim.bech@linaro.org> Tested-by: Joakim Bech <joakim.bech@linaro.org> (FVP) Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Tested-by: Pascal Brand <pascal.brand@linaro.org> (STM platform)
show more ...
|
| 14a1938c | 28-Oct-2014 |
Pascal Brand <pascal.brand@st.com> |
Less traces in Travis
Verbose of tar is removed so that the complete build trace is available in the Travis console, without having to look at the raw data.
Reviewed-by: Jens Wiklander <jens.wiklan
Less traces in Travis
Verbose of tar is removed so that the complete build trace is available in the Travis console, without having to look at the raw data.
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Pascal Brand <pascal.brand@st.com>
show more ...
|
| 2e4f9ff6 | 20-Oct-2014 |
Joakim Bech <joakim.bech@linaro.org> |
TA-dev-kit: build TA with -mfloat-abi=soft
Solves the same problem as in commit e46048ea67f7...
Signed-off-by: Joakim Bech <joakim.bech@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.or
TA-dev-kit: build TA with -mfloat-abi=soft
Solves the same problem as in commit e46048ea67f7...
Signed-off-by: Joakim Bech <joakim.bech@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 9e9234fc | 21-Oct-2014 |
Thierry BINIGUER <thierry.biniguer@st.com> |
Fix to finalize mac compute when there is not a last message chunk.
Code implemented in TAs may need to call TEE_MACComputeFinal, without last message chunk.
Reviewed-by: Jens Wiklander <jens.wikla
Fix to finalize mac compute when there is not a last message chunk.
Code implemented in TAs may need to call TEE_MACComputeFinal, without last message chunk.
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Tested-by: Pascal Brand <pascal.brand@linaro.org> (STM platform) Tested-by: Thierry BINIGUER <thierry.biniguer@st.com> Reviewed-by: Pascal BRAND <pascal.brand@st.com> Tested-by: Etienne CARRIERE <etienne.carriere@st.com> Reviewed-by: Etienne CARRIERE <etienne.carriere@st.com> Signed-off-by: Pascal Brand <pascal.brand@st.com>
show more ...
|
| 106d8aa6 | 23-Oct-2014 |
Pascal Brand <pascal.brand@st.com> |
core: generic buffer inside/outside/intersect routine
Remove multiple implementation of "is buffer inside a buffer" and friends and rely on a generic core_is_buffer_inside/outside/intersect().
Revi
core: generic buffer inside/outside/intersect routine
Remove multiple implementation of "is buffer inside a buffer" and friends and rely on a generic core_is_buffer_inside/outside/intersect().
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Pascal Brand <pascal.brand@linaro.org> (STM platform) Signed-off-by: Pascal Brand <pascal.brand@st.com>
show more ...
|
| 54e04708 | 23-Oct-2014 |
Pascal Brand <pascal.brand@st.com> |
Move tee_misc in generic part
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Pascal Brand <pascal.brand@st.com> |
| b7fc217f | 23-Oct-2014 |
Pascal Brand <pascal.brand@st.com> |
Cleanup
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Pascal Brand <pascal.brand@st.com> |
| d49a58db | 20-Oct-2014 |
Jens Wiklander <jens.wiklander@linaro.org> |
libmpa: remove floating point calculations
Removes floating point calculations in libmap. The floating point calculations was unused but caused compile error when compiled with DEBUG=1.
Signed-off-
libmpa: remove floating point calculations
Removes floating point calculations in libmap. The floating point calculations was unused but caused compile error when compiled with DEBUG=1.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Tested-by: Pascal Brand <pascal.brand@linaro.org> (STM platform) Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU virt platform)
show more ...
|
| 13b18192 | 02-Oct-2014 |
Jens Wiklander <jens.wiklander@linaro.org> |
mpa_desc.c: convert from DOS to UNIX format
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Pascal Brand <pascal.br
mpa_desc.c: convert from DOS to UNIX format
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
show more ...
|
| b9e3eace | 23-Oct-2014 |
Jens Wiklander <jens.wiklander@linaro.org> |
plat-vexpress: set libtomcrypt_with_optimize_size
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Pascal Brand <pas
plat-vexpress: set libtomcrypt_with_optimize_size
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
show more ...
|
| 64cbf7ca | 01-Oct-2014 |
Jens Wiklander <jens.wiklander@linaro.org> |
Minimize LTC with some flags
Sets LTC_NO_TEST for globally.
Lets platform decide with libtomcrypt_with_optimize_size if LTC_SMALL_CODE and LTC_NO_FAST should be set.
Signed-off-by: Jens Wiklander
Minimize LTC with some flags
Sets LTC_NO_TEST for globally.
Lets platform decide with libtomcrypt_with_optimize_size if LTC_SMALL_CODE and LTC_NO_FAST should be set.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
show more ...
|
| 8ef21169 | 21-Oct-2014 |
Joakim Bech <joakim.bech@linaro.org> |
Add stable commits to the setup FVP script
Instead of checking out latest on all Gits we have now identified a couple of commits for all Gits (except optee_os) that could be considered as stable com
Add stable commits to the setup FVP script
Instead of checking out latest on all Gits we have now identified a couple of commits for all Gits (except optee_os) that could be considered as stable commits.
Also added a script that cleans all Gits.
Signed-off-by: Joakim Bech <joakim.bech@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Tested-by: Joakim Bech <joakim.bech@linaro.org> (FVP)
show more ...
|
| c0e35566 | 08-Oct-2014 |
Jerome Forissier <jerome.forissier@linaro.org> |
Add dhex_dump() and DHEXDUMP() to format and print data in hexadecimal
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-
Add dhex_dump() and DHEXDUMP() to format and print data in hexadecimal
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Tested-by: Pascal Brand <pascal.brand@linaro.org> (STM platform)
show more ...
|
| 73dc728d | 25-Sep-2014 |
Jerome Forissier <jerome.forissier@linaro.org> |
Add support for per-directory/per-library/per-file includes, and per-library CPP flags
The new variables that can be used in sub.mk are:
1) For includes: incdirs-y, incdirs-lib-y, incdirs-<filena
Add support for per-directory/per-library/per-file includes, and per-library CPP flags
The new variables that can be used in sub.mk are:
1) For includes: incdirs-y, incdirs-lib-y, incdirs-<filename>-y
For example, suppose core/lib/libfoo/sub.mk contains the following:
# All source files declared in $(srcs-y) in this sub.mk will # have -Icore/lib/libfoo/include incdirs-y := include
# All source files for the current library $(libname) will be built # with -Icore/lib/libfoo/include/baz (even files that are in other # directories) incdirs-lib-y := include/baz
# In addition to the above, bar.c will be compiled with # -Icore/lib/libfoo/include/bar incdirs-bar.c-y := include/bar
2) For CPP flags: cppflags-lib-y
For example, to add -DLIBFOO to all the source files that belong to the same library, add this to any of the sub.mk files:
cppflags-lib-y := -DLIBFOO
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU virt platform)
show more ...
|
| 1b10abf4 | 20-Oct-2014 |
Pascal Brand <pascal.brand@st.com> |
Travis now runs checkpatch.pl
Note that this implies: - If checkpatch.pl fails, Travis results is now "failed". In such a case, it must be checked that - checkpatch.pl fails for good reason (GP
Travis now runs checkpatch.pl
Note that this implies: - If checkpatch.pl fails, Travis results is now "failed". In such a case, it must be checked that - checkpatch.pl fails for good reason (GP CamelCase style for ex.) - all the compilations steps are fine - Signing the commit is now mandatory git commit -s ... - When pushing several commits on the same branch (same pull-request), checkpatch.pl is run only on the code differences given by the the last commit
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Pascal Brand <pascal.brand@linaro.org> Signed-off-by: Pascal Brand <pascal.brand@st.com>
show more ...
|
| 452eae19 | 21-Oct-2014 |
Pascal Brand <pascal.brand@st.com> |
Fix wrong parameter in GCM authentication
Signed-off-by: Pascal Brand <pascal.brand@st.com> Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Tested-by: Pascal Brand <pascal.brand@linaro.o
Fix wrong parameter in GCM authentication
Signed-off-by: Pascal Brand <pascal.brand@st.com> Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Tested-by: Pascal Brand <pascal.brand@linaro.org> (STM platform)
show more ...
|
| 00d6ec64 | 21-Oct-2014 |
Jens Wiklander <jens.wiklander@linaro.org> |
plat-vexpress: Set CPSR.A when initializing
Sets CPSR.A when initializing a core. The bit should already be set by the OP-TEE Dispatcher in ARM Trusted Firmware but in case it isn't make sure the bi
plat-vexpress: Set CPSR.A when initializing
Sets CPSR.A when initializing a core. The bit should already be set by the OP-TEE Dispatcher in ARM Trusted Firmware but in case it isn't make sure the bit is set.
Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Tested-by: Pascal Brand <pascal.brand@linaro.org> (STM platform) Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (FVP platform)
show more ...
|
| c3b4bb3a | 21-Oct-2014 |
Jens Wiklander <jens.wiklander@linaro.org> |
Update relevant "msr {s,c}prs, reg" instructions
Updates relevant "msr {s,c}prs, reg" instructions to "msr {s,c}prs_fsxc, reg" to avoid loosing bits when setting SPSR/CPSR.
Reviewed-by: Joakim Bech
Update relevant "msr {s,c}prs, reg" instructions
Updates relevant "msr {s,c}prs, reg" instructions to "msr {s,c}prs_fsxc, reg" to avoid loosing bits when setting SPSR/CPSR.
Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
show more ...
|
| 19ef261a | 09-Oct-2014 |
Jens Wiklander <jens.wiklander@linaro.org> |
Remove unused chip_services.c
Removes chip_services.c and declaration of enable_secure_wd() in chip_services.h
Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Tested-by: Pascal Brand <pascal.br
Remove unused chip_services.c
Removes chip_services.c and declaration of enable_secure_wd() in chip_services.h
Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Tested-by: Pascal Brand <pascal.brand@linaro.org> Tested-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| c507e4c2 | 09-Oct-2014 |
Jens Wiklander <jens.wiklander@linaro.org> |
Remove unused function tee_pobj_init
Reviewed-by: Pascal Brand <pascal.brand@linaro.org> |
| d9d2e327 | 16-Oct-2014 |
Pascal Brand <pascal.brand@st.com> |
Fix TEE_BigIntMulMod
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Pascal Brand <pascal.brand@linaro.org> Signed-off-by: Pascal Brand <pascal.brand@st.com> |