Mercurial > nand-ecoscentric
changeset 3396:ca49a7404897
io/nand: Tweak initialiser priority
| author | Ross Younger <wry@ecoscentric.com> |
|---|---|
| date | Sat, 06 Dec 2014 08:22:40 +1300 |
| parents | 707de7f35fc7 |
| children | 4cce65f46b89 |
| files | packages/io/nand/current/ChangeLog packages/io/nand/current/src/nandinit.cxx |
| diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/packages/io/nand/current/ChangeLog +++ b/packages/io/nand/current/ChangeLog @@ -1,3 +1,7 @@ +2014-12-06 Ross Younger <wry@ecoscentric.com> + + * src/nandinit.cxx: Another tweak to initialiser priority + 2014-12-02 Ross Younger <wry@ecoscentric.com> * cdl/nand.cdl tests/nand_readlimits.c tests/nand_readwrite.c
--- a/packages/io/nand/current/src/nandinit.cxx +++ b/packages/io/nand/current/src/nandinit.cxx @@ -66,7 +66,7 @@ class cyg_nand_init_class { // And here's an instance of it so that it fires: -static cyg_nand_init_class _cyg_nand_init CYGBLD_ATTRIB_INIT_PRI(CYG_INIT_CONFIG); +static cyg_nand_init_class _cyg_nand_init CYGBLD_ATTRIB_INIT_PRI(CYG_INIT_DEV_FLASH); /* Device HAL table goes here, in libextras */
