[U-Boot] [PATCH 3/4] x86: baytrail: Use macros instead of magic numbers for FSP settings

Simon Glass sjg at chromium.org
Thu Jun 1 03:12:11 UTC 2017


On 31 May 2017 at 02:04, Bin Meng <bmeng.cn at gmail.com> wrote:
> Introduce various meaningful macros for FSP settings and switch over
> to use them instead of magic numbers.
>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
> ---
>
>  arch/x86/cpu/baytrail/fsp_configs.c                | 35 +++++-----
>  arch/x86/dts/bayleybay.dts                         | 17 ++---
>  arch/x86/dts/baytrail_som-db5800-som-6867.dts      | 15 +++--
>  arch/x86/dts/conga-qeval20-qa3-e3845.dts           | 29 ++++----
>  arch/x86/dts/dfi-bt700.dtsi                        | 29 ++++----
>  arch/x86/dts/minnowmax.dts                         | 29 ++++----
>  .../include/asm/arch-baytrail/fsp/fsp_configs.h    | 77 ++++++++++++++++++++++
>  .../misc/intel,baytrail-fsp.txt                    | 74 +++++++--------------
>  8 files changed, 181 insertions(+), 124 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list