]> git.sur5r.net Git - u-boot/blobdiff - arch/x86/cpu/braswell/fsp_configs.c
SPDX: Convert all of our single license tags to Linux Kernel style
[u-boot] / arch / x86 / cpu / braswell / fsp_configs.c
index d9845191d32a8f675e5ced535dda6c7b0b091425..7fe6fa7995a82c71ca445da9bb15d4a05219d5a5 100644 (file)
@@ -1,7 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Copyright (C) 2017, Bin Meng <bmeng.cn@gmail.com>
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
@@ -139,6 +138,12 @@ void update_fsp_configs(struct fsp_config_data *config,
 #endif
        update_fsp_gpio_configs(&silicon_upd->gpio_familiy_ptr,
                                &silicon_upd->gpio_pad_ptr);
+       /*
+        * For Braswell B0 stepping, disable_punit_pwr_config must be set to 1
+        * otherwise it just hangs in fsp_init().
+        */
+       if (gd->arch.x86_mask == 2)
+               silicon_upd->disable_punit_pwr_config = 1;
        silicon_upd->emmc_mode = fdtdec_get_int(blob, node,
                "fsp,emmc-mode", EMMC_MODE_PCI);
        silicon_upd->sata_speed = fdtdec_get_int(blob, node,