Warning appeared in dmesg in the kernel for clock_late_init
since clocks were left on during transition to kernel from lk.
Needed to turn off all branch clocks first then root and pll
phy last.
Change-Id: I21097014f4eb4a993774bb792e2580eb409dfb4d
CRs-Fixed: 301297
-- Add 'fastboot oem unlock' command.
-- Add support to store ulock and rooted flags on disk.
-- Add support to reset rooted flag on request from recovery partition.
Change-Id: I9dc5c13f69a266ff6c81cc7157b43a975fbbf9e0
This uses openssl to check the boot image prior
to jumping to kernel to see if it is a signed
kernel image.
Change-Id: I92927fd9317a0f701dab395cc6d39929c64340c1
When Debug level is defined as more than 1 compilation fails with
undefined reference to current_time_hires. Implement current_time_hires
to fix this issue.
Change-Id: I9636928f501ac1bd75cdf424ac50c2fab844b3bc
- For splash screen to work on FFA , toggle RESET pin of DSI
client before sending panel init commands.
- Ensure DSI Bridge chip is powered down during apps BL
exit so that when kernel comes up DSI client will be powered
on in a clean state.
- Also corrected missing indentation in shutdown function.
Change-Id: If3cf4f90463379871ebf4f66b7fe0da8bf1a742f
This is used for verifying signed kernel.
Openssl library will be used for certificate parsing
and rsa decryption.
Change-Id: Icf0024afd8f4d8690d077b47f4b9e83cad1e4813
Initial port of openssl included the Android.mk files. This
will break building android from Top level of android. Removing
the Android.mk files copied from openssl library in external.
Change-Id: I9610f2c27647b9997ac989e110e4d9c3b3cf49da
Add support to prepare bad block table and use the same to
check for bad blocks before reading any page. This would
avoid calling isbad() function for each page and will be more
efficient. With current implementation we are calling isbad()
function around 2048 times for reading 8MB of boot image.
Change-Id: I9b58c43a71de6a3e42997d2f1a150f3330df33c2
CRs-Fixed: 288863
Platform check added to decide which panel to turn on for splash
screen. Also changed to enable fbcon before power up the panel to
avoid a flicker.
Change-Id: I71851862f960294220df3f030b679c5694381d7d
The facilities to manage a key buffer with non-busy waiting already
exist, so use the existing lib in the keyboard driver instead of the
custom circular queue and wait queue.
Fixes hack in dgetc using arch_idle. Now platform_read_key uses a wait
queue to sleep until a key is available in the key buffer, allowing the
idle thread or other threads to run. Since the idle thread gets a chance
to run, idle time accounting is now unbroken.