]> git.sur5r.net Git - u-boot/blobdiff - board/matrix_vision/mvbc_p/mvbc_p.c
Add GPL-2.0+ SPDX-License-Identifier to source files
[u-boot] / board / matrix_vision / mvbc_p / mvbc_p.c
index 439217653e8a44278e5caa5fe27d7cecf4e01f3d..8faebeeebec308d043ade17e761c72407d43cebf 100644 (file)
@@ -8,23 +8,7 @@
  * (C) Copyright 2005-2007
  * Andre Schwarz, Matrix Vision GmbH, andre.schwarz@matrix-vision.de
  *
- * See file CREDITS for list of people who contributed to this
- * project.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
@@ -241,16 +225,16 @@ void show_boot_progress(int val)
        struct mpc5xxx_gpio *gpio = (struct mpc5xxx_gpio*)MPC5XXX_GPIO;
 
        switch(val) {
-       case 0: /* FPGA ok */
+       case BOOTSTAGE_ID_START: /* FPGA ok */
                setbits_be32(&gpio->simple_dvo, LED_G0);
                break;
-       case 65:
+       case BOOTSTAGE_ID_NET_ETH_INIT:
                setbits_be32(&gpio->simple_dvo, LED_G1);
                break;
-       case 12:
+       case BOOTSTAGE_ID_COPY_RAMDISK:
                setbits_be32(&gpio->simple_dvo, LED_Y);
                break;
-       case 15:
+       case BOOTSTAGE_ID_RUN_OS:
                setbits_be32(&gpio->simple_dvo, LED_R);
                break;
        default: