Thank you Igor for your response.
I have gone through the link you provided. I found that those information is for redirecting or stopping debug messages.
But my requirement is different. I would like to disable the UART itself. We have a UART for log in and access sysfs entries. I want to disable this to avoid unauthorized access. I'm looking for a solution other than changing the log in password.
On checking the datasheet, I found UART_Enable bit in the UART Control register1. How can I use that? Is it a solution for what I'm looking for?
Thanks and Regards