aboutsummaryrefslogtreecommitdiff
path: root/tcl/board/lpc4350_spifi_generic.cfg
blob: a529c19bbce7c772ca33f44072e86bc3fb86650f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#
# Generic LPC4350 board w/ SPIFI flash.
# This config file is intended as an example of how to
# use the lpcspifi flash driver, but it should be functional
# for most LPC4350 boards utilizing SPIFI flash.

set CHIPNAME lpc4350

source [find target/lpc4350.cfg]

#A large working area greatly reduces flash write times
set _WORKAREASIZE 0x2000

$_CHIPNAME.m4 configure -work-area-phys 0x10000000 -work-area-size $_WORKAREASIZE

#Configure the flash bank; 0x14000000 is the base address for
#lpc43xx/lpc18xx family micros.
flash bank SPIFI_FLASH lpcspifi 0x14000000 0 0 0 $_CHIPNAME.m4