Relicense Hafnium under the BSD 3 clause license.

Updates to the rest of the links in the documentation will follow in a
separate patch.

Change-Id: I52e35dad8fa12be48df5459a5fc8521adc53d55b
Signed-off-by: Andrew Walbran <qwandor@google.com>
diff --git a/test/hftest/BUILD.gn b/test/hftest/BUILD.gn
index 511026d..2e0b837 100644
--- a/test/hftest/BUILD.gn
+++ b/test/hftest/BUILD.gn
@@ -1,16 +1,8 @@
 # Copyright 2018 The Hafnium Authors.
 #
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#     https://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
+# Use of this source code is governed by a BSD-style
+# license that can be found in the LICENSE file or at
+# https://opensource.org/licenses/BSD-3-Clause.
 
 import("//build/toolchain/platform.gni")
 import("//test/hftest/args.gni")
diff --git a/test/hftest/args.gni b/test/hftest/args.gni
index 92d102b..d387712 100644
--- a/test/hftest/args.gni
+++ b/test/hftest/args.gni
@@ -1,16 +1,8 @@
 # Copyright 2020 The Hafnium Authors.
 #
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#     https://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
+# Use of this source code is governed by a BSD-style
+# license that can be found in the LICENSE file or at
+# https://opensource.org/licenses/BSD-3-Clause.
 
 declare_args() {
   hftest_ctrl = ":ctrl_fdt"
diff --git a/test/hftest/common.c b/test/hftest/common.c
index 9a9d306..15700e4 100644
--- a/test/hftest/common.c
+++ b/test/hftest/common.c
@@ -1,17 +1,9 @@
 /*
  * Copyright 2018 The Hafnium Authors.
  *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Use of this source code is governed by a BSD-style
+ * license that can be found in the LICENSE file or at
+ * https://opensource.org/licenses/BSD-3-Clause.
  */
 
 #include "hf/arch/vm/power_mgmt.h"
diff --git a/test/hftest/ctrl_fdt.c b/test/hftest/ctrl_fdt.c
index eb47272..ad415f1 100644
--- a/test/hftest/ctrl_fdt.c
+++ b/test/hftest/ctrl_fdt.c
@@ -1,17 +1,9 @@
 /*
  * Copyright 2020 The Hafnium Authors.
  *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Use of this source code is governed by a BSD-style
+ * license that can be found in the LICENSE file or at
+ * https://opensource.org/licenses/BSD-3-Clause.
  */
 
 #include "hf/check.h"
diff --git a/test/hftest/ctrl_uart.c b/test/hftest/ctrl_uart.c
index b72e29f..dd2d41e 100644
--- a/test/hftest/ctrl_uart.c
+++ b/test/hftest/ctrl_uart.c
@@ -1,17 +1,9 @@
 /*
  * Copyright 2020 The Hafnium Authors.
  *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Use of this source code is governed by a BSD-style
+ * license that can be found in the LICENSE file or at
+ * https://opensource.org/licenses/BSD-3-Clause.
  */
 
 #include "hf/plat/console.h"
diff --git a/test/hftest/device_psci.c b/test/hftest/device_psci.c
index f853d18..b27338f 100644
--- a/test/hftest/device_psci.c
+++ b/test/hftest/device_psci.c
@@ -1,17 +1,9 @@
 /*
  * Copyright 2020 The Hafnium Authors.
  *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Use of this source code is governed by a BSD-style
+ * license that can be found in the LICENSE file or at
+ * https://opensource.org/licenses/BSD-3-Clause.
  */
 
 #include "hf/arch/vm/power_mgmt.h"
diff --git a/test/hftest/hftest.py b/test/hftest/hftest.py
index 25e1a86..c2de3a5 100755
--- a/test/hftest/hftest.py
+++ b/test/hftest/hftest.py
@@ -2,17 +2,9 @@
 #
 # Copyright 2018 The Hafnium Authors.
 #
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#     https://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
+# Use of this source code is governed by a BSD-style
+# license that can be found in the LICENSE file or at
+# https://opensource.org/licenses/BSD-3-Clause.
 
 """Script which drives invocation of tests and parsing their output to produce
 a results report.
diff --git a/test/hftest/hftest_common.h b/test/hftest/hftest_common.h
index a4bbcbe..7355dae 100644
--- a/test/hftest/hftest_common.h
+++ b/test/hftest/hftest_common.h
@@ -1,17 +1,9 @@
 /*
  * Copyright 2019 The Hafnium Authors.
  *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Use of this source code is governed by a BSD-style
+ * license that can be found in the LICENSE file or at
+ * https://opensource.org/licenses/BSD-3-Clause.
  */
 
 #include "hf/fdt.h"
diff --git a/test/hftest/linux_main.c b/test/hftest/linux_main.c
index 0232665..54c8e73 100644
--- a/test/hftest/linux_main.c
+++ b/test/hftest/linux_main.c
@@ -1,17 +1,9 @@
 /*
  * Copyright 2019 The Hafnium Authors.
  *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Use of this source code is governed by a BSD-style
+ * license that can be found in the LICENSE file or at
+ * https://opensource.org/licenses/BSD-3-Clause.
  */
 
 #include <stdalign.h>
diff --git a/test/hftest/mm.c b/test/hftest/mm.c
index b31b387..eec7d61 100644
--- a/test/hftest/mm.c
+++ b/test/hftest/mm.c
@@ -1,17 +1,9 @@
 /*
  * Copyright 2019 The Hafnium Authors.
  *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Use of this source code is governed by a BSD-style
+ * license that can be found in the LICENSE file or at
+ * https://opensource.org/licenses/BSD-3-Clause.
  */
 
 #include "hf/arch/vm/mm.h"
diff --git a/test/hftest/power_mgmt.c b/test/hftest/power_mgmt.c
index 4c651a6..5326ab0 100644
--- a/test/hftest/power_mgmt.c
+++ b/test/hftest/power_mgmt.c
@@ -1,17 +1,9 @@
 /*
  * Copyright 2019 The Hafnium Authors.
  *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Use of this source code is governed by a BSD-style
+ * license that can be found in the LICENSE file or at
+ * https://opensource.org/licenses/BSD-3-Clause.
  */
 
 #include "hf/arch/vm/power_mgmt.h"
diff --git a/test/hftest/service.c b/test/hftest/service.c
index 2765cfb..ca16206 100644
--- a/test/hftest/service.c
+++ b/test/hftest/service.c
@@ -1,17 +1,9 @@
 /*
  * Copyright 2018 The Hafnium Authors.
  *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Use of this source code is governed by a BSD-style
+ * license that can be found in the LICENSE file or at
+ * https://opensource.org/licenses/BSD-3-Clause.
  */
 
 #include <stdalign.h>
diff --git a/test/hftest/standalone_main.c b/test/hftest/standalone_main.c
index c7c008d..d73bfb5 100644
--- a/test/hftest/standalone_main.c
+++ b/test/hftest/standalone_main.c
@@ -1,17 +1,9 @@
 /*
  * Copyright 2019 The Hafnium Authors.
  *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Use of this source code is governed by a BSD-style
+ * license that can be found in the LICENSE file or at
+ * https://opensource.org/licenses/BSD-3-Clause.
  */
 
 #include <stdalign.h>