[U-Boot] [PATCH v5 2/2] nios2: convert altera sysid to driver model

Simon Glass sjg at chromium.org
Thu Oct 8 00:47:59 CEST 2015


On 7 October 2015 at 13:29, Thomas Chou <thomas at wytron.com.tw> wrote:
> Convert altera sysid to driver model with misc uclass.
>
> Signed-off-by: Thomas Chou <thomas at wytron.com.tw>
> Acked-by: Chin Liang See <clsee at altera.com>
> ---
> v2
>   fix coding style.
> v3
>   doc dts binding.
> v4
>   no change.
> v5
>   sort headers inclusion as Simon suggested.
>   add display_sysid() to asm/system.h.
>
>  arch/nios2/cpu/Makefile                    |   2 +-
>  arch/nios2/cpu/cpu.c                       |  13 +---
>  arch/nios2/cpu/sysid.c                     |  46 -------------
>  arch/nios2/dts/3c120_devboard.dts          |   6 ++
>  arch/nios2/include/asm/system.h            |   2 +
>  board/altera/nios2-generic/nios2-generic.c |   5 +-
>  configs/nios2-generic_defconfig            |   2 +
>  drivers/misc/Kconfig                       |   7 ++
>  drivers/misc/Makefile                      |   1 +
>  drivers/misc/altera_sysid.c                | 101 +++++++++++++++++++++++++++++
>  include/configs/nios2-generic.h            |   2 +-
>  11 files changed, 127 insertions(+), 60 deletions(-)
>  delete mode 100644 arch/nios2/cpu/sysid.c
>  create mode 100644 drivers/misc/altera_sysid.c

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


More information about the U-Boot mailing list