arm64: zynqmp: Remove low level UART setting
authorMichal Simek <michal.simek@xilinx.com>
Fri, 6 Dec 2019 08:12:26 +0000 (09:12 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 14 Jan 2020 08:05:53 +0000 (09:05 +0100)
There is no reason to do serial initialization. Uart driver does it already
based on DT. Good effect is that it is clear which interface is console.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
15 files changed:
board/xilinx/zynqmp/avnet-ultrazedev-cc-v1.0-ultrazedev-som-v1.0/psu_init_gpl.c
board/xilinx/zynqmp/zynqmp-a2197-revA/psu_init_gpl.c
board/xilinx/zynqmp/zynqmp-zc1232-revA/psu_init_gpl.c
board/xilinx/zynqmp/zynqmp-zc1254-revA/psu_init_gpl.c
board/xilinx/zynqmp/zynqmp-zc1275-revB/psu_init_gpl.c
board/xilinx/zynqmp/zynqmp-zc1751-xm015-dc1/psu_init_gpl.c
board/xilinx/zynqmp/zynqmp-zc1751-xm016-dc2/psu_init_gpl.c
board/xilinx/zynqmp/zynqmp-zc1751-xm017-dc3/psu_init_gpl.c
board/xilinx/zynqmp/zynqmp-zc1751-xm018-dc4/psu_init_gpl.c
board/xilinx/zynqmp/zynqmp-zc1751-xm019-dc5/psu_init_gpl.c
board/xilinx/zynqmp/zynqmp-zcu100-revC/psu_init_gpl.c
board/xilinx/zynqmp/zynqmp-zcu102-rev1.0/psu_init_gpl.c
board/xilinx/zynqmp/zynqmp-zcu102-revA/psu_init_gpl.c
board/xilinx/zynqmp/zynqmp-zcu104-revA/psu_init_gpl.c
board/xilinx/zynqmp/zynqmp-zcu106-revA/psu_init_gpl.c

index ac3f716392bda9793f3bbe3d21776e9872771326..d030e79770ce98c5d658ae2b7346914781ccf170 100644 (file)
@@ -506,14 +506,6 @@ static unsigned long psu_peripherals_init_data(void)
        psu_mask_write(0xFF5E0238, 0x00008000U, 0x00000000U);
        psu_mask_write(0xFF5E0238, 0x00007800U, 0x00000000U);
        psu_mask_write(0xFF5E0238, 0x00000006U, 0x00000000U);
-       psu_mask_write(0xFF000034, 0x000000FFU, 0x00000005U);
-       psu_mask_write(0xFF000018, 0x0000FFFFU, 0x0000008FU);
-       psu_mask_write(0xFF000000, 0x000001FFU, 0x00000017U);
-       psu_mask_write(0xFF000004, 0x000003FFU, 0x00000020U);
-       psu_mask_write(0xFF010034, 0x000000FFU, 0x00000005U);
-       psu_mask_write(0xFF010018, 0x0000FFFFU, 0x0000008FU);
-       psu_mask_write(0xFF010000, 0x000001FFU, 0x00000017U);
-       psu_mask_write(0xFF010004, 0x000003FFU, 0x00000020U);
        psu_mask_write(0xFF5E0238, 0x00040000U, 0x00000000U);
        psu_mask_write(0xFF4B0024, 0x000000FFU, 0x000000FFU);
        psu_mask_write(0xFFCA5000, 0x00001FFFU, 0x00000000U);
index ac4a073e1bc3bddcf3b88f961cab0fa391505c28..be9992c90f298a50f76456c3613503fa4eb98a7a 100644 (file)
@@ -479,14 +479,6 @@ static unsigned long psu_peripherals_init_data(void)
        psu_mask_write(0xFF180324, 0x03C00000U, 0x00000000U);
        psu_mask_write(0xFF5E0238, 0x00000600U, 0x00000000U);
        psu_mask_write(0xFF5E0238, 0x00000006U, 0x00000000U);
-       psu_mask_write(0xFF000034, 0x000000FFU, 0x00000005U);
-       psu_mask_write(0xFF000018, 0x0000FFFFU, 0x0000008FU);
-       psu_mask_write(0xFF000000, 0x000001FFU, 0x00000017U);
-       psu_mask_write(0xFF000004, 0x000003FFU, 0x00000020U);
-       psu_mask_write(0xFF010034, 0x000000FFU, 0x00000005U);
-       psu_mask_write(0xFF010018, 0x0000FFFFU, 0x0000008FU);
-       psu_mask_write(0xFF010000, 0x000001FFU, 0x00000017U);
-       psu_mask_write(0xFF010004, 0x000003FFU, 0x00000020U);
        psu_mask_write(0xFF5E0238, 0x00040000U, 0x00000000U);
        psu_mask_write(0xFF4B0024, 0x000000FFU, 0x000000FFU);
        psu_mask_write(0xFFCA5000, 0x00001FFFU, 0x00000000U);
index af6b49a97369a71db35fba23a5b7197dbac92abf..b8ea291f8bc6a7afafb160f5aaf130ffa7a51a61 100644 (file)
@@ -388,10 +388,6 @@ static unsigned long psu_peripherals_init_data(void)
        psu_mask_write(0xFF5E0238, 0x00008000U, 0x00000000U);
        psu_mask_write(0xFF5E0238, 0x00007800U, 0x00000000U);
        psu_mask_write(0xFF5E0238, 0x00000002U, 0x00000000U);
-       psu_mask_write(0xFF000034, 0x000000FFU, 0x00000005U);
-       psu_mask_write(0xFF000018, 0x0000FFFFU, 0x0000008FU);
-       psu_mask_write(0xFF000000, 0x000001FFU, 0x00000017U);
-       psu_mask_write(0xFF000004, 0x000003FFU, 0x00000020U);
        psu_mask_write(0xFF5E0238, 0x00040000U, 0x00000000U);
        psu_mask_write(0xFF4B0024, 0x000000FFU, 0x000000FFU);
        psu_mask_write(0xFFCA5000, 0x00001FFFU, 0x00000000U);
index a5a33b9f17cce327ee2cd439fe47e6f591fa5628..520fff28f9413397cbd26e869b3a6d7c0098ee84 100644 (file)
@@ -378,10 +378,6 @@ static unsigned long psu_peripherals_init_data(void)
        psu_mask_write(0xFF5E0238, 0x00000001U, 0x00000000U);
        psu_mask_write(0xFF180390, 0x00000004U, 0x00000000U);
        psu_mask_write(0xFF5E0238, 0x00000002U, 0x00000000U);
-       psu_mask_write(0xFF000034, 0x000000FFU, 0x00000005U);
-       psu_mask_write(0xFF000018, 0x0000FFFFU, 0x0000008FU);
-       psu_mask_write(0xFF000000, 0x000001FFU, 0x00000017U);
-       psu_mask_write(0xFF000004, 0x000003FFU, 0x00000020U);
        psu_mask_write(0xFF5E0238, 0x00040000U, 0x00000000U);
        psu_mask_write(0xFF4B0024, 0x000000FFU, 0x000000FFU);
        psu_mask_write(0xFFCA5000, 0x00001FFFU, 0x00000000U);
index d1090fae4a87dd0db7038089e150f9132a80bc27..d3eb713e9eeb1f20b60a41beee5b4685b913bd1f 100644 (file)
@@ -427,10 +427,6 @@ static unsigned long psu_peripherals_init_data(void)
        psu_mask_write(0xFF5E0238, 0x00008000U, 0x00000000U);
        psu_mask_write(0xFF5E0238, 0x00000800U, 0x00000000U);
        psu_mask_write(0xFF5E0238, 0x00000002U, 0x00000000U);
-       psu_mask_write(0xFF000034, 0x000000FFU, 0x00000005U);
-       psu_mask_write(0xFF000018, 0x0000FFFFU, 0x0000008FU);
-       psu_mask_write(0xFF000000, 0x000001FFU, 0x00000017U);
-       psu_mask_write(0xFF000004, 0x000003FFU, 0x00000020U);
        psu_mask_write(0xFF5E0238, 0x00040000U, 0x00000000U);
        psu_mask_write(0xFF4B0024, 0x000000FFU, 0x000000FFU);
        psu_mask_write(0xFFCA5000, 0x00001FFFU, 0x00000000U);
index f73e997f7d934f5ddd9169cb4cf951421d53806a..6b0705df384d23b94cff78f627b6bd77b6633af2 100644 (file)
@@ -475,10 +475,6 @@ static unsigned long psu_peripherals_init_data(void)
        psu_mask_write(0xFF5E0238, 0x00008000U, 0x00000000U);
        psu_mask_write(0xFF5E0238, 0x00007800U, 0x00000000U);
        psu_mask_write(0xFF5E0238, 0x00000002U, 0x00000000U);
-       psu_mask_write(0xFF000034, 0x000000FFU, 0x00000005U);
-       psu_mask_write(0xFF000018, 0x0000FFFFU, 0x0000008FU);
-       psu_mask_write(0xFF000000, 0x000001FFU, 0x00000017U);
-       psu_mask_write(0xFF000004, 0x000003FFU, 0x00000020U);
        psu_mask_write(0xFF5E0238, 0x00040000U, 0x00000000U);
        psu_mask_write(0xFF4B0024, 0x000000FFU, 0x000000FFU);
        psu_mask_write(0xFFCA5000, 0x00001FFFU, 0x00000000U);
index 9ead77d069632aaec8f84977993924847acc8d01..59de4373b639859c905fd6dff7aa5477cde4122d 100644 (file)
@@ -477,14 +477,6 @@ static unsigned long psu_peripherals_init_data(void)
        psu_mask_write(0xFF5E0238, 0x00000018U, 0x00000000U);
        psu_mask_write(0xFF5E0238, 0x00007800U, 0x00000000U);
        psu_mask_write(0xFF5E0238, 0x00000006U, 0x00000000U);
-       psu_mask_write(0xFF000034, 0x000000FFU, 0x00000005U);
-       psu_mask_write(0xFF000018, 0x0000FFFFU, 0x0000008FU);
-       psu_mask_write(0xFF000000, 0x000001FFU, 0x00000017U);
-       psu_mask_write(0xFF000004, 0x000003FFU, 0x00000020U);
-       psu_mask_write(0xFF010034, 0x000000FFU, 0x00000005U);
-       psu_mask_write(0xFF010018, 0x0000FFFFU, 0x0000008FU);
-       psu_mask_write(0xFF010000, 0x000001FFU, 0x00000017U);
-       psu_mask_write(0xFF010004, 0x000003FFU, 0x00000020U);
        psu_mask_write(0xFF5E0238, 0x00040000U, 0x00000000U);
        psu_mask_write(0xFF4B0024, 0x000000FFU, 0x000000FFU);
        psu_mask_write(0xFFCA5000, 0x00001FFFU, 0x00000000U);
index 9ead77d069632aaec8f84977993924847acc8d01..59de4373b639859c905fd6dff7aa5477cde4122d 100644 (file)
@@ -477,14 +477,6 @@ static unsigned long psu_peripherals_init_data(void)
        psu_mask_write(0xFF5E0238, 0x00000018U, 0x00000000U);
        psu_mask_write(0xFF5E0238, 0x00007800U, 0x00000000U);
        psu_mask_write(0xFF5E0238, 0x00000006U, 0x00000000U);
-       psu_mask_write(0xFF000034, 0x000000FFU, 0x00000005U);
-       psu_mask_write(0xFF000018, 0x0000FFFFU, 0x0000008FU);
-       psu_mask_write(0xFF000000, 0x000001FFU, 0x00000017U);
-       psu_mask_write(0xFF000004, 0x000003FFU, 0x00000020U);
-       psu_mask_write(0xFF010034, 0x000000FFU, 0x00000005U);
-       psu_mask_write(0xFF010018, 0x0000FFFFU, 0x0000008FU);
-       psu_mask_write(0xFF010000, 0x000001FFU, 0x00000017U);
-       psu_mask_write(0xFF010004, 0x000003FFU, 0x00000020U);
        psu_mask_write(0xFF5E0238, 0x00040000U, 0x00000000U);
        psu_mask_write(0xFF4B0024, 0x000000FFU, 0x000000FFU);
        psu_mask_write(0xFFCA5000, 0x00001FFFU, 0x00000000U);
index 9ead77d069632aaec8f84977993924847acc8d01..59de4373b639859c905fd6dff7aa5477cde4122d 100644 (file)
@@ -477,14 +477,6 @@ static unsigned long psu_peripherals_init_data(void)
        psu_mask_write(0xFF5E0238, 0x00000018U, 0x00000000U);
        psu_mask_write(0xFF5E0238, 0x00007800U, 0x00000000U);
        psu_mask_write(0xFF5E0238, 0x00000006U, 0x00000000U);
-       psu_mask_write(0xFF000034, 0x000000FFU, 0x00000005U);
-       psu_mask_write(0xFF000018, 0x0000FFFFU, 0x0000008FU);
-       psu_mask_write(0xFF000000, 0x000001FFU, 0x00000017U);
-       psu_mask_write(0xFF000004, 0x000003FFU, 0x00000020U);
-       psu_mask_write(0xFF010034, 0x000000FFU, 0x00000005U);
-       psu_mask_write(0xFF010018, 0x0000FFFFU, 0x0000008FU);
-       psu_mask_write(0xFF010000, 0x000001FFU, 0x00000017U);
-       psu_mask_write(0xFF010004, 0x000003FFU, 0x00000020U);
        psu_mask_write(0xFF5E0238, 0x00040000U, 0x00000000U);
        psu_mask_write(0xFF4B0024, 0x000000FFU, 0x000000FFU);
        psu_mask_write(0xFFCA5000, 0x00001FFFU, 0x00000000U);
index db07456c15faacdabea45bf59d348b0f12927659..e0b71abd5155987767ebc5e9240b309fe45d4d6a 100644 (file)
@@ -471,14 +471,6 @@ static unsigned long psu_peripherals_init_data(void)
        psu_mask_write(0xFF5E0238, 0x00008000U, 0x00000000U);
        psu_mask_write(0xFF5E0238, 0x00007800U, 0x00000000U);
        psu_mask_write(0xFF5E0238, 0x00000006U, 0x00000000U);
-       psu_mask_write(0xFF000034, 0x000000FFU, 0x00000005U);
-       psu_mask_write(0xFF000018, 0x0000FFFFU, 0x0000008FU);
-       psu_mask_write(0xFF000000, 0x000001FFU, 0x00000017U);
-       psu_mask_write(0xFF000004, 0x000003FFU, 0x00000020U);
-       psu_mask_write(0xFF010034, 0x000000FFU, 0x00000005U);
-       psu_mask_write(0xFF010018, 0x0000FFFFU, 0x0000008FU);
-       psu_mask_write(0xFF010000, 0x000001FFU, 0x00000017U);
-       psu_mask_write(0xFF010004, 0x000003FFU, 0x00000020U);
        psu_mask_write(0xFF5E0238, 0x00040000U, 0x00000000U);
        psu_mask_write(0xFF4B0024, 0x000000FFU, 0x000000FFU);
        psu_mask_write(0xFFCA5000, 0x00001FFFU, 0x00000000U);
index 585b3afc218a9b26e3bd7f4b88cbcfe51b6ab67e..e01915f7ed9e92416f98b9ddfa725649e8fe28f2 100644 (file)
@@ -498,14 +498,6 @@ static unsigned long psu_peripherals_init_data(void)
        psu_mask_write(0xFF5E0238, 0x00000800U, 0x00000000U);
        psu_mask_write(0xFF5E0238, 0x00000006U, 0x00000000U);
        psu_mask_write(0xFD4AB120, 0x00000007U, 0x00000007U);
-       psu_mask_write(0xFF000034, 0x000000FFU, 0x00000005U);
-       psu_mask_write(0xFF000018, 0x0000FFFFU, 0x0000008FU);
-       psu_mask_write(0xFF000000, 0x000001FFU, 0x00000017U);
-       psu_mask_write(0xFF000004, 0x000003FFU, 0x00000020U);
-       psu_mask_write(0xFF010034, 0x000000FFU, 0x00000005U);
-       psu_mask_write(0xFF010018, 0x0000FFFFU, 0x0000008FU);
-       psu_mask_write(0xFF010000, 0x000001FFU, 0x00000017U);
-       psu_mask_write(0xFF010004, 0x000003FFU, 0x00000020U);
        psu_mask_write(0xFF5E0238, 0x00040000U, 0x00000000U);
        psu_mask_write(0xFF4B0024, 0x000000FFU, 0x000000FFU);
        psu_mask_write(0xFFCA5000, 0x00001FFFU, 0x00000000U);
index 3e981d84192083424587aa0c02d3f077a01d3d76..6adbf5e2348e6b4f9f70ea2f7c9fd79567d352f8 100644 (file)
@@ -479,14 +479,6 @@ static unsigned long psu_peripherals_init_data(void)
        psu_mask_write(0xFF5E0238, 0x00008000U, 0x00000000U);
        psu_mask_write(0xFF5E0238, 0x00007800U, 0x00000000U);
        psu_mask_write(0xFF5E0238, 0x00000006U, 0x00000000U);
-       psu_mask_write(0xFF000034, 0x000000FFU, 0x00000005U);
-       psu_mask_write(0xFF000018, 0x0000FFFFU, 0x0000008FU);
-       psu_mask_write(0xFF000000, 0x000001FFU, 0x00000017U);
-       psu_mask_write(0xFF000004, 0x000003FFU, 0x00000020U);
-       psu_mask_write(0xFF010034, 0x000000FFU, 0x00000005U);
-       psu_mask_write(0xFF010018, 0x0000FFFFU, 0x0000008FU);
-       psu_mask_write(0xFF010000, 0x000001FFU, 0x00000017U);
-       psu_mask_write(0xFF010004, 0x000003FFU, 0x00000020U);
        psu_mask_write(0xFF5E0238, 0x00040000U, 0x00000000U);
        psu_mask_write(0xFF4B0024, 0x000000FFU, 0x000000FFU);
        psu_mask_write(0xFFCA5000, 0x00001FFFU, 0x00000000U);
index 5f21c4747584815ba86e50a36906b6c1fe8af1ca..8ecd9ee90b5a7bd09837b53a4d56b189fd4de313 100644 (file)
@@ -486,14 +486,6 @@ static unsigned long psu_peripherals_init_data(void)
        psu_mask_write(0xFE980FB0, 0xFFFFFFFFU, 0xC5ACCE55U);
        psu_mask_write(0xFE980004, 0x80000000U, 0x80000000U);
        psu_mask_write(0xFE980FB0, 0xFFFFFFFFU, 0x00000000U);
-       psu_mask_write(0xFF000034, 0x000000FFU, 0x00000005U);
-       psu_mask_write(0xFF000018, 0x0000FFFFU, 0x0000008FU);
-       psu_mask_write(0xFF000000, 0x000001FFU, 0x00000017U);
-       psu_mask_write(0xFF000004, 0x000003FFU, 0x00000020U);
-       psu_mask_write(0xFF010034, 0x000000FFU, 0x00000005U);
-       psu_mask_write(0xFF010018, 0x0000FFFFU, 0x0000008FU);
-       psu_mask_write(0xFF010000, 0x000001FFU, 0x00000017U);
-       psu_mask_write(0xFF010004, 0x000003FFU, 0x00000020U);
        psu_mask_write(0xFF4B0024, 0x000000FFU, 0x000000FFU);
        psu_mask_write(0xFFCA5000, 0x00001FFFU, 0x00000000U);
        psu_mask_write(0xFD5C0060, 0x000F000FU, 0x00000000U);
index 12ef5b4b0af96f2ac3602b404787157e62f29064..4805e5a3b9143e8bc970871da9f387a0d6534abd 100644 (file)
@@ -455,14 +455,6 @@ static unsigned long psu_peripherals_init_data(void)
        psu_mask_write(0xFF5E0238, 0x00007800U, 0x00000000U);
        psu_mask_write(0xFF5E0238, 0x00000006U, 0x00000000U);
        psu_mask_write(0xFD4AB120, 0x00000007U, 0x00000007U);
-       psu_mask_write(0xFF000034, 0x000000FFU, 0x00000005U);
-       psu_mask_write(0xFF000018, 0x0000FFFFU, 0x0000008FU);
-       psu_mask_write(0xFF000000, 0x000001FFU, 0x00000017U);
-       psu_mask_write(0xFF000004, 0x000003FFU, 0x00000020U);
-       psu_mask_write(0xFF010034, 0x000000FFU, 0x00000005U);
-       psu_mask_write(0xFF010018, 0x0000FFFFU, 0x0000008FU);
-       psu_mask_write(0xFF010000, 0x000001FFU, 0x00000017U);
-       psu_mask_write(0xFF010004, 0x000003FFU, 0x00000020U);
        psu_mask_write(0xFF5E0238, 0x00040000U, 0x00000000U);
        psu_mask_write(0xFF4B0024, 0x000000FFU, 0x000000FFU);
        psu_mask_write(0xFFCA5000, 0x00001FFFU, 0x00000000U);
index fcd6a46ad9ffa0da06c4f0a67c2397aa4128ca29..15f0be1a43ad5c3b397dcfe22c53d40d9129a0f4 100644 (file)
@@ -463,14 +463,6 @@ static unsigned long psu_peripherals_init_data(void)
        psu_mask_write(0xFF5E0238, 0x00008000U, 0x00000000U);
        psu_mask_write(0xFF5E0238, 0x00007800U, 0x00000000U);
        psu_mask_write(0xFF5E0238, 0x00000006U, 0x00000000U);
-       psu_mask_write(0xFF000034, 0x000000FFU, 0x00000005U);
-       psu_mask_write(0xFF000018, 0x0000FFFFU, 0x0000008FU);
-       psu_mask_write(0xFF000000, 0x000001FFU, 0x00000017U);
-       psu_mask_write(0xFF000004, 0x000003FFU, 0x00000020U);
-       psu_mask_write(0xFF010034, 0x000000FFU, 0x00000005U);
-       psu_mask_write(0xFF010018, 0x0000FFFFU, 0x0000008FU);
-       psu_mask_write(0xFF010000, 0x000001FFU, 0x00000017U);
-       psu_mask_write(0xFF010004, 0x000003FFU, 0x00000020U);
        psu_mask_write(0xFF4B0024, 0x000000FFU, 0x000000FFU);
        psu_mask_write(0xFFCA5000, 0x00001FFFU, 0x00000000U);
        psu_mask_write(0xFD5C0060, 0x000F000FU, 0x00000000U);