]> git.baikalelectronics.ru Git - uboot.git/commit
board: ax25-ae350: Support cfi flash
authorRick Chen <rick@andestech.com>
Tue, 29 May 2018 03:07:53 +0000 (11:07 +0800)
committerAndes <uboot@andestech.com>
Tue, 29 May 2018 06:45:04 +0000 (14:45 +0800)
commit4c2ba339b155841258854d48d3508cf32773c4d1
tree8a32a03b593b5395b261f971ddc7d7d786810682
parenta61941f1362e26779688aab4fcbc2bbb8cf00237
board: ax25-ae350: Support cfi flash

Add smc_init() to get register base from dts and
deal with atfsmc020 controler initialzation job.

Write protect is enabled by default. So WP shall
be disabled when startup, then cfi flash can be
detected and erasing and writing can be executed.

Adp-ae3xx and adp-ag101p both do smc initilize job
in lowlevel_init.S and get register base fron
CONFIG_FTSMC020_BASE. They also can be moved those
codes to board stage. Remind them as todo jobs.
After that CONFIG_FTSMC020_BASE can be removed.

Signed-off-by: Rick Chen <rick@andestech.com>
Signed-off-by: Rick Chen <rickchen36@gmail.com>
Cc: Greentime Hu <green.hu@gmail.com>
board/AndesTech/ax25-ae350/ax25-ae350.c