diff options
author | Andreas Färber <afaerber@suse.de> | 2016-04-17 17:36:25 +0200 |
---|---|---|
committer | Freddie Chopin <freddie.chopin@gmail.com> | 2016-05-05 07:26:38 +0100 |
commit | 2745e42ec192c02ad64b61cab136038f4c8b2f48 (patch) | |
tree | 33f36f7033c47a3cef4ed0cfcf72b3a5717934c9 /src/flash/nor/Makefile.am | |
parent | 0534a5e0abf979072f6342f8adc691b81024b209 (diff) | |
download | riscv-openocd-2745e42ec192c02ad64b61cab136038f4c8b2f48.zip riscv-openocd-2745e42ec192c02ad64b61cab136038f4c8b2f48.tar.gz riscv-openocd-2745e42ec192c02ad64b61cab136038f4c8b2f48.tar.bz2 |
flash/nor: Reorder drivers alphabetically
To avoid conflicts between flash drivers being added, consistently use
an alphabetical sort order for the three places new drivers get added:
* Makefile.am NOR_DRIVERS (note: automake disallows a trailing backslash)
* drivers.c struct flash_driver forward declarations
* drivers.c flash_drivers array
Change-Id: Idcd6a8e12821ef10958a6b3ad7bac0dc63cadd08
Signed-off-by: Andreas Färber <afaerber@suse.de>
Reviewed-on: http://openocd.zylin.com/3417
Tested-by: jenkins
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
Diffstat (limited to 'src/flash/nor/Makefile.am')
-rw-r--r-- | src/flash/nor/Makefile.am | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/src/flash/nor/Makefile.am b/src/flash/nor/Makefile.am index 33a517a..b5fab1f 100644 --- a/src/flash/nor/Makefile.am +++ b/src/flash/nor/Makefile.am @@ -18,18 +18,29 @@ NOR_DRIVERS = \ atsamv.c \ avrf.c \ cfi.c \ + dsp5680xx_flash.c \ efm32.c \ em357.c \ faux.c \ + fm3.c \ + fm4.c \ jtagspi.c \ + kinetis.c \ + kinetis_ke.c \ lpc2000.c \ lpc288x.c \ lpc2900.c \ lpcspifi.c \ mdr.c \ + mrvlqspi.c \ + niietcm4.c \ non_cfi.c \ + nrf51.c \ + numicro.c \ ocl.c \ pic32mx.c \ + psoc4.c \ + sim3x.c \ spi.c \ stmsmi.c \ stellaris.c \ @@ -42,19 +53,7 @@ NOR_DRIVERS = \ str9xpec.c \ tms470.c \ virtual.c \ - fm3.c \ - fm4.c \ - dsp5680xx_flash.c \ - kinetis.c \ - kinetis_ke.c \ - numicro.c \ - nrf51.c \ - mrvlqspi.c \ - psoc4.c \ - sim3x.c \ - xmc4xxx.c \ - niietcm4.c - + xmc4xxx.c noinst_HEADERS = \ core.h \ |