]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm64: zynqmp: Remove low level UART setting cont
authorMichal Simek <michal.simek@xilinx.com>
Thu, 24 Mar 2022 12:31:26 +0000 (13:31 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 29 Mar 2022 07:18:31 +0000 (09:18 +0200)
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.
The same change was done in past by commit 84d2bbf082fa ("arm64: zynqmp:
Remove low level UART setting").

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Link: https://lore.kernel.org/r/91a73f292bafc4b64ed09954cc23780496da4b65.1648125082.git.michal.simek@xilinx.com
board/xilinx/zynqmp/zynqmp-dlc21-revA/psu_init_gpl.c
board/xilinx/zynqmp/zynqmp-e-a2197-00-revA/psu_init_gpl.c
board/xilinx/zynqmp/zynqmp-topic-miamimp-xilinx-xdp-v1r1/psu_init_gpl.c
board/xilinx/zynqmp/zynqmp-zcu102-rev1.1/psu_init_gpl.c
board/xilinx/zynqmp/zynqmp-zcu111-revA/psu_init_gpl.c
board/xilinx/zynqmp/zynqmp-zcu208-revA/psu_init_gpl.c
board/xilinx/zynqmp/zynqmp-zcu216-revA/psu_init_gpl.c

index 528958d83ed6e8d6b6f315a60071a32c8ca2faae..dae81e60ccb6c974a25d594f7e5eb93ae6f909ca 100644 (file)
@@ -509,10 +509,6 @@ static unsigned long psu_peripherals_init_data(void)
        psu_mask_write(0xFF5E0238, 0x00000008U, 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 348f0e7789a71699188d9015a48998d0df6821dc..40d9279378ba4240fb89cd159cf55c3cc32e9648 100644 (file)
@@ -521,10 +521,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, 0x00000002U, 0x00000000U);
-       psu_mask_write(0xFF000034, 0x000000FFU, 0x00000006U);
-       psu_mask_write(0xFF000018, 0x0000FFFFU, 0x0000007CU);
-       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 dbed7b789e36d4df0ccd7b83a4d339599ef2606c..333510bfe92d151482e8346b2fbb0f405ba33dde 100644 (file)
@@ -522,14 +522,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 1f3f2e66b95508f92d6404c56cb9f21425f25d39..f1fdc7dad1ae04c24c7afb6c2e7457a509fe757c 100644 (file)
@@ -516,14 +516,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, 0x0000000CU);
-       psu_mask_write(0xFF000018, 0x0000FFFFU, 0x0000003EU);
-       psu_mask_write(0xFF000000, 0x000001FFU, 0x00000017U);
-       psu_mask_write(0xFF000004, 0x000003FFU, 0x00000020U);
-       psu_mask_write(0xFF010034, 0x000000FFU, 0x0000000CU);
-       psu_mask_write(0xFF010018, 0x0000FFFFU, 0x0000003EU);
-       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 7c6664dc988ce3e56dc3fb3825a73e7f45f0b999..8963aa4a0735c02d23f49d06971a8045028a6e86 100644 (file)
@@ -512,14 +512,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 f07e60abb8605c0e8ad5ec4f7ae79c1f02aabf58..2adcad04d86de161feb548b81605ffe0b79c45d8 100644 (file)
@@ -513,10 +513,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, 0x00000006U);
-       psu_mask_write(0xFF000018, 0x0000FFFFU, 0x0000007CU);
-       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 fc3605d602e7aa7f0a4fcede9d0f09ebc2f127f2..bd316872eb338691cc1d79161ad3f6591bba0771 100644 (file)
@@ -513,10 +513,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, 0x00000006U);
-       psu_mask_write(0xFF000018, 0x0000FFFFU, 0x0000007CU);
-       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);