bcm2835.S 579 B

12345678910111213141516171819202122
  1. /*
  2. * Debugging macro include header
  3. *
  4. * Copyright (C) 2010 Broadcom
  5. * Copyright (C) 1994-1999 Russell King
  6. * Moved from linux/arch/arm/kernel/debug.S by Ben Dooks
  7. *
  8. * This program is free software; you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License version 2 as
  10. * published by the Free Software Foundation.
  11. *
  12. */
  13. #define BCM2835_DEBUG_PHYS 0x20201000
  14. #define BCM2835_DEBUG_VIRT 0xf0201000
  15. .macro addruart, rp, rv, tmp
  16. ldr \rp, =BCM2835_DEBUG_PHYS
  17. ldr \rv, =BCM2835_DEBUG_VIRT
  18. .endm
  19. #include <asm/hardware/debug-pl01x.S>