OSDN Git Service

hw/ppc: e500: Use a macro for the platform clock frequency
authorBin Meng <bin.meng@windriver.com>
Wed, 3 Feb 2021 14:24:47 +0000 (22:24 +0800)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 10 Feb 2021 03:50:11 +0000 (14:50 +1100)
commit0c36ab7114056caa78471016b8990f983168ff47
treeaf370944e8ff0eaba82d1eae337b4076446f23b6
parentdd7ef911b398d96a7b9f2fb26f741045538d7d9b
hw/ppc: e500: Use a macro for the platform clock frequency

At present the platform clock frequency is using a magic number.
Convert it to a macro and use it everywhere.

Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <1612362288-22216-1-git-send-email-bmeng.cn@gmail.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/e500.c