]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/ssv/common/post.c
imported Freescale specific U-Boot additions for i.MX28,... release L2.6.31_10.08.01
[karo-tx-uboot.git] / board / ssv / common / post.c
index a5f29c1a30f3db18a24726bf3797516d4b114ed4..c7a9ccc89ee40b8dd3ed26ea732729206f81c572 100755 (executable)
 
 #if defined(CONFIG_POST) || defined(CONFIG_LOGBUFFER)
 
-#if !defined(CFG_NIOS_POST_WORD_ADDR)
-#error "*** CFG_NIOS_POST_WORD_ADDR not defined ***"
+#if !defined(CONFIG_SYS_NIOS_POST_WORD_ADDR)
+#error "*** CONFIG_SYS_NIOS_POST_WORD_ADDR not defined ***"
 #endif
 
 void post_word_store (ulong a)
 {
-       volatile void *save_addr = (void *)(CFG_NIOS_POST_WORD_ADDR);
+       volatile void *save_addr = (void *)(CONFIG_SYS_NIOS_POST_WORD_ADDR);
        *(volatile ulong *) save_addr = a;
 }
 
 ulong post_word_load (void)
 {
-       volatile void *save_addr = (void *)(CFG_NIOS_POST_WORD_ADDR);
+       volatile void *save_addr = (void *)(CONFIG_SYS_NIOS_POST_WORD_ADDR);
        return *(volatile ulong *) save_addr;
 }