cpu: at91: add driver for CPU
PATCH v2 1/1 cpu: at91: add driver for CPU
Add basic CPU driver use to retrieve information about CPU itself.
Signed-off-by Claudiu Beznea <[email protected]>
---
Changes in v2:
- get rid of compilation warnings
- rebase on top of "MAINTAINERS: add Microchip PIT64B timer" patch
MAINTAINERS | 1 + drivers/cpu/Makefile | 1 + drivers/cpu/at91_cpu.c | 123 +++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 125 insertions(+) create mode 100644 drivers/cpu/at91_cpu.c
MAINTAINERS +1 -0
@@ -291,6 +291,7 @@ S: Maintained T: git https://gitlab.denx.de/u-boot/custodians/u-boot-atmel.git F: arch/arm/mach-at91/ F: board/atmel/ +F: drivers/cpu/at91_cpu.c F: drivers/misc/microchip_flexcom.c F: drivers/timer/mchp-pit64b-timer.c
drivers/cpu/Makefile +1 -0
@@ -8,6 +8,7 @@ obj-$(CONFIG_CPU) += cpu-uclass.o obj-$(CONFIG_ARCH_BMIPS) += bmips_cpu.o obj-$(CONFIG_ARCH_IMX8) += imx8_cpu.o +obj-$(CONFIG_ARCH_AT91) += at91_cpu.o obj-$(CONFIG_CPU_MPC83XX) += mpc83xx_cpu.o obj-$(CONFIG_CPU_RISCV) += riscv_cpu.o obj-$(CONFIG_SANDBOX) += cpu_sandbox.o
drivers/cpu/at91_cpu.c new file +123 -0
123 lines not on this page · raw message
Signature · 1 line
2.7.4
PATCH v2 1/1 cpu: at91: add driver for CPU
Quoted 9 lines · Claudiu Beznea
Add basic CPU driver use to retrieve information about CPU itself.
Signed-off-by Claudiu Beznea <[email protected]>---
Changes in v2:
- get rid of compilation warnings
- rebase on top of "MAINTAINERS: add Microchip PIT64B timer" patch
Quoted 5 lines
MAINTAINERS | 1 + drivers/cpu/Makefile | 1 + drivers/cpu/at91_cpu.c | 123 +++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 125 insertions(+)create mode 100644
drivers/cpu/at91_cpu.c
Applied to u-boot-atmel/next
Thanks !