Nirmal Kumar
36a609b71f
sm8350-common: gpt-utils: Add UFS BSG IOCTL for slot switch
...
- Use Opensource UFS BSG framework by replacing existing UFS IOCTL implementation.
Change-Id: Idc5ef9658dc93f2d7b351361b59f87cb21c7f7d9
2021-06-01 23:23:38 +01: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
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
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
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