plat: intel: Fix mailbox send_cmd issue
There are a few issues in mailbox that needs to be fixed.
- Send doorbell after an indirect cmd
- Do not ring doorbell when polling mailbox response as it should've been
sent by send_cmd
- remove unneeded cmd_free_offset check
- Fix mailbox initialization
- Fix get_config_status returning a wrong status when the status is busy
- Add command length in mailbox command header

Signed-off-by: Tien Hock, Loh <tien.hock.loh@intel.com>
Change-Id: If613e2ca889a540a616c62d69ad0086a7cd46536
1 parent ec7d005 commit 68dd5e15ebb81cb85e2208fa77fc827d67bb7609
@Tien Hock, Loh Tien Hock, Loh authored on 30 Oct 2019
Hadi Asyrafi committed on 17 Dec 2019
Showing 2 changed files
View
plat/intel/soc/common/include/socfpga_mailbox.h
View
plat/intel/soc/common/soc/socfpga_mailbox.c