Merge pull request #885 from antonio-nino-diaz-arm/an/console-flush
[project/bcm63xx/atf.git] / bl2u / bl2u_main.c
index 515ddfb73807fecc17c5bb741143ff0beebbd7f1..3ed5be73d430f9d3fd2c7a95832cc4540886c5fe 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2015-2017, ARM Limited and Contributors. All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are met:
@@ -34,6 +34,7 @@
 #include <auth_mod.h>
 #include <bl_common.h>
 #include <bl1.h>
+#include <console.h>
 #include <debug.h>
 #include <platform.h>
 #include <platform_def.h>
@@ -63,6 +64,8 @@ void bl2u_main(void)
        /* Perform platform setup in BL2U after loading SCP_BL2U */
        bl2u_platform_setup();
 
+       console_flush();
+
        /*
         * Indicate that BL2U is done and resume back to
         * normal world via an SMC to BL1.