Skip to content

Commit

Permalink
target-arm/cpu64.c: Actually register Cortex-A57 impdef registers
Browse files Browse the repository at this point in the history
cpu64.c contains a reginfo list for the impdef registers on
the Cortex-A57; however we forgot to actually call define_arm_cp_regs(),
so it was sitting there doing nothing. Remedy this omission.

Message-id: 1401226259-23121-1-git-send-email-peter.maydell@linaro.org
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Tested-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
  • Loading branch information
pm215 committed Jun 9, 2014
1 parent 61e9924 commit bf01601
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions target-arm/cpu64.c
Expand Up @@ -128,6 +128,7 @@ static void aarch64_a57_initfn(Object *obj)
cpu->ccsidr[1] = 0x201fe012; /* 48KB L1 icache */
cpu->ccsidr[2] = 0x70ffe07a; /* 2048KB L2 cache */
cpu->dcz_blocksize = 4; /* 64 bytes */
define_arm_cp_regs(cpu, cortexa57_cp_reginfo);
}

#ifdef CONFIG_USER_ONLY
Expand Down

0 comments on commit bf01601

Please sign in to comment.