]> git.dujemihanovic.xyz Git - u-boot.git/commit
board: Rename uclass to sysinfo
authorSimon Glass <sjg@chromium.org>
Thu, 5 Nov 2020 13:32:05 +0000 (06:32 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 6 Nov 2020 02:18:20 +0000 (10:18 +0800)
commit3a8ee3df836614b68881f5b84d3197305ee1b08e
treeff5e90586913588eb3dcb8babb01cd2893a8644a
parenta40f890bdb01c54745274a939cd23942d92648ab
board: Rename uclass to sysinfo

This uclass is intended to provide a way to obtain information about a
U-Boot board. But the concept of a U-Boot 'board' is the whole system,
not just one circuit board, meaning that 'board' is something of a
misnomer for this uclass.

In addition, the name 'board' is a bit overused in U-Boot and we want to
use the same uclass to provide SMBIOS information.

The obvious name is 'system' but that is so vague as to be meaningless.
Use 'sysinfo' instead, since this uclass is aimed at providing information
on the system.

Rename everything accordingly.

Note: Due to the patch delta caused by the symbol renames, this patch
shows some renamed files as being deleted in one place and created in
another.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
29 files changed:
arch/powerpc/dts/gdsys/gazerbeam-uboot.dtsi
arch/sandbox/dts/test.dts
board/gdsys/common/cmd_ioloop.c
board/gdsys/mpc8308/gazerbeam.c
board/google/chromebook_coral/coral.c
common/spl/spl_fit.c
configs/chromebook_coral_defconfig
configs/gazerbeam_defconfig
configs/sandbox64_defconfig
configs/sandbox_defconfig
configs/sandbox_flattree_defconfig
configs/sandbox_spl_defconfig
doc/device-tree-bindings/sysinfo/gdsys,sysinfo_gazerbeam.txt [moved from doc/device-tree-bindings/board/gdsys,board_gazerbeam.txt with 90% similarity]
drivers/Kconfig
drivers/Makefile
drivers/board/board-uclass.c [deleted file]
drivers/sysinfo/Kconfig [moved from drivers/board/Kconfig with 65% similarity]
drivers/sysinfo/Makefile [moved from drivers/board/Makefile with 50% similarity]
drivers/sysinfo/gazerbeam.c [moved from drivers/board/gazerbeam.c with 69% similarity]
drivers/sysinfo/gazerbeam.h [moved from drivers/board/gazerbeam.h with 100% similarity]
drivers/sysinfo/sandbox.c [moved from drivers/board/sandbox.c with 50% similarity]
drivers/sysinfo/sandbox.h [moved from drivers/board/sandbox.h with 100% similarity]
drivers/sysinfo/sysinfo-uclass.c [new file with mode: 0644]
drivers/timer/mpc83xx_timer.c
include/dm/uclass-id.h
include/sysinfo.h [moved from include/board.h with 65% similarity]
test/dm/Makefile
test/dm/board.c [deleted file]
test/dm/sysinfo.c [new file with mode: 0644]