powerpc: mpc85xx: Move SECURE_BOOT to Kconfig
[oweals/u-boot.git] / arch / powerpc / cpu / mpc8xxx / fsl_lbc.c
index 587576bacf98b066424baf7984010ebcd7665501..728a35130cf8686d42b4917f2961b83843ce7430 100644 (file)
@@ -1,9 +1,7 @@
 /*
  * Copyright 2010-2011 Freescale Semiconductor, Inc.
  *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * Version 2 as published by the Free Software Foundation.
+ * SPDX-License-Identifier:    GPL-2.0
  */
 
 #include <common.h>
@@ -11,7 +9,7 @@
 
 #ifdef CONFIG_MPC85xx
 /* Boards should provide their own version of this if they use lbc sdram */
-void __lbc_sdram_init(void)
+static void __lbc_sdram_init(void)
 {
        /* Do nothing */
 }
@@ -28,6 +26,8 @@ void print_lbc_regs(void)
                printf("BR%d\t0x%08X\tOR%d\t0x%08X\n",
                       i, get_lbc_br(i), i, get_lbc_or(i));
        }
+       printf("LBCR\t0x%08X\tLCRR\t0x%08X\n",
+                      get_lbc_lbcr(), get_lbc_lcrr());
 }
 
 void init_early_memctl_regs(void)