]> git.sur5r.net Git - u-boot/blobdiff - board/RPXClassic/eccx.c
nios2: implement get_ticks and get_tbclk
[u-boot] / board / RPXClassic / eccx.c
index cc76bbdfae47d221304cc6e75c3250161d2c352c..c6115eb4ecea790560b4d218208ae47b53e4746e 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * (C) Copyright 2002
- * Stäubli Faverges - <www.staubli.com>
+ * Stäubli Faverges - <www.staubli.com>
  * Pierre AUBERT  p.aubert@staubli.com
  *
  * See file CREDITS for list of people who contributed to this
@@ -299,7 +299,7 @@ void video_get_info_str (int line_number, char *info)
  */
 unsigned int board_video_init (void)
 {
-    volatile immap_t     *immap  = (immap_t *)CFG_IMMR;
+    volatile immap_t     *immap  = (immap_t *)CONFIG_SYS_IMMR;
     volatile memctl8xx_t *memctl = &immap->im_memctl;
 
     /* Program ECCX registers                                                */