AArch32: Miscellaneous fixes in the AArch32 code
authorYatharth Kochar <yatharth.kochar@arm.com>
Wed, 9 Nov 2016 15:39:25 +0000 (15:39 +0000)
committerYatharth Kochar <yatharth.kochar@arm.com>
Thu, 1 Dec 2016 11:02:51 +0000 (11:02 +0000)
commit69d59e0ce9f713b0fd4929908ec1649d29f2cbd4
treefde05328ab9626b1aecdeff086b49c4fb81cc277
parentc59428b1502f37c9b2f551613da1b491c4226d10
AArch32: Miscellaneous fixes in the AArch32 code

This patch makes following miscellaneous fixes:
* pl011_console.S: Fixed the bit mask used to check if the
  transmit FIFO is full or empty.
* smcc_macros.S: Added `_fsxc` suffix while updating the SPSR.
  By default the assembler assumes `_fc` suffix which does not
  update all the fields in SPSR. By adding `_fsxc` suffix all
  the fields gets updated.
* platform_helpers.S: Removed the weak definition for
  `plat_my_core_pos()` as this is a mandatory function which
  needs to be defined by all platforms.

Change-Id: I8302292533c943686fff8d7c749a07132c052a3b
Signed-off-by: Yatharth Kochar <yatharth.kochar@arm.com>
drivers/arm/pl011/aarch32/pl011_console.S
include/lib/aarch32/smcc_macros.S
plat/common/aarch32/platform_helpers.S