While ARMv8 SoC will enter U-Boot both on a master and a secondary
(slave) CPU, this is not the common behaviour on ARMv8 platforms.
The norm is that U-Boot is entered from the master CPU only,
while the other CPUs are kept in WFI (wait for interrupt) state.
The code determining which CPU we are running on is using the
MPIDR register, but the definition of that register varies with
platform to some extent, and handling multi-cluster platforms
(such as the Juno) will become cumbersome. It is better to only
enable the multiple entry code on machines that actually need
it and disable it by default.
Make the single entry default and add a special
ARMV8_MULTIENTRY KConfig option to be used by the
platforms that need multientry and set it for ARMv8 Soc.
make it conditional in the generic start.S code.
This makes the Juno platform start U-Boot properly.
Signed-off-by: Firefly <service@t-firefly.com>
Signed-off-by: Firefly <service@t-firefly.com>
From: Firefly <service@t-firefly.com>
Date: Wed, 12 Aug 2015 13:40:31 -0700
Subject: [PATCH] Properly check for Blob max length
sizeof(mBlob.value) is incorrect because writeBlob pads up to the nextAES_BLOCK_SIZE
Bug:22802399
Change-Id: I377edca2c7ea2cf4455f22f5f927fdad79893729
Signed-off-by: Firefly <service@t-firefly.com>
Use external/safe-iop to check for overflows on arithmetic
operations.
Also remove an unnecessary copy of Vector/SharedBuffer from
codeflinger and use the copy from libutils instead.
Note that some of the unit tests are somewhat useless due to
test-runner limitations : gtest's ability to filter on abort message
doesn't work when combined with messages formatted by android's logging
system.
bug: 22953624
(cherry picked from commit c609c31fb56ae434caa2d0153cd0a2f74a715071)
Change-Id: I61644633db6b54fa230683615de9724f7fabf6fb
Add images to make up the value of capacity to make the size of
text bigger.
Also adds support display capacity text on four direction:
- if the resolution of charging animation image is horizontal,
the capacity text display on the top of charging animation image,
but on the bottom if CHARGER_CAPACITY_TEXT_ROTATE_180 is selected;
- and if the resolution of charging animation image is vertical,
the capacity text display on the right of charing animation image,
but on the left if CHARGER_CAPACITY_TEXT_ROTATE_180 is selected.
Signed-off-by: Firefly <service@t-firefly.com>
Use a few battery_*.png images to offer a more general
way of storing and loading frames of animation.
Also adds the battery_*.png image and removes the unused
battery_scale.png image.
Signed-off-by: Firefly <service@t-firefly.com>
kernel will send wakeup events before enter suspend
mode if EPOLLWAKEUP flag set, this will prevent the
system from suspending
Signed-off-by: Firefly <service@t-firefly.com>
Add a callback function to retrieve "signal handler" from the bridge,
if the bridge wants it to be managed by the runtime. The signal handler
will be invoked after the runtime's own one, and before any other
chained handler.
Add a callback function to check compatibility of the bridge with the
library.
Add a function to expose the native bridge version. Add a test for this
function.
Google Bug 20217701
Google Change Id Ic23a60b949f119c7d8b0e7cb27a61e6c16532a23
Change-Id: Ia3a51ee5d7ca6523d66301a5353c0ab749132f54
Category: aosp improvement
Domain: AOSP-Framework-CoreService
Origin: 3rd-party Google
Upstream-Candidate: no, proprietary
Signed-off-by: Firefly <service@t-firefly.com>
Add a callback function to retrieve "signal handler" from the bridge,
if the bridge wants it to be managed by the runtime. The signal handler
will be invoked after the runtime's own one, and before any other
chained handler.
Add a callback function to check compatibility of the bridge with the
library.
Add a function to expose the native bridge version. Add a test for this
function.
Google Bug 20217701
Google Change Id Ic23a60b949f119c7d8b0e7cb27a61e6c16532a23
Change-Id: Ia3a51ee5d7ca6523d66301a5353c0ab749132f54
Category: aosp improvement
Domain: AOSP-Framework-CoreService
Origin: 3rd-party Google
Upstream-Candidate: no, proprietary
Signed-off-by: Firefly <service@t-firefly.com>
Built from toolchain/binutils 5b0b7aca66a30692402df9a9909ebbad7acac259
Contains Yiran's patch to work around overly aggressive hidden symbol
warning.
Bug: http://b/21502954
Change-Id: If30c8c74200d87931f177b38c2724d336750200c
Add a column named is_locked in carriers table, defaule value is 0.
Property "ro.config.lock_apn" controls if this feature needed or not.
If feature needed , set is_locked to 1 when load prebuilt APNs.
Issue:GRANITEFLY-744
Change-Id: If16818f3693f31462d9de4ad1dabd7a9eb91d363
Signed-off-by: Firefly <service@t-firefly.com>
MTP can only be used when it is configured.
Revert this to open MTP correctly.
This reverts commit ea120d66e912e26a88f52cb7d20628ccb1313ee0.
Signed-off-by: Firefly <service@t-firefly.com>