]> git.dujemihanovic.xyz Git - u-boot.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)
commit44199ebc801c8cd485086fb91dde8b359f35c07d
tree8a32a03b593b5395b261f971ddc7d7d786810682
parent7286e46a790b0e007b4039b3d415a230d5ab84be
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