AT91SAM9XE: add embedded flash support
Subsystems (2)
PATCH v3 1/1 AT91SAM9XE: add embedded flash support
Add support for the embedded flash in the AT91SAM9XE128/256/512 SoCs:
- Environment can be put into that flash
- U-Boot can be in that flash
- Commands "cp" and "protect" are supported
Signed-off-by Reinhard Meyer <[email protected]>
---
Rebased and cosmetical cleanups
arch/arm/cpu/arm926ejs/at91/Makefile | 1 + arch/arm/cpu/arm926ejs/at91/eflash.c | 271 ++++++++++++++++++++++++++++ arch/arm/include/asm/arch-at91/at91_dbu.h | 41 +++++ arch/arm/include/asm/arch-at91/at91_eefc.h | 51 ++++++ 4 files changed, 364 insertions(+), 0 deletions(-) create mode 100644 arch/arm/cpu/arm926ejs/at91/eflash.c create mode 100644 arch/arm/include/asm/arch-at91/at91_dbu.h create mode 100644 arch/arm/include/asm/arch-at91/at91_eefc.h
arch/arm/cpu/arm926ejs/at91/Makefile +1 -0
@@ -34,6 +34,7 @@ COBJS-$(CONFIG_AT91SAM9263) += at91sam9263_devices.o COBJS-$(CONFIG_AT91SAM9RL) += at91sam9rl_devices.o COBJS-$(CONFIG_AT91SAM9M10G45) += at91sam9m10g45_devices.o COBJS-$(CONFIG_AT91SAM9G45) += at91sam9m10g45_devices.o +COBJS-$(CONFIG_AT91_EFLASH) += eflash.o COBJS-$(CONFIG_AT91_LED) += led.o COBJS-y += clock.o COBJS-y += cpu.o
arch/arm/cpu/arm926ejs/at91/eflash.c new file +271 -0
271 lines not on this page · raw message
arch/arm/include/asm/arch-at91/at91_dbu.h new file +41 -0
41 lines not on this page · raw message
arch/arm/include/asm/arch-at91/at91_eefc.h new file +51 -0
51 lines not on this page · raw message
Signature · 1 line
1.5.6.5
PATCH v3 1/1 AT91SAM9XE: add embedded flash support
Quoted 8 lines · Reinhard Meyer
Add support for the embedded flash in the AT91SAM9XE128/256/512 SoCs:
- Environment can be put into that flash
- U-Boot can be in that flash
- Commands "cp" and "protect" are supportedSigned-off-by Reinhard Meyer <[email protected]>---
Rebased and cosmetical cleanups
Quoted 8 lines
arch/arm/cpu/arm926ejs/at91/Makefile | 1 + arch/arm/cpu/arm926ejs/at91/eflash.c | 271 ++++++++++++++++++++++++++++ arch/arm/include/asm/arch-at91/at91_dbu.h | 41 +++++ arch/arm/include/asm/arch-at91/at91_eefc.h | 51 ++++++ 4 files changed, 364 insertions(+), 0 deletions(-) create mode 100644 arch/arm/cpu/arm926ejs/at91/eflash.c create mode 100644 arch/arm/include/asm/arch-at91/at91_dbu.h create mode 100644 arch/arm/include/asm/arch-at91/at91_eefc.h
Applied to u-boot-atmel/next
Thanks,
Reinhard