Skip to contentSkip to conversation

AT91SAM9XE: add embedded flash support

PATCH Superseded Reinhard Meyer 1 participant 2 messages Aug 20, 2010 – Sep 3, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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

---
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
index 4f467be..def3980 100644
@@ -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
#1 lore raw

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 supported

---
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