Commit graph

10 commits

Author SHA1 Message Date
Bruno Martins
410e7ff323 sm8350-common: Initial common device tree conversion
Change-Id: I0d7188b3fa82dddf3f9fb9523d716a8f15f46184
2021-06-01 11:12:31 +02:00
LuK1337
44b14163e8 sm8250-common: gpt-utils: Drop unnecessary include
* When using generated_kernel_headers including
  stdio.h will cause errors due to redefined macros.

Change-Id: I2f753a64f760b636be1325873e17697466fbf33d
2020-11-20 14:27:15 +01:00
LuK1337
98a0defd38 sdm845-common -> sm8250-common 2020-06-27 00:17:12 +02:00
LuK1337
91a40a6288 sdm845-common: Sync gpt-utils with LA.UM.8.3.r1-07600-sdm845.0
Change-Id: Ie64fd5b0b270ec674e8d4d10c0ea6518abfa27b5
2020-04-06 14:11:44 +02:00
LuK1337
8937c5d867 sdm845-common: gpt-utils: Drop unnecessary include
* When using generated_kernel_headers including
  asm/byteorder.h will cause a warning due to
  unused static functions.

Change-Id: I2a74ec92487c13c4645048c96da8cb92b3cbd9f0
2019-09-10 04:20:20 +02:00
LuK1337
8972d3c504 sdm845-common: gpt-utils: Use generated_kernel_headers
Change-Id: Id56f1c0603ff13b5d64eb4db33807ac13dcdd619
2019-09-10 04:20:20 +02:00
Logan Chien
edf9d564c1 sdm845-common: gpt-utils: Replace libsparse.so with libz.so
This commit replaces sparse_crc32() with crc32() from libz.so because
libsparse.so won't be vendor available.

Bug: 38303202
Test: android builds
Change-Id: Ib318da74b5d55f729cbd40d9a62da53e6316fe7b
2019-09-10 04:20:20 +02:00
Tao Bao
3d44710fb6 sdm845-common: gpt-utils: Address the warnings
[ 11% 2/18] target  C++: libgptutils <= device/google/crosshatch/gpt-utils/gpt-utils.cpp
In file included from device/google/crosshatch/gpt-utils/gpt-utils.cpp:54:
system/core/libcutils/include_vndk/cutils/log.h:38:2: warning: "Deprecated: don't include cutils/log.h, use either android/log.h or log/log.h" [-W#warnings]
 ^
device/google/crosshatch/gpt-utils/gpt-utils.cpp:750:17: warning: unused variable 'ufs_dir_stat' [-Wunused-variable]
    struct stat ufs_dir_stat;
                ^
device/google/crosshatch/gpt-utils/gpt-utils.cpp:973:13: warning: unused variable 'r' [-Wunused-variable]
        int r, fd;
            ^
device/google/crosshatch/gpt-utils/gpt-utils.cpp:973:16: warning: unused variable 'fd' [-Wunused-variable]
        int r, fd;
               ^
4 warnings generated.

Test: lunch blueline-userdebug && m -j libgptutils
Change-Id: Idd9174276d8a5b7b77c2ec48c745a78184f65fcf
2019-09-10 04:20:20 +02:00
Hridya Valsaraju
d83ed40ebd sdm845-common: Build libgptutils with Android.bp
This is required to build bootctrl.sdm845 with Android.bp.

Bug: 78793464
Test: make

Change-Id: Iff4f50ad363cc003d60a5380addd79749b547514
2019-09-10 04:20:20 +02:00
Luca Stefani
3b332363e4 sdm845-common: Import bootctrl and gpt-utils
* From CAF LA.UM.6.3.r4-04300-sdm845.0, modified to build with VNDK current

Change-Id: I0ad3c54134a95626521048331b9be9eee04b508d
2018-07-13 12:01:45 +02:00