Changeset 497 for trunk/boot/tsar_mips32


Ignore:
Timestamp:
Aug 23, 2018, 12:01:57 AM (6 years ago)
Author:
viala@…
Message:

[boot] Add static to an internal function.

Fix: gcc warning
`
boot_hba_driver.c: At top level:
boot_hba_driver.c:70:6: warning: no previous declaration for
'boot_hba_set_register' [-Wmissing-declarations]

void boot_hba_set_register(uint32_t reg, uint32_t val)


`

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/boot/tsar_mips32/boot_hba_driver.c

    r474 r497  
    6868 * @ val    : new value to be written to 'reg'.                             *
    6969 ****************************************************************************/
    70 void boot_hba_set_register(uint32_t reg, uint32_t val)
     70static void boot_hba_set_register(uint32_t reg, uint32_t val)
    7171{
    7272    cxy_t      cxy = (X_IO << Y_WIDTH) + Y_IO;
Note: See TracChangeset for help on using the changeset viewer.