summaryrefslogtreecommitdiff
path: root/src/t30
Commit message (Collapse)AuthorAgeFilesLines
* Correct spelling mistakesHEADmasterEdward Betts2019-09-191-1/+1
| | | | | Signed-off-by: Edward Betts <edward@4angle.com> Signed-off-by: Stephen Warren <swarren@nvidia.com>
* Use C99 uintXX_t instead of implementation-specific u_intXX_t typesThomas Petazzoni2017-10-033-267/+267
| | | | | | | | | | | | | | | | | | | | The u_intXX_t types are implementation-specific and not part of a standard. As an example, they are not provided by the musl C library. Therefore, this commit switches cbootimage to use the C99 uintXX_t types. This commit has been produced by: 1. Running: find . -name '*.[ch]' | xargs sed -i 's%u_int\([0-9]*\)_t%uint\1_t%g' 2. Adding a #include <stdint.h> in cbootimage.h The result has been compile tested with the musl C library. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> (swarren, validated "objdump -d cbootimage" is identical before/after) Signed-off-by: Stephen Warren <swarren@nvidia.com>
* Add update BCT configs featurePenny Chiu2014-04-151-0/+6
| | | | | | | | | This feature reads the BCT data from BCT or BCT with bootloader appended binary, updates the BCT data based on config file, then writes to new image file. Signed-off-by: Penny Chiu <pchiu@nvidia.com> Signed-off-by: Stephen Warren <swarren@nvidia.com>
* Use block_size and page_size tokens when dump BCT dataPenny Chiu2014-04-151-2/+14
| | | | | | | | | Change to use block_size and page_size tokens instead of block_size_log2 and page_size_log2 tokens when dump BCT data. Signed-off-by: Penny Chiu <pchiu@nvidia.com> Signed-off-by: Stephen Warren <swarren@nvidia.com>
* Add token_supported functionPenny Chiu2014-04-151-0/+27
| | | | | | | | | Add a function called token_supported in cbootimage_soc_config. It is used to check if the input token is supported in specific tegra soc. Signed-off-by: Penny Chiu <pchiu@nvidia.com> Signed-off-by: Stephen Warren <swarren@nvidia.com>
* Accept void pointer as input data type for get/set_value functionsPenny Chiu2014-04-151-10/+10
| | | | | | | | | | This change uses void * as input data type for cbootimage_soc_config.get/set_value and context_set_value functions. This makes the functions can accept various data types based on different tokens. Signed-off-by: Penny Chiu <pchiu@nvidia.com> Signed-off-by: Stephen Warren <swarren@nvidia.com>
* Move all source files to subdir "src"Allen Martin2013-04-094-0/+2198
This is in preparation for adding autotools support to help separate the source code from the build support files. Signed-off-by: Allen Martin <amartin@nvidia.com> Change-Id: I128c258db7bbf2c1adf34fbaad188ea7678b79ff Reviewed-on: http://git-master/r/217545 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Stephen Warren <swarren@nvidia.com> Tested-by: Stephen Warren <swarren@nvidia.com>